mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
(svn r19452) -Change: plural type of Slovak (keso)
This commit is contained in:
parent
e037512a6f
commit
eb8d35a16e
@ -1,7 +1,7 @@
|
||||
##name Slovak
|
||||
##ownname Slovensky
|
||||
##isocode sk_SK
|
||||
##plural 6
|
||||
##plural 10
|
||||
##textdir ltr
|
||||
##digitsep .
|
||||
##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]
|
||||
* Used in:
|
||||
* Croatian, Russian, Slovak, Ukrainian */
|
||||
* Croatian, Russian, Ukrainian */
|
||||
case 6:
|
||||
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
|
||||
* Used in:
|
||||
* Czech */
|
||||
* Czech, Slovak */
|
||||
case 10:
|
||||
return n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user