diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-11-30 18:22:41 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-12-06 12:18:47 +0000 |
commit | 28df30fccd3d5b1e1e0b58efb225246766d7fcd5 (patch) | |
tree | f258e7e97b299c926a4fc57efbc19b419a8d14f9 | |
parent | c2937bd62ee559639ce9616fd58c7134f6f3a85c (diff) |
fix numerus rules for armenian
unicode says they language uses french style plurals (0 & 1, and
everything else).
Task-number: QTBUG-57399
Change-Id: I2ebb80bbed9f055b7908e43134c086f7b34ce885
Reviewed-by: Alexandr Akulich <akulichalexander@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | src/linguist/shared/numerus.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linguist/shared/numerus.cpp b/src/linguist/shared/numerus.cpp index 71ba1cc07..6a1ca8130 100644 --- a/src/linguist/shared/numerus.cpp +++ b/src/linguist/shared/numerus.cpp @@ -124,7 +124,6 @@ static const char * const tagalogForms[] = #define EOL QLocale::C static const QLocale::Language japaneseStyleLanguages[] = { - QLocale::Armenian, QLocale::Bislama, QLocale::Burmese, QLocale::Chinese, @@ -246,6 +245,7 @@ static const QLocale::Language englishStyleLanguages[] = { }; static const QLocale::Language frenchStyleLanguages[] = { // keep synchronized with frenchStyleCountries + QLocale::Armenian, QLocale::Breton, QLocale::French, QLocale::Portuguese, @@ -298,6 +298,7 @@ static const QLocale::Country frenchStyleCountries[] = { // keep synchronized with frenchStyleLanguages QLocale::AnyCountry, QLocale::AnyCountry, + QLocale::AnyCountry, QLocale::Brazil, QLocale::AnyCountry, QLocale::AnyCountry, |