From eb8d35a16ec593c16ca720f0d1b2e623986ecea5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 18 Mar 2010 16:34:50 +0000 Subject: [PATCH] (svn r19452) -Change: plural type of Slovak (keso) --- src/lang/slovak.txt | 2 +- src/strings.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lang/slovak.txt b/src/lang/slovak.txt index e00b36a12b..9825356e57 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 11c8c587fe..77f47843b8 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;