(svn r12417) -Fix: Add a new plural rule for Icelandic.

This commit is contained in:
maedhros
2008-03-25 17:39:02 +00:00
parent 6184676ec7
commit 2023f59541
3 changed files with 8 additions and 2 deletions

View File

@@ -462,6 +462,12 @@ static int DeterminePluralForm(int64 cnt)
* Slovenian */
case 8:
return n % 100 == 1 ? 0 : n % 100 == 2 ? 1 : n % 100 == 3 || n % 100 == 4 ? 2 : 3;
/* Two forms; singular used for everything ending in 1 but not in 11.
* Used in:
* Icelandic */
case 9:
return n % 10 == 1 && n % 100 != 11 ? 0 : 1;
}
}