discourse/app/assets/javascripts/locales/ar.js.erb

13 lines
346 B
Plaintext
Raw Normal View History

2014-12-07 15:05:24 -05:00
//= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>
I18n.pluralizationRules['ar'] = function (n) {
if (n == 0) return "zero";
if (n == 1) return "one";
if (n == 2) return "two";
if (n%100 >= 3 && n%100 <= 10) return "few";
if (n%100 >= 11 && n%100 <= 99) return "many";
return "other";
};