Skip to content

Commit

Permalink
Add humanName to constants.ts
Browse files Browse the repository at this point in the history
To allow countries to have custom ordering for full names

#6830
  • Loading branch information
Siyasanga committed Nov 14, 2024
1 parent da4a0b5 commit 0e7cc51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/client/src/i18n/messages/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ interface IConstantsMessages
refresh: MessageDescriptor
duplicateOf: MessageDescriptor
matchedTo: MessageDescriptor
humanName: MessageDescriptor
}
const messagesToDefine: IConstantsMessages = {
action: {
Expand Down Expand Up @@ -978,6 +979,11 @@ const messagesToDefine: IConstantsMessages = {
defaultMessage: `{registrationTargetDays} days - 1 year`,
description: `Label for registrations within {registrationTargetDays} days to 1 year`,
id: 'constants.withinTargetDaysTo1Year'
},
humanName: {
defaultMessage: `{lastName} {middleName} {firstName}`,
description: 'A localized order of the full name',
id: 'constants.humanName'
}
}
export const constantsMessages: Record<
Expand Down

0 comments on commit 0e7cc51

Please sign in to comment.