mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 21:16:08 +08:00
11 lines
279 B
Plaintext
11 lines
279 B
Plaintext
//= depend_on 'client.cs.yml'
|
|
//= require locales/i18n
|
|
<%= JsLocaleHelper.output_locale(:cs) %>
|
|
|
|
I18n.pluralizationRules['cs'] = function (n) {
|
|
if (n == 0) return ["zero", "none", "other"];
|
|
if (n == 1) return "one";
|
|
if (n >= 2 && n <= 4) return "few";
|
|
return "other";
|
|
};
|