GUAC-1230: Add all messageformat.js locales.
This commit is contained in:
1 parent
7efbaf10c3
commit
8e1d8b8af9
70 files changed
+466
No files matched your search
@@ -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';
|
||||
};
|
||||
Reference in new issue
Block a user