Skip to content

Commit e52aa40

Browse files
committed
refactor(frontend): update person-case forms for multi-channel
1 parent 8533f32 commit e52aa40

33 files changed

+2620
-1759
lines changed

frontend/app/.server/locales/protected-en.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@
427427
"page-title": "Summary",
428428
"case-created": "Case created",
429429
"id-number": "ID number",
430-
"send-for-validation": "Send for validation"
430+
"send-for-validation": "Send for validation",
431+
"back": "Back",
432+
"confirm": "Confirm"
431433
}
432434
}

frontend/app/.server/locales/protected-fr.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@
428428
"page-title": "Sommaire",
429429
"case-created": "Cas créé",
430430
"id-number": "Numéro d'identification",
431-
"send-for-validation": "Envoyer pour validation"
431+
"send-for-validation": "Envoyer pour validation",
432+
"back": "Retour",
433+
"confirm": "Valider"
432434
}
433435
}

frontend/app/errors/error-codes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const ErrorCodes = {
1515
// form error codes
1616
MISSING_TAB_ID: 'FRM-0000',
1717
UNRECOGNIZED_ACTION: 'FRM-0001',
18+
UNRECOGNIZED_SECTION: 'FRM-0002',
1819

1920
// i18n error codes
2021
NO_LANGUAGE_FOUND: 'I18N-0001',

frontend/app/i18n-routes.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ export const i18nRoutes = [
135135
fr: '/fr/protege/multi-chaine/send-validation',
136136
},
137137
},
138+
{
139+
id: 'MCF-0005',
140+
file: 'routes/protected/multi-channel/edit-application.tsx',
141+
paths: {
142+
en: '/en/protected/multi-channel/edit-application',
143+
fr: '/fr/protege/multi-chaine/edit-application',
144+
},
145+
},
138146
{
139147
file: 'routes/protected/person-case/layout.tsx',
140148
children: [
@@ -215,15 +223,15 @@ export const i18nRoutes = [
215223
file: 'routes/protected/person-case/previous-sin.tsx',
216224
paths: {
217225
en: '/en/protected/person-case/previous-sin',
218-
fr: '/fr/protege/cas-personnel/previous-sin',
226+
fr: '/fr/protege/cas-personnel/nas-precedent',
219227
},
220228
},
221229
{
222230
id: 'INP-0010',
223231
file: 'routes/protected/person-case/contact-information.tsx',
224232
paths: {
225233
en: '/en/protected/person-case/contact-information',
226-
fr: '/fr/protege/cas-personnel/contact-information',
234+
fr: '/fr/protege/cas-personnel/informations-de-contact',
227235
},
228236
},
229237
{

0 commit comments

Comments
 (0)