diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-10-28 15:06:41 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-10-28 15:06:41 +0200 |
| commit | 011339bde7e2b482ff78fdb084fbe2af4482076e (patch) | |
| tree | 917a51e97cdf54a7d3223de6451ab16739f4d8ac /htdocs/src/js/i18n | |
| parent | a108f00dbad01d1c02465811cd1bcc4176bf8f3a (diff) | |
chore(i18n): handle singular/plural form
Diffstat (limited to 'htdocs/src/js/i18n')
| -rw-r--r-- | htdocs/src/js/i18n/locales/en.js | 12 | ||||
| -rw-r--r-- | htdocs/src/js/i18n/locales/fr.js | 12 |
2 files changed, 20 insertions, 4 deletions
diff --git a/htdocs/src/js/i18n/locales/en.js b/htdocs/src/js/i18n/locales/en.js index d8fea40..d548757 100644 --- a/htdocs/src/js/i18n/locales/en.js +++ b/htdocs/src/js/i18n/locales/en.js @@ -11,8 +11,16 @@ const en = { project: { details: { about: 'About {{name}}', - repo: 'Repositories:', - tech: 'Technologies:', + repo: { + one: 'Repository:', + other: 'Repositories:', + zero: 'Repositories:', + }, + tech: { + one: 'Technology:', + other: 'Technologies:', + zero: 'Technologies:', + }, }, }, }, diff --git a/htdocs/src/js/i18n/locales/fr.js b/htdocs/src/js/i18n/locales/fr.js index f44d459..29bf9fd 100644 --- a/htdocs/src/js/i18n/locales/fr.js +++ b/htdocs/src/js/i18n/locales/fr.js @@ -11,8 +11,16 @@ const fr = { project: { details: { about: 'À propos de {{name}}', - repo: 'Dépôts :', - tech: 'Technologies :', + repo: { + one: 'Dépôt :', + other: 'Dépôts :', + zero: 'Dépôt :', + }, + tech: { + one: 'Technologie :', + other: 'Technologies :', + zero: 'Technologie :', + }, }, }, }, |
