Skip to content

Commit 11a6e8a

Browse files
committed
i18n: use plural forms in English translation
1 parent 0e31707 commit 11a6e8a

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
@@ -124,9 +124,12 @@
124124
"annotations": {
125125
"descAuthor": "by '{{- author}}'",
126126
"descCreator": "created by",
127-
"descList": "{{- count}} note(s) {{- creator}} will be imported into '{{- title}}' {{- author}}",
128-
"descNewer": "Conflict(s): {{- count}} newer note(s)",
129-
"descOlder": "Conflict(s): {{- count}} older note(s)",
127+
"descList_one": "{{- count}} note {{- creator}} will be imported into '{{- title}}' {{- author}}",
128+
"descList_other": "{{- count}} notes {{- creator}} will be imported into '{{- title}}' {{- author}}",
129+
"descNewer_one": "Conflict(s): {{- count}} newer note",
130+
"descNewer_other": "Conflict(s): {{- count}} newer notes",
131+
"descOlder_one": "Conflict(s): {{- count}} older note",
132+
"descOlder_other": "Conflict(s): {{- count}} older notes",
130133
"descTitle": "Annotations title: ",
131134
"importAll": "Import all notes",
132135
"importWithoutConflict": "Import only conflict-free notes",
@@ -135,9 +138,11 @@
135138
},
136139
"cancel": "Cancel",
137140
"deleteAnnotations": "Delete annotations?",
138-
"deleteAnnotationsText": "Are you sure you want to delete {{- count}} note(s)?",
141+
"deleteAnnotationsText_one": "Are you sure you want to delete {{- count}} note?",
142+
"deleteAnnotationsText_other": "Are you sure you want to delete {{- count}} notes?",
139143
"deleteBookmarks": "Delete bookmarks?",
140-
"deleteBookmarksText": "Are you sure you want to delete {{- count}} bookmark(s)?",
144+
"deleteBookmarksText_one": "Are you sure you want to delete {{- count}} bookmark?",
145+
"deleteBookmarksText_other": "Are you sure you want to delete {{- count}} bookmarks?",
141146
"deleteFeed": "Delete catalog?",
142147
"deletePublication": "Delete publication?",
143148
"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)",
@@ -744,7 +749,8 @@
744749
},
745750
"picker": {
746751
"search": {
747-
"founds": "{{- count}} match(es)",
752+
"founds_one": "{{- count}} match",
753+
"founds_other": "{{- count}} matches",
748754
"input": "text to match",
749755
"next": "Next",
750756
"notFound": "no matches",

0 commit comments

Comments
 (0)