From a93f45ecc9c5fdeaf8ed75bc9df6dc94ed009615 Mon Sep 17 00:00:00 2001 From: Andrew Nugged Date: Fri, 28 May 2021 13:36:45 +0300 Subject: [PATCH] Add and fix few messages in second plural form for pl, be, ru languages Fixed missed "singular" message which had word "one" instead of "{count}" for uk and ru because it should be used not only for "1" but also for "21, 31, ...". Add formula for 2/3 form for Russian (Plural-Forms:...) and Belarusian and Ukrainian formulas normalized to be the same for all three languages --- misc/translator/po/be-BY-messages.po | 9 ++++----- misc/translator/po/pl-PL-messages.po | 12 ++++++------ misc/translator/po/ru-RU-messages.po | 21 +++++++++++---------- misc/translator/po/uk-UA-messages.po | 5 ++--- 4 files changed, 23 insertions(+), 24 deletions(-) diff --git a/misc/translator/po/be-BY-messages.po b/misc/translator/po/be-BY-messages.po index 638badccc0..3423476b5c 100644 --- a/misc/translator/po/be-BY-messages.po +++ b/misc/translator/po/be-BY-messages.po @@ -15,8 +15,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Pootle-Path: /be/21.05/be-BY-messages.po\n" "X-Pootle-Revision: 1\n" @@ -29,9 +28,9 @@ msgstr "" #, perl-brace-format msgid "({age} year)" msgid_plural "({age} years)" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "({age} год)" +msgstr[1] "({age} гады)" +msgstr[2] "({age} гадоў)" #: koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt:48 msgid "" diff --git a/misc/translator/po/pl-PL-messages.po b/misc/translator/po/pl-PL-messages.po index c93f53c433..9e0b47eab5 100644 --- a/misc/translator/po/pl-PL-messages.po +++ b/misc/translator/po/pl-PL-messages.po @@ -31,9 +31,9 @@ msgstr "(szukane pole {field_name} z mapowaniem {marc_field}.)" #, perl-brace-format msgid "({age} year)" msgid_plural "({age} years)" -msgstr[0] "({age} lata)" -msgstr[1] "({age} lat)" -msgstr[2] "" +msgstr[0] "({age} rok)" +msgstr[1] "({age} lata)" +msgstr[2] "({age} lat)" #: koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt:48 msgid "" @@ -164,7 +164,7 @@ msgid "There is one archived suggestion." msgid_plural "There are {count} archived suggestions." msgstr[0] "Jest jedna zarchiwizowana sugestia." msgstr[1] "Istnieje {count} zarchiwizowanych sugestii." -msgstr[2] "" +msgstr[2] "Istnieje {count} zarchiwizowanych sugestii." #: koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt:133 #: koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt:275 @@ -229,7 +229,7 @@ msgid "{count} library limitation" msgid_plural "{count} library limitations" msgstr[0] "{count} ograniczenie biblioteczne" msgstr[1] "{count} ograniczenia biblioteczne" -msgstr[2] "" +msgstr[2] "{count} ograniczenia biblioteczne" #: koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt:60 #, perl-brace-format @@ -237,4 +237,4 @@ msgid "{title} ({barcode}) was removed from {count} course." msgid_plural "{title} ({barcode}) was removed from {count} courses." msgstr[0] "{title} ({barcode}) został usunięty z kursu {count}." msgstr[1] "{title} ({barcode}) został usunięty z kursów {count}." -msgstr[2] "" +msgstr[2] "{title} ({barcode}) został usunięty z kursów {count}." diff --git a/misc/translator/po/ru-RU-messages.po b/misc/translator/po/ru-RU-messages.po index cd0c524bbf..c8f6052d93 100644 --- a/misc/translator/po/ru-RU-messages.po +++ b/misc/translator/po/ru-RU-messages.po @@ -10,6 +10,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Pootle-Path: /ru/21.05/ru-RU-messages.po\n" "X-Pootle-Revision: 1\n" @@ -23,8 +24,8 @@ msgstr "(поле поиска {field_name} с сопоставлением {mar msgid "({age} year)" msgid_plural "({age} years)" msgstr[0] "({age} год)" -msgstr[1] "({age} лет)" -msgstr[2] "" +msgstr[1] "({age} года)" +msgstr[2] "({age} лет)" #: koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt:48 msgid "" @@ -153,9 +154,9 @@ msgstr "Заказ" msgctxt "pluralization" msgid "There is one archived suggestion." msgid_plural "There are {count} archived suggestions." -msgstr[0] "Есть одно предложение в архиве." -msgstr[1] "Есть {count} предложений в архиве." -msgstr[2] "" +msgstr[0] "Есть {count} предложение в архиве." +msgstr[1] "Есть {count} предложения в архиве." +msgstr[2] "Есть {count} предложений в архиве." #: koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt:133 #: koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt:275 @@ -211,16 +212,16 @@ msgstr[1] "(просрочено)" msgid "{count} item" msgid_plural "{count} items" msgstr[0] "{count} экземпляр" -msgstr[1] "{count} экземпляров" -msgstr[2] "" +msgstr[1] "{count} экземпляра" +msgstr[2] "{count} экземпляров" #: koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt:194 #, perl-brace-format msgid "{count} library limitation" msgid_plural "{count} library limitations" msgstr[0] "{count} ограничение библиотеки" -msgstr[1] "{count} ограничений библиотек" -msgstr[2] "" +msgstr[1] "{count} ограничения библиотек" +msgstr[2] "{count} ограничений библиотек" #: koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt:60 #, perl-brace-format @@ -228,4 +229,4 @@ msgid "{title} ({barcode}) was removed from {count} course." msgid_plural "{title} ({barcode}) was removed from {count} courses." msgstr[0] "{title} ({barcode}) был удален из {count} курса." msgstr[1] "{title} ({barcode}) был удален из {count} курсов." -msgstr[2] "" +msgstr[2] "{title} ({barcode}) был удален из {count} курсов." diff --git a/misc/translator/po/uk-UA-messages.po b/misc/translator/po/uk-UA-messages.po index dea77e5339..287f2ad11b 100644 --- a/misc/translator/po/uk-UA-messages.po +++ b/misc/translator/po/uk-UA-messages.po @@ -11,8 +11,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Pootle 2.8\n" "X-POOTLE-MTIME: 1620902590.865392\n" "X-Pootle-Path: /uk/21.05/uk-UA-messages.po\n" @@ -155,7 +154,7 @@ msgstr "Порядок" msgctxt "pluralization" msgid "There is one archived suggestion." msgid_plural "There are {count} archived suggestions." -msgstr[0] "Є одна заархівована пропозиція." +msgstr[0] "Є {count} заархівована пропозиція." msgstr[1] "Є {count} заархівовані пропозиції." msgstr[2] "Є {count} заархівованих пропозицій." -- 2.39.5