-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): add en-sg locale for AddRowFooter (#7867)
Extract text from AddRowFooter into a locale, rewording as needed to suit. Ensure that we honour the use of ICU conventions for plurals
- Loading branch information
Showing
5 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
frontend/src/i18n/locales/features/public-form/table/en-sg.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Table } from '.' | ||
|
||
export const enSG: Table = { | ||
addAnotherRow: 'Add another row', | ||
addAnotherRowAria: 'to the table.', | ||
rowAria: 'The table currently has ', | ||
row: '{count, plural, =1 {# row} other {# rows}}', | ||
rowMax: '{currentRows} out of max {count, plural, =1 {# row} other {# rows}}', | ||
} |
9 changes: 9 additions & 0 deletions
9
frontend/src/i18n/locales/features/public-form/table/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export * from './en-sg' | ||
|
||
export interface Table { | ||
addAnotherRow: string | ||
addAnotherRowAria: string | ||
rowAria: string | ||
row: string | ||
rowMax: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters