Skip to content

Commit cc88948

Browse files
committed
i18n: use plural forms in English translation
1 parent 66bdc86 commit cc88948

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
@@ -132,9 +132,12 @@
132132
"annotations": {
133133
"descAuthor": "by '{{- author}}'",
134134
"descCreator": "created by",
135-
"descList": "{{- count}} note(s) {{- creator}} will be imported into '{{- title}}' {{- author}}",
136-
"descNewer": "Conflict(s): {{- count}} newer note(s)",
137-
"descOlder": "Conflict(s): {{- count}} older note(s)",
135+
"descList_one": "{{- count}} note {{- creator}} will be imported into '{{- title}}' {{- author}}",
136+
"descList_other": "{{- count}} notes {{- creator}} will be imported into '{{- title}}' {{- author}}",
137+
"descNewer_one": "Conflict(s): {{- count}} newer note",
138+
"descNewer_other": "Conflict(s): {{- count}} newer notes",
139+
"descOlder_one": "Conflict(s): {{- count}} older note",
140+
"descOlder_other": "Conflict(s): {{- count}} older notes",
138141
"descTitle": "Annotations title: ",
139142
"importAll": "Import all notes",
140143
"importWithoutConflict": "Import only conflict-free notes",
@@ -149,9 +152,11 @@
149152
}
150153
},
151154
"deleteAnnotations": "Delete annotations?",
152-
"deleteAnnotationsText": "Are you sure you want to delete {{- count}} note(s)?",
155+
"deleteAnnotationsText_one": "Are you sure you want to delete {{- count}} note?",
156+
"deleteAnnotationsText_other": "Are you sure you want to delete {{- count}} notes?",
153157
"deleteBookmarks": "Delete bookmarks?",
154-
"deleteBookmarksText": "Are you sure you want to delete {{- count}} bookmark(s)?",
158+
"deleteBookmarksText_one": "Are you sure you want to delete {{- count}} bookmark?",
159+
"deleteBookmarksText_other": "Are you sure you want to delete {{- count}} bookmarks?",
155160
"deleteFeed": "Delete catalog?",
156161
"deletePublication": "Delete publication?",
157162
"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)",
@@ -758,7 +763,8 @@
758763
},
759764
"picker": {
760765
"search": {
761-
"founds": "{{- count}} match(es)",
766+
"founds_one": "{{- count}} match",
767+
"founds_other": "{{- count}} matches",
762768
"input": "text to match",
763769
"next": "Next",
764770
"notFound": "no matches",

0 commit comments

Comments
 (0)