Skip to content

Commit

Permalink
Merge pull request #2876 from alphagov/change-welsh-language-scheme-c…
Browse files Browse the repository at this point in the history
…orp-info-page-link-text

Simplify language around welsh language scheme
  • Loading branch information
h-lame committed Nov 29, 2016
2 parents f62cc7f + b51cd18 commit 86233c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/locales/cy.yml
Expand Up @@ -473,7 +473,7 @@ cy:
staff_update: Gwybodaeth a newyddion staff
statistics: Ystadegau yn %{organisation_name}
terms_of_reference: Cylch gorchwyl
welsh_language_scheme: Cynllun iaith Gymraeg
welsh_language_scheme: gyhoeddi yn y Gymraeg
date:
formats:
default: "%d %B %Y"
Expand Down Expand Up @@ -625,7 +625,7 @@ cy:
publication_scheme_html: Darllenwch am y mathau o wybodaeth rydym yn eu cyhoeddi'n
rheolaidd yn ein %{link}.
social_media_use_html: Darllenwch ein polisi ar %{link}
welsh_language_scheme_html: Dysgwch am ein hymrwymiad i gyhoeddi yn y %{link}.
welsh_language_scheme_html: Dysgwch am ein hymrwymiad i %{link}.
find_out_more: Gweld proffil llawn a'r holl fanylion cyswllt
headings:
about_us: Gwybodaeth amdanom ni
Expand Down
4 changes: 2 additions & 2 deletions config/locales/en.yml
Expand Up @@ -292,7 +292,7 @@ en:
corporate_information:
publication_scheme_html: Read about the types of information we routinely publish in our %{link}.
personal_information_charter_html: Our %{link} explains how we treat your personal information.
welsh_language_scheme_html: Find out about our commitment to publishing in the %{link}.
welsh_language_scheme_html: Find out about our commitment to %{link}.
social_media_use_html: Read our policy on %{link}.
about_our_services_html: Find out %{link}.
corporate_information_page:
Expand All @@ -307,7 +307,7 @@ en:
recruitment: Working for %{organisation_name}
our_energy_use: Our energy use
membership: Membership
welsh_language_scheme: Welsh language scheme
welsh_language_scheme: publishing in Welsh
equality_and_diversity: Equality and diversity
petitions_and_campaigns: Petitions and campaigns
research: Research at %{organisation_name}
Expand Down
4 changes: 2 additions & 2 deletions test/unit/corporate_information_page_test.rb
Expand Up @@ -88,9 +88,9 @@ def self.should_be_invalid_without(type, attribute_name)

test "should translate title" do
welsh_language_scheme_page = build(:corporate_information_page, corporate_information_page_type: CorporateInformationPageType::WelshLanguageScheme)
assert_equal "Welsh language scheme", welsh_language_scheme_page.title
assert_equal "publishing in Welsh", welsh_language_scheme_page.title
I18n.with_locale(:cy) do
assert_equal "Cynllun iaith Gymraeg", welsh_language_scheme_page.title
assert_equal "gyhoeddi yn y Gymraeg", welsh_language_scheme_page.title
end
end

Expand Down

0 comments on commit 86233c6

Please sign in to comment.