Skip to content

Commit df67e9b

Browse files
committed
i18n: use plural forms in English translation
1 parent 8aa5941 commit df67e9b

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
@@ -133,9 +133,12 @@
133133
"annotations": {
134134
"descAuthor": "by '{{- author}}'",
135135
"descCreator": "created by",
136-
"descList": "{{- count}} note(s) {{- creator}} will be imported into '{{- title}}' {{- author}}",
137-
"descNewer": "Conflict(s): {{- count}} newer note(s)",
138-
"descOlder": "Conflict(s): {{- count}} older note(s)",
136+
"descList_one": "{{- count}} note {{- creator}} will be imported into '{{- title}}' {{- author}}",
137+
"descList_other": "{{- count}} notes {{- creator}} will be imported into '{{- title}}' {{- author}}",
138+
"descNewer_one": "Conflict(s): {{- count}} newer note",
139+
"descNewer_other": "Conflict(s): {{- count}} newer notes",
140+
"descOlder_one": "Conflict(s): {{- count}} older note",
141+
"descOlder_other": "Conflict(s): {{- count}} older notes",
139142
"descTitle": "Annotations title: ",
140143
"importAll": "Import all notes",
141144
"importWithoutConflict": "Import only conflict-free notes",
@@ -151,9 +154,11 @@
151154
}
152155
},
153156
"deleteAnnotations": "Delete annotations?",
154-
"deleteAnnotationsText": "Are you sure you want to delete {{- count}} note(s)?",
157+
"deleteAnnotationsText_one": "Are you sure you want to delete {{- count}} note?",
158+
"deleteAnnotationsText_other": "Are you sure you want to delete {{- count}} notes?",
155159
"deleteBookmarks": "Delete bookmarks?",
156-
"deleteBookmarksText": "Are you sure you want to delete {{- count}} bookmark(s)?",
160+
"deleteBookmarksText_one": "Are you sure you want to delete {{- count}} bookmark?",
161+
"deleteBookmarksText_other": "Are you sure you want to delete {{- count}} bookmarks?",
157162
"deleteFeed": "Delete catalog?",
158163
"deletePublication": "Delete publication?",
159164
"deletePublicationWithNotes": "Warning: this publication has annotations and/or bookmarks, they will be deleted too! (if you want to keep them, make sure to export the notes before removing the publication)",
@@ -761,7 +766,8 @@
761766
},
762767
"picker": {
763768
"search": {
764-
"founds": "{{- count}} match(es)",
769+
"founds_one": "{{- count}} match",
770+
"founds_other": "{{- count}} matches",
765771
"input": "text to match",
766772
"next": "Next",
767773
"notFound": "no matches",

0 commit comments

Comments
 (0)