GUAC-1230: Add all messageformat.js locales.

This commit is contained in:
Michael Jumper committed 2015-07-14 13:20:44 -07:00
1 parent 7efbaf10c3
commit 8e1d8b8af9
70 files changed
+466

No files matched your search

@@ -0,0 +1,18 @@
MessageFormat.locale.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 && n == Math.floor(n)) {
return 'few';
}
if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) {
return 'many';
}
return 'other';
};