Skip to content

Commit

Permalink
Merge pull request #330 from hmrc/PLATUI-2637
Browse files Browse the repository at this point in the history
PLATUI-2637 update Welsh for HMRC
  • Loading branch information
TimothyFothergill committed Nov 16, 2023
2 parents b7b0650 + 5073a37 commit 2f77ba3
Show file tree
Hide file tree
Showing 15 changed files with 487 additions and 458 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [5.57.0] - 2023-11-15

### Changed

- Fixed Welsh translation of HMRC and HM Revenue & Customs

## [5.56.0] - 2023-11-09

### Changed
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
925 changes: 474 additions & 451 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hmrc-frontend",
"version": "5.56.0",
"version": "5.57.0",
"description": "Design patterns for HMRC frontends",
"scripts": {
"start": "gulp dev",
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<img src="{{ params.assetsPath | default('/assets') }}/components/banner/images/hmrc_crest_18px.png">
<![endif]-->
<p class="govuk-body-s">{% if params.language == 'cy' %}
Cyllid a Thollau EM
Cyllid a Thollau EF
{% else %}
HM Revenue &amp; Customs
{% endif %}</p>
Expand Down
2 changes: 1 addition & 1 deletion src/components/banner/template.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Internal Header', () => {
});
it('should have Welsh text when specified', () => {
const $ = render('banner', examples.welsh);
expect($('.hmrc-banner > .hmrc-organisation-logo > p.govuk-body-s').text().trim()).toEqual('Cyllid a Thollau EM');
expect($('.hmrc-banner > .hmrc-organisation-logo > p.govuk-body-s').text().trim()).toEqual('Cyllid a Thollau EF');
});
});
});
2 changes: 1 addition & 1 deletion src/components/header/header.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ examples:

- name: with hmrc banner welsh
data:
serviceName: Gwasanaeth gyda Banner CThEM
serviceName: Gwasanaeth gyda Banner CThEF
language: cy
displayHmrcBanner: true
languageToggle:
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/template.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ describe('header', () => {
});
it('should have Welsh text when specified', () => {
const $ = render('banner', examples['with hmrc banner welsh']);
expect($('.hmrc-banner > .hmrc-organisation-logo > p.govuk-body-s').text().trim()).toEqual('Cyllid a Thollau EM');
expect($('.hmrc-banner > .hmrc-organisation-logo > p.govuk-body-s').text().trim()).toEqual('Cyllid a Thollau EF');
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/components/internal-header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<!--[if IE 8]>
<img src="{{ params.assetsPath | default('/assets') }}/components/banner/images/hmrc_crest_18px_x2.png">
<![endif]--><span class="hmrc-internal-header__logo-text">{% if params.language == 'cy' %}
Cyllid a Thollau EM
Cyllid a Thollau EF
{% else %}
HM Revenue &amp; Customs
{% endif %}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/internal-header/template.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Internal Header', () => {
const $ = render('internal-header', examples.welsh);
const $logoLink = $('.hmrc-internal-header__logo-link');

expect($logoLink.text().trim()).toEqual('Cyllid a Thollau EM');
expect($logoLink.text().trim()).toEqual('Cyllid a Thollau EF');
});
});

Expand Down

0 comments on commit 2f77ba3

Please sign in to comment.