Skip to content

Commit

Permalink
Merge pull request #203 from govuk-one-login/LIME-1480
Browse files Browse the repository at this point in the history
LIME-1480 hmpo-components updated and fix implemented
  • Loading branch information
RachelRobGDS authored Jan 14, 2025
2 parents e581aa7 + 8c200ff commit 6aa3e73
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"express-session": "^1.17.3",
"govuk-frontend": "4.9.0",
"hmpo-app": "2.4.0",
"hmpo-components": "5.5.2",
"hmpo-components": "7.1.0",
"hmpo-config": "3.0.1",
"hmpo-form-wizard": "12.0.6",
"hmpo-i18n": "5.0.2",
Expand Down
4 changes: 4 additions & 0 deletions src/locales/cy/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
passportNumber:
label: "Rhif pasbort"
hint: "Dyma’r rhif 9 digid yng nghornel dde uchaf y dudalen llun yn eich pasbort"
prefix: ""
validation:
default: "Rhowch y rhif fel mae’n ymddangos ar eich pasbort"
passportLength: "Dylai rhif eich pasbort fod yn 9 digid o hyd"
Expand All @@ -9,13 +10,15 @@ passportNumber:
surname:
label: "Cyfenw"
hint: ""
prefix: ""
validation:
default: "Rhowch eich cyfenw fel mae’n ymddangos ar eich pasbort"
surnamelength: "Rhowch eich cyfenw fel mae’n ymddangos ar eich pasbort"
regexpassport: "Rhowch eich cyfenw fel mae’n ymddangos ar eich pasbort"
firstName:
label: "Enw cyntaf"
hint: ""
prefix: ""
validation:
default: "Rhowch eich enw cyntaf fel mae’n ymddangos ar eich pasbort"
maxlength: "Rhowch eich enw cyntaf fel mae’n ymddangos ar eich pasbort"
Expand All @@ -24,6 +27,7 @@ firstName:
middleNames:
label: "Enwau canol"
hint: "Gadewch hyn yn wag os nad oes gennych unrhyw enwau canol"
prefix: ""
validation:
maxlength: "Rhowch eich enwau canol fel maent yn ymddangos ar eich pasbort"
regexpassport: "Rhowch eich enwau canol fel maent yn ymddangos ar eich pasbort"
Expand Down
4 changes: 4 additions & 0 deletions src/locales/en/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
passportNumber:
label: Passport number
hint: "This is the 9 digit number in the top right hand corner of the photo page in your passport"
prefix: ""
validation:
default: "Enter the number as it appears on your passport"
passportLength: "Your passport number should be 9 digits long"
Expand All @@ -10,6 +11,7 @@ passportNumber:
surname:
label: Surname
hint: ""
prefix: ""
validation:
default: "Enter your surname as it appears on your passport"
surnamelength: "Enter your surname as it appears on your passport"
Expand All @@ -18,6 +20,7 @@ surname:
firstName:
label: First name
hint: ""
prefix: ""
validation:
default: "Enter your first name as it appears on your passport"
maxlength: "Enter your first name as it appears on your passport"
Expand All @@ -27,6 +30,7 @@ firstName:
middleNames:
label: Middle names
hint: "Leave this blank if you do not have any middle names"
prefix: ""
validation:
maxlength: "Enter your middle names as they appear on your passport"
regexpassport: "Enter your middle names as they appear on your passport"
Expand Down

0 comments on commit 6aa3e73

Please sign in to comment.