(svn r19452) -Change: plural type of Slovak (keso)

pull/155/head
rubidium 14 years ago
parent 841e385368
commit ac019b15ca

@ -1,7 +1,7 @@
##name Slovak ##name Slovak
##ownname Slovensky ##ownname Slovensky
##isocode sk_SK ##isocode sk_SK
##plural 6 ##plural 10
##textdir ltr ##textdir ltr
##digitsep . ##digitsep .
##digitsepcur . ##digitsepcur .

@ -410,7 +410,7 @@ static int DeterminePluralForm(int64 count)
/* Three forms, special cases for numbers ending in 1 and 2, 3, 4, except those ending in 1[1-4] /* Three forms, special cases for numbers ending in 1 and 2, 3, 4, except those ending in 1[1-4]
* Used in: * Used in:
* Croatian, Russian, Slovak, Ukrainian */ * Croatian, Russian, Ukrainian */
case 6: case 6:
return n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2; return n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2;
@ -434,7 +434,7 @@ static int DeterminePluralForm(int64 count)
/* Three forms, special cases for one and 2, 3, or 4 /* Three forms, special cases for one and 2, 3, or 4
* Used in: * Used in:
* Czech */ * Czech, Slovak */
case 10: case 10:
return n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2; return n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2;

Loading…
Cancel
Save