changeset 14856:db6503b6655f draft

(svn r19452) -Change: plural type of Slovak (keso)
author rubidium <rubidium@openttd.org>
date Thu, 18 Mar 2010 16:34:50 +0000
parents 9531f01ded19
children 8cd72995a15f
files src/lang/slovak.txt src/strings.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lang/slovak.txt
+++ b/src/lang/slovak.txt
@@ -1,7 +1,7 @@
 ##name Slovak
 ##ownname Slovensky
 ##isocode sk_SK
-##plural 6
+##plural 10
 ##textdir ltr
 ##digitsep .
 ##digitsepcur .
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -410,7 +410,7 @@
 
 		/* 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 @@
 
 		/* 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;