Skip to content

Commit 7c60374

Browse files
committed
i18n: use plural forms in English translation
1 parent 06c625b commit 7c60374

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/resources/locales/en.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,12 @@
123123
"annotations": {
124124
"descAuthor": "by '{{- author}}'",
125125
"descCreator": "created by",
126-
"descList": "{{- count}} note(s) {{- creator}} will be imported into '{{- title}}' {{- author}}",
127-
"descNewer": "Conflict(s): {{- count}} newer note(s)",
128-
"descOlder": "Conflict(s): {{- count}} older note(s)",
126+
"descList_one": "{{- count}} note {{- creator}} will be imported into '{{- title}}' {{- author}}",
127+
"descList_other": "{{- count}} notes {{- creator}} will be imported into '{{- title}}' {{- author}}",
128+
"descNewer_one": "Conflict(s): {{- count}} newer note",
129+
"descNewer_other": "Conflict(s): {{- count}} newer notes",
130+
"descOlder_one": "Conflict(s): {{- count}} older note",
131+
"descOlder_other": "Conflict(s): {{- count}} older notes",
129132
"descTitle": "Annotations title: ",
130133
"importAll": "Import all notes",
131134
"importWithoutConflict": "Import only conflict-free notes",
@@ -134,7 +137,8 @@
134137
},
135138
"cancel": "Cancel",
136139
"deleteAnnotations": "Delete annotations?",
137-
"deleteAnnotationsText": "Are you sure you want to delete {{- count}} note(s)?",
140+
"deleteAnnotationsText_one": "Are you sure you want to delete {{- count}} note?",
141+
"deleteAnnotationsText_other": "Are you sure you want to delete {{- count}} notes?",
138142
"deleteFeed": "Delete catalog?",
139143
"deletePublication": "Delete publication?",
140144
"import": "Confirm import:",
@@ -432,7 +436,8 @@
432436
},
433437
"picker": {
434438
"search": {
435-
"founds": "{{- count}} match(es)",
439+
"founds_one": "{{- count}} match",
440+
"founds_other": "{{- count}} matches",
436441
"input": "text to match",
437442
"next": "Next",
438443
"notFound": "no matches",

0 commit comments

Comments
 (0)