FEATURE: Add Croatian language (#17130)

Co-authored-by: Gerhard Schlager <gerhard.schlager@discourse.org>
This commit is contained in:
Discourse Translator Bot
2022-06-17 18:18:22 -04:00
committed by GitHub
parent 1022d8872c
commit 7ac485fb9f
20 changed files with 7170 additions and 4 deletions

View File

@ -6,9 +6,5 @@ MessageFormat.locale.hr = function (n) {
((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
return 'few';
}
if ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9) ||
((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) {
return 'many';
}
return 'other';
};