@defra-fish/gafl-webapp-service 1.58.0-rc.7 → 1.58.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/locales/cy.json +3 -3
- package/src/locales/en.json +3 -5
- package/src/pages/concessions/date-of-birth/date-of-birth.njk +3 -3
- package/src/pages/licence-details/licence-to-start/licence-to-start.njk +3 -3
- package/src/pages/renewals/identify/identify.njk +3 -3
- package/src/pages/renewals/renewal-start-date/renewal-start-date.njk +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defra-fish/gafl-webapp-service",
|
|
3
|
-
"version": "1.58.0-rc.
|
|
3
|
+
"version": "1.58.0-rc.9",
|
|
4
4
|
"description": "The websales frontend for the GAFL service",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"prepare": "gulp --gulpfile build/gulpfile.cjs"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@defra-fish/business-rules-lib": "1.58.0-rc.
|
|
40
|
-
"@defra-fish/connectors-lib": "1.58.0-rc.
|
|
39
|
+
"@defra-fish/business-rules-lib": "1.58.0-rc.9",
|
|
40
|
+
"@defra-fish/connectors-lib": "1.58.0-rc.9",
|
|
41
41
|
"@defra/hapi-gapi": "^2.0.0",
|
|
42
42
|
"@hapi/boom": "^9.1.2",
|
|
43
43
|
"@hapi/catbox-redis": "^6.0.2",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"./gafl-jest-matchers.js"
|
|
81
81
|
]
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "ab360ee257b615b39da44fb8446c901f3a2ebb21"
|
|
84
84
|
}
|
package/src/locales/cy.json
CHANGED
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"disability_concession_radio_pip": "Taliad Annibyniaeth Personol (PIP)",
|
|
271
271
|
"disability_concession_title_other": "A ydyw’n derbyn unrhyw un o’r canlynol?",
|
|
272
272
|
"disability_concession_title_you": "Ydych chi’n derbyn unrhyw un o’r canlynol?",
|
|
273
|
-
"
|
|
273
|
+
"date_day": "Diwrnod",
|
|
274
274
|
"dob_entry_hint": "Er enghraifft, 23 11 1979",
|
|
275
275
|
"dob_error_date_real": "Mae’n rhaid i’r dyddiad geni fod yn ddyddiad dilys",
|
|
276
276
|
"dob_error_missing_day_and_month": "Mae’n rhaid i’r dyddiad geni gynnwys diwrnod a mis",
|
|
@@ -283,12 +283,12 @@
|
|
|
283
283
|
"dob_error_year_min": "Mae’r dyddiad geni yn rhy bell yn ôl",
|
|
284
284
|
"dob_error_year_max": "Mae'n rhaid i’r dyddiad geni fod yn y gorffennol",
|
|
285
285
|
"dob_error": "Rhowch dyddiad geni",
|
|
286
|
-
"
|
|
286
|
+
"date_month": "Mis",
|
|
287
287
|
"dob_privacy_link_prefix": "Os nad ydych yn darparu dyddiad geni cywir, gallai hynny achosi oedi wrth adnewyddu trwydded, neu olygu nad yw’r drwydded yn ddilys. Darllenwch am ",
|
|
288
288
|
"dob_privacy_link": "sut yr ydym ni'n defnyddio data personol (yn agor ar dudalen newydd)",
|
|
289
289
|
"dob_title_other": "Beth yw ei ddyddiad geni?",
|
|
290
290
|
"dob_title_you": "Beth yw eich dyddiad geni?",
|
|
291
|
-
"
|
|
291
|
+
"date_year": "Blwyddyn",
|
|
292
292
|
"dp_email": "dataprotection@environment-agency.gov.uk",
|
|
293
293
|
"email_address": "cyfeiriad e-bost",
|
|
294
294
|
"email_alt": "E-bost",
|
package/src/locales/en.json
CHANGED
|
@@ -270,9 +270,8 @@
|
|
|
270
270
|
"disability_concession_radio_pip": "Personal Independence Payment (PIP)",
|
|
271
271
|
"disability_concession_title_other": "Do they receive any of the following?",
|
|
272
272
|
"disability_concession_title_you": "Do you receive any of the following?",
|
|
273
|
-
"
|
|
273
|
+
"date_day": "Day",
|
|
274
274
|
"dob_entry_hint": "For example, 23 11 1979",
|
|
275
|
-
|
|
276
275
|
"dob_error_date_real": "Date of birth must be a real date",
|
|
277
276
|
"dob_error_missing_day_and_month": "Date of birth must include a day and month",
|
|
278
277
|
"dob_error_missing_day_and_year": "Date of birth must include a day and year",
|
|
@@ -284,13 +283,12 @@
|
|
|
284
283
|
"dob_error_year_min": "Date of birth is too long ago",
|
|
285
284
|
"dob_error_year_max": "The date of birth must be in the past",
|
|
286
285
|
"dob_error": "Enter a date of birth",
|
|
287
|
-
|
|
288
|
-
"dob_month": "month",
|
|
286
|
+
"date_month": "Month",
|
|
289
287
|
"dob_privacy_link_prefix": "If you do not provide a correct date of birth, this may cause delays when a licence is renewed or mean that a licence is not valid. Read about ",
|
|
290
288
|
"dob_privacy_link": "how we use personal information (opens in new tab)",
|
|
291
289
|
"dob_title_other": "What is the person’s date of birth?",
|
|
292
290
|
"dob_title_you": "What is your date of birth?",
|
|
293
|
-
"
|
|
291
|
+
"date_year": "Year",
|
|
294
292
|
"dp_email": "dataprotection@environment-agency.gov.uk",
|
|
295
293
|
"email_address": "email address",
|
|
296
294
|
"email_alt": "Email",
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
|
|
46
46
|
{% set dateInputItems = [
|
|
47
47
|
{
|
|
48
|
-
label: mssgs.
|
|
48
|
+
label: mssgs.date_day,
|
|
49
49
|
name: 'day',
|
|
50
50
|
classes: "govuk-input--width-2 govuk-input--error" if data.isDayError else "govuk-input--width-2",
|
|
51
51
|
value: payload['date-of-birth-day'],
|
|
52
52
|
attributes: { maxlength : 2 }
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
label: mssgs.
|
|
55
|
+
label: mssgs.date_month,
|
|
56
56
|
name: 'month',
|
|
57
57
|
classes: "govuk-input--width-2 govuk-input--error" if data.isMonthError else "govuk-input--width-2",
|
|
58
58
|
value: payload['date-of-birth-month'],
|
|
59
59
|
attributes: { maxlength : 2 }
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
label: mssgs.
|
|
62
|
+
label: mssgs.date_year,
|
|
63
63
|
name: 'year',
|
|
64
64
|
classes: "govuk-input--width-4 govuk-input--error" if data.isYearError else "govuk-input--width-4",
|
|
65
65
|
value: payload['date-of-birth-year'],
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
{% set dateInputItems = [
|
|
49
49
|
{
|
|
50
50
|
name: "day",
|
|
51
|
-
label: mssgs.
|
|
51
|
+
label: mssgs.date_day,
|
|
52
52
|
classes: "govuk-input--width-2 govuk-input--error" if data.isDayError else "govuk-input--width-2",
|
|
53
53
|
value: payload['licence-start-date-day'],
|
|
54
54
|
attributes: { maxlength : 2 }
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
name: "month",
|
|
58
|
-
label: mssgs.
|
|
58
|
+
label: mssgs.date_month,
|
|
59
59
|
classes: "govuk-input--width-2 govuk-input--error" if data.isMonthError else "govuk-input--width-2",
|
|
60
60
|
value: payload['licence-start-date-month'],
|
|
61
61
|
attributes: { maxlength : 2 }
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
name: "year",
|
|
65
|
-
label: mssgs.
|
|
65
|
+
label: mssgs.date_year,
|
|
66
66
|
classes: "govuk-input--width-4 govuk-input--error" if data.isYearError else "govuk-input--width-4",
|
|
67
67
|
value: payload['licence-start-date-year'],
|
|
68
68
|
attributes: { maxlength : 4 }
|
|
@@ -61,21 +61,21 @@
|
|
|
61
61
|
|
|
62
62
|
{% set dateInputItems = [
|
|
63
63
|
{
|
|
64
|
-
label: mssgs.
|
|
64
|
+
label: mssgs.date_day,
|
|
65
65
|
name: "day",
|
|
66
66
|
classes: "govuk-input--width-2 govuk-input--error" if data.isDayError else "govuk-input--width-2",
|
|
67
67
|
value: payload['date-of-birth-day'],
|
|
68
68
|
attributes: { maxlength : 2 }
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
label: mssgs.
|
|
71
|
+
label: mssgs.date_month,
|
|
72
72
|
name: "month",
|
|
73
73
|
classes: "govuk-input--width-2 govuk-input--error" if data.isMonthError else "govuk-input--width-2",
|
|
74
74
|
value: payload['date-of-birth-month'],
|
|
75
75
|
attributes: { maxlength : 2 }
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
label: mssgs.
|
|
78
|
+
label: mssgs.date_year,
|
|
79
79
|
name: "year",
|
|
80
80
|
classes: "govuk-input--width-4 govuk-input--error" if data.isYearError else "govuk-input--width-4",
|
|
81
81
|
value: payload['date-of-birth-year'],
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
|
|
17
17
|
{% set dateInputItems = [
|
|
18
18
|
{
|
|
19
|
-
label: mssgs.
|
|
19
|
+
label: mssgs.date_day,
|
|
20
20
|
name: 'day',
|
|
21
21
|
classes: "govuk-input--width-2",
|
|
22
22
|
value: payload['licence-start-date-day']
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
label: mssgs.
|
|
25
|
+
label: mssgs.date_month,
|
|
26
26
|
name: 'month',
|
|
27
27
|
classes: "govuk-input--width-2",
|
|
28
28
|
value: payload['licence-start-date-month']
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
label: mssgs.
|
|
31
|
+
label: mssgs.date_year,
|
|
32
32
|
name: 'year',
|
|
33
33
|
classes: "govuk-input--width-4",
|
|
34
34
|
value: payload['licence-start-date-year']
|