mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-26 00:58:47 -05:00
9 lines
255 B
Text
9 lines
255 B
Text
//= depend_on 'client.ro.yml'
|
|
//= require locales/i18n
|
|
<%= JsLocaleHelper.output_locale(:ro) %>
|
|
|
|
I18n.pluralizationRules['ro'] = function (n) {
|
|
if (n == 1) return "one";
|
|
if (n === 0 || n % 100 >= 1 && n % 100 <= 19) return "few";
|
|
return "other";
|
|
};
|