mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
10 lines
279 B
Text
10 lines
279 B
Text
//= 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";
|
|
};
|