mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:15:46 +08:00
10 lines
255 B
Plaintext
10 lines
255 B
Plaintext
//= 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";
|
|
};
|