mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 16:21:24 -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";
|
|
};
|