Skip to content

Commit 6168b92

Browse files
committed
i18n: use plural forms in English translation
1 parent bfc99c3 commit 6168b92

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
@@ -122,9 +122,12 @@
122122
"annotations": {
123123
"descAuthor": "by '{{- author}}'",
124124
"descCreator": "created by",
125-
"descList": "{{- count}} note(s) {{- creator}} will be imported into '{{- title}}' {{- author}}",
126-
"descNewer": "Conflict(s): {{- count}} newer note(s)",
127-
"descOlder": "Conflict(s): {{- count}} older notes(s)",
125+
"descList_one": "{{- count}} note {{- creator}} will be imported into '{{- title}}' {{- author}}",
126+
"descList_other": "{{- count}} notes {{- creator}} will be imported into '{{- title}}' {{- author}}",
127+
"descNewer_one": "Conflict(s): {{- count}} newer note",
128+
"descNewer_other": "Conflict(s): {{- count}} newer notes",
129+
"descOlder_one": "Conflict(s): {{- count}} older note",
130+
"descOlder_other": "Conflict(s): {{- count}} older notes",
128131
"descTitle": "Annotations title: ",
129132
"importAll": "Import all notes",
130133
"importWithoutConflict": "Import only conflict-free notes",
@@ -133,7 +136,8 @@
133136
},
134137
"cancel": "Cancel",
135138
"deleteAnnotations": "Delete annotations?",
136-
"deleteAnnotationsText": "Are you sure you want to delete {{- count}} note(s)?",
139+
"deleteAnnotationsText_one": "Are you sure you want to delete {{- count}} note?",
140+
"deleteAnnotationsText_other": "Are you sure you want to delete {{- count}} notes?",
137141
"deleteFeed": "Delete catalog?",
138142
"deletePublication": "Delete publication?",
139143
"import": "Confirm import:",
@@ -426,7 +430,8 @@
426430
},
427431
"picker": {
428432
"search": {
429-
"founds": "{{- count}} match(es)",
433+
"founds_one": "{{- count}} match",
434+
"founds_other": "{{- count}} matches",
430435
"input": "text to match",
431436
"next": "Next",
432437
"notFound": "no matches",

0 commit comments

Comments
 (0)