GUAC-1230: Add all messageformat.js locales.

This commit is contained in:
Michael Jumper
2015-07-14 13:20:44 -07:00
parent 7efbaf10c3
commit 8e1d8b8af9
70 changed files with 466 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
MessageFormat.locale.mt = function (n) {
if (n == 1) {
return 'one';
}
if (n === 0 || ((n % 100) >= 2 && (n % 100) <= 4 && n == Math.floor(n))) {
return 'few';
}
if ((n % 100) >= 11 && (n % 100) <= 19 && n == Math.floor(n)) {
return 'many';
}
return 'other';
};