From e20e765afe7cf89aa05da45d2eb30bee1f8c1e36 Mon Sep 17 00:00:00 2001 From: Mohamad Abras Date: Sat, 17 Dec 2016 17:48:39 +0200 Subject: [PATCH] Fix Arabic Pluralization Rules for Client --- app/assets/javascripts/locales/ar.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/locales/ar.js.erb b/app/assets/javascripts/locales/ar.js.erb index b607af2c59e..9755d378a0a 100644 --- a/app/assets/javascripts/locales/ar.js.erb +++ b/app/assets/javascripts/locales/ar.js.erb @@ -7,6 +7,6 @@ I18n.pluralizationRules['ar'] = function (n) { if (n == 1) return "one"; if (n == 2) return "two"; if (n%100 >= 3 && n%100 <= 10) return "few"; - if (n%100 >= 11) return "many"; + if (n%100 >= 11 && n%100 <= 99) return "many"; return "other"; };