summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-11 10:18:11 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-11 13:52:41 (GMT)
commitfcfd6399dcccef350addb992067dccdc6bceb9c7 (patch)
treed4425a252299fed6f513ce25d5274f3e179eed79
parente56fc59124b998b3f237945f4ec1343afe6676ba (diff)
downloadQt-fcfd6399dcccef350addb992067dccdc6bceb9c7.zip
Qt-fcfd6399dcccef350addb992067dccdc6bceb9c7.tar.gz
Qt-fcfd6399dcccef350addb992067dccdc6bceb9c7.tar.bz2
fix arabic plurals
-rw-r--r--tools/linguist/shared/numerus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/shared/numerus.cpp b/tools/linguist/shared/numerus.cpp
index 8e51114..c0960da 100644
--- a/tools/linguist/shared/numerus.cpp
+++ b/tools/linguist/shared/numerus.cpp
@@ -101,7 +101,7 @@ static const uchar arabicRules[] =
Q_EQ, 1, Q_NEWRULE,
Q_EQ, 2, Q_NEWRULE,
Q_MOD_100 | Q_BETWEEN, 3, 10, Q_NEWRULE,
- Q_MOD_100 | Q_NEQ, 0 };
+ Q_MOD_100 | Q_NOT | Q_BETWEEN, 0, 2 };
static const uchar tagalogRules[] =
{ Q_LEQ, 1, Q_NEWRULE,
Q_MOD_10 | Q_EQ, 4, Q_OR, Q_MOD_10 | Q_EQ, 6, Q_OR, Q_MOD_10 | Q_EQ, 9 };
@@ -127,7 +127,7 @@ static const char * const malteseForms[] =
static const char * const welshForms[] =
{ "Nullar", "Singular", "Dual", "Sexal", "Plural", 0 };
static const char * const arabicForms[] =
- { "Nullar", "Singular", "Dual", "Minority Plural", "Plural", "Plural Form for 100, 200, ...", 0 };
+ { "Nullar", "Singular", "Dual", "Minority Plural", "Plural", "Plural (100-102, ...)", 0 };
static const char * const tagalogForms[] =
{ "Singular", "Plural (consonant-ended)", "Plural (vowel-ended)", 0 };
static const char * const catalanForms[] = { "Singular", "Undecal (11)", "Plural", 0 };