From 69033f37f8897cfe801019ef7ea279c5fedc9cc4 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Wed, 15 Apr 2020 11:40:26 +0200 Subject: [PATCH] i18n Python scripts: declare plural forms for Catalan and Slovak Regarding Slovak language, there was enough info in . As for Catalan, I don't see anything there, so I put "ca": ["singular", "plural"] based on the fact that [1] says: "Catalan has an inflectional grammar. Nouns have two genders (masculine, feminine), and two numbers (singular, plural)." I suspect we'll be ahead of Qt Linguist for Catalan. [1] https://en.wikipedia.org/wiki/Catalan_language --- python3-flightgear/flightgear/meta/i18n.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python3-flightgear/flightgear/meta/i18n.py b/python3-flightgear/flightgear/meta/i18n.py index 74a7490..8f94fda 100644 --- a/python3-flightgear/flightgear/meta/i18n.py +++ b/python3-flightgear/flightgear/meta/i18n.py @@ -83,6 +83,7 @@ FORMAT_HANDLERS_NAMES = [] # qttools/src/linguist/shared/numerus.cpp). PLURAL_FORMS = { None: [""], # for the default (= master) translation + "ca": ["singular", "plural"], "de": ["singular", "plural"], "en": ["singular", "plural"], "es": ["singular", "plural"], @@ -92,6 +93,7 @@ PLURAL_FORMS = { "pl": ["singular", "paucal", "plural"], "pt": ["singular", "plural"], "ru": ["singular", "plural"], + "sk": ["singular", "paucal", "plural"], "zh": ["universal"] # universal form }