Skip to content

Commit

Permalink
fix: update witness section names
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil20 authored and github-actions committed Jul 3, 2024
1 parent 5de9d08 commit 869f489
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
13 changes: 9 additions & 4 deletions src/form/common/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,10 +776,15 @@ export const formMessageDescriptors = {
description: 'Label for form field: Place of occurrence of marriage',
id: 'form.field.label.placeOfMarriage'
},
witnessName: {
defaultMessage: 'Witness',
description: 'Form section name for Witness',
id: 'form.section.witness.name'
witnessOneName: {
defaultMessage: 'Witness 1',
description: 'Form section name for Witness one',
id: 'form.section.witnessOne.name'
},
witnessTwoName: {
defaultMessage: 'Witness 2',
description: 'Form section name for Witness two',
id: 'form.section.witnessTwo.name'
},
witnessOneTitle: {
defaultMessage: 'What are the witnesses one details?',
Expand Down
4 changes: 2 additions & 2 deletions src/form/marriage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const marriageForm: ISerializedForm = {
{
id: 'witnessOne',
viewType: 'form',
name: formMessageDescriptors.witnessName,
name: formMessageDescriptors.witnessOneName,
title: formMessageDescriptors.witnessOneTitle,
groups: [
{
Expand All @@ -296,7 +296,7 @@ export const marriageForm: ISerializedForm = {
{
id: 'witnessTwo',
viewType: 'form',
name: formMessageDescriptors.witnessName,
name: formMessageDescriptors.witnessTwoName,
title: formMessageDescriptors.witnessTwoTitle,
groups: [
{
Expand Down
3 changes: 2 additions & 1 deletion src/translations/client.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1363,8 +1363,9 @@ form.section.upload.documentsTitle,,Upload supporting documents,Joindre des docu
form.section.user.preview.title,,Confirm details,Confirmer les détails
form.section.user.title,,Create new user,Créer un nouvel utilisateur
form.section.userDetails,,User details,information utilisateur
form.section.witness.name,,Witness,Témoin
form.section.witnessOne.name,Form section name for Witness one,Witness 1,Témoin 1
form.section.witnessOne.title,,Witness 1 details,Détails du témoin 1
form.section.witnessTwo.name,Form section name for Witness two,Witness 2,Témoin 2
form.section.witnessTwo.title,,Witness 2 details,Détails du témoin 2
home.header.advancedSearch,Search menu advanced search type,Advanced Search,Recherche avancée
home.header.email,Search email type,Email,E-mail
Expand Down

0 comments on commit 869f489

Please sign in to comment.