From 9d9995ad0bc24d2621db8f903121299381253f46 Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Wed, 1 Jan 2025 12:37:28 +0200 Subject: [PATCH] i18n: use plural forms in English translation --- src/resources/locales/en.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/resources/locales/en.json b/src/resources/locales/en.json index 84dd3f9e8..f55d0569c 100644 --- a/src/resources/locales/en.json +++ b/src/resources/locales/en.json @@ -121,9 +121,12 @@ "dialog": { "annotations": { "descAuthor": "of {{- author}}", - "descList": "{{- count}} note(s) from {{- creator}} will be associated with {{- title}} {{- author}}", - "descNewer": "{{- count}} newer version(s) of these notes are already associated with the publication.", - "descOlder": "{{- count}} older version(s) of these notes are already associated with the publication.", + "descList_one": "{{- count}} note from {{- creator}} will be associated with {{- title}} {{- author}}", + "descList_other": "{{- count}} notes from {{- creator}} will be associated with {{- title}} {{- author}}", + "descNewer_one": "{{- count}} newer version of these notes are already associated with the publication.", + "descNewer_other": "{{- count}} newer versions of these notes are already associated with the publication.", + "descOlder_one": "{{- count}} older version of these notes are already associated with the publication.", + "descOlder_other": "{{- count}} older versions of these notes are already associated with the publication.", "descTitle": "Title of the set: ", "importAll": "Import all notes", "importWithoutConflict": "Import notes without conflict", @@ -131,7 +134,8 @@ }, "cancel": "Cancel", "deleteAnnotations": "Delete note?", - "deleteAnnotationsText": "Do you want to delete {{- count}} note(s)?", + "deleteAnnotationsText_one": "Do you want to delete {{- count}} note?", + "deleteAnnotationsText_other": "Do you want to delete {{- count}} notes?", "deleteFeed": "Delete catalog?", "deletePublication": "Delete publication?", "import": "Confirm import:", @@ -424,7 +428,8 @@ }, "picker": { "search": { - "founds": "{{- count}} match(es)", + "founds_one": "{{- count}} match", + "founds_other": "{{- count}} matches", "input": "text to match", "next": "Next", "notFound": "no matches",