Skip to content

Commit 9ee0c40

Browse files
committed
i18n: use plural forms in English translation
1 parent 44ee49c commit 9ee0c40

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:",
@@ -434,7 +438,8 @@
434438
},
435439
"picker": {
436440
"search": {
437-
"founds": "{{- count}} match(es)",
441+
"founds_one": "{{- count}} match",
442+
"founds_other": "{{- count}} matches",
438443
"input": "text to match",
439444
"next": "Next",
440445
"notFound": "no matches",

0 commit comments

Comments
 (0)