mirror of https://github.com/OpenTTD/OpenTTD.git
Add: new plural form for Romanian translation (#8936)
This commit is contained in:
parent
5a14bf3a6c
commit
d4c3d01d07
|
@ -1,7 +1,7 @@
|
|||
##name Romanian
|
||||
##ownname Românӑ
|
||||
##isocode ro_RO
|
||||
##plural 0
|
||||
##plural 14
|
||||
##textdir ltr
|
||||
##digitsep .
|
||||
##digitsepcur .
|
||||
|
|
|
@ -628,6 +628,12 @@ static int DeterminePluralForm(int64 count, int plural_form)
|
|||
* Scottish Gaelic */
|
||||
case 13:
|
||||
return ((n == 1 || n == 11) ? 0 : (n == 2 || n == 12) ? 1 : ((n > 2 && n < 11) || (n > 12 && n < 20)) ? 2 : 3);
|
||||
|
||||
/* Three forms: special cases for 1, 0 and numbers ending in 01 to 19.
|
||||
* Used in:
|
||||
* Romanian */
|
||||
case 14:
|
||||
return n == 1 ? 0 : (n == 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue