summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-03-18 16:34:50 +0000
committerrubidium <rubidium@openttd.org>2010-03-18 16:34:50 +0000
commiteb8d35a16ec593c16ca720f0d1b2e623986ecea5 (patch)
tree170690048133a00f3404f3a6ecab8fc9f85b4d99
parente037512a6fc64c106531c1379a9c07f7040312f9 (diff)
downloadopenttd-eb8d35a16ec593c16ca720f0d1b2e623986ecea5.tar.xz
(svn r19452) -Change: plural type of Slovak (keso)
-rw-r--r--src/lang/slovak.txt2
-rw-r--r--src/strings.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lang/slovak.txt b/src/lang/slovak.txt
index e00b36a12..9825356e5 100644
--- 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 .
diff --git a/src/strings.cpp b/src/strings.cpp
index 11c8c587f..77f47843b 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -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;