Add pluralization rule to fa_IR.js.erb

Persian does not distinguish between the singular and plural forms
of nouns in the same way as English does. For numbered elements,
always return the 'other' key from the translation file.
This commit is contained in:
Qasem Hajizadeh 2015-04-07 20:15:30 +04:30
parent 768d170d12
commit cbbe60e66e

View File

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