Updated ro.js.erb to match romanian plurals

This commit is contained in:
Ionut Staicu 2016-03-30 22:24:33 +03:00
parent 809ea42953
commit 07fb0c4106
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
//= depend_on 'client.ro.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ro) %>
I18n.pluralizationRules['ro'] = function (n) {
if (n == 1) return "one";
if (n >= 1 && n <= 19) return "few";
return "other";
};