mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
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:
parent
768d170d12
commit
cbbe60e66e
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user