Skip to content

Commit 668a42f

Browse files
committed
i18n: use plural forms in English translation
1 parent e836975 commit 668a42f

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/resources/locales/en.json

Lines changed: 12 additions & 6 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,9 +137,11 @@
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
"deleteBookmarks": "Delete bookmarks?",
139-
"deleteBookmarksText": "Are you sure you want to delete {{- count}} bookmark(s)?",
143+
"deleteBookmarksText_one": "Are you sure you want to delete {{- count}} bookmark?",
144+
"deleteBookmarksText_other": "Are you sure you want to delete {{- count}} bookmarks?",
140145
"deleteFeed": "Delete catalog?",
141146
"deletePublication": "Delete publication?",
142147
"import": "Confirm import:",
@@ -438,7 +443,8 @@
438443
},
439444
"picker": {
440445
"search": {
441-
"founds": "{{- count}} match(es)",
446+
"founds_one": "{{- count}} match",
447+
"founds_other": "{{- count}} matches",
442448
"input": "text to match",
443449
"next": "Next",
444450
"notFound": "no matches",

0 commit comments

Comments
 (0)