diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lang/slovak.txt | 2 | ||||
-rw-r--r-- | src/strings.cpp | 4 |
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; |