mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 06:37:53 +08:00
FEATURE: Add Croatian language (#17130)
Co-authored-by: Gerhard Schlager <gerhard.schlager@discourse.org>
This commit is contained in:

committed by
GitHub

parent
1022d8872c
commit
7ac485fb9f
@ -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';
|
||||
};
|
||||
|
Reference in New Issue
Block a user