Commit c1e52b1d2e772b27e6b329f40bd03c4877195ce6

Authored by Victor Costa
1 parent 452475b0

Add locale files for messageformat

Showing 69 changed files with 275 additions and 0 deletions   Show diff stats
dist/locale/messageformat/locale/af.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.af=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/am.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.am=function(n){return n===0||n==1?"one":"other"}
... ...
dist/locale/messageformat/locale/ar.js 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +MessageFormat.locale.ar = function(n) {
  2 + if (n === 0) {
  3 + return 'zero';
  4 + }
  5 + if (n == 1) {
  6 + return 'one';
  7 + }
  8 + if (n == 2) {
  9 + return 'two';
  10 + }
  11 + if ((n % 100) >= 3 && (n % 100) <= 10 && n == Math.floor(n)) {
  12 + return 'few';
  13 + }
  14 + if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) {
  15 + return 'many';
  16 + }
  17 + return 'other';
  18 +};
... ...
dist/locale/messageformat/locale/bg.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.bg=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/bn.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.bn=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/br.js 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +MessageFormat.locale.br = function (n) {
  2 + if (n === 0) {
  3 + return 'zero';
  4 + }
  5 + if (n == 1) {
  6 + return 'one';
  7 + }
  8 + if (n == 2) {
  9 + return 'two';
  10 + }
  11 + if (n == 3) {
  12 + return 'few';
  13 + }
  14 + if (n == 6) {
  15 + return 'many';
  16 + }
  17 + return 'other';
  18 +};
... ...
dist/locale/messageformat/locale/ca.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ca=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/cs.js 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +MessageFormat.locale.cs = function (n) {
  2 + if (n == 1) {
  3 + return 'one';
  4 + }
  5 + if (n == 2 || n == 3 || n == 4) {
  6 + return 'few';
  7 + }
  8 + return 'other';
  9 +};
... ...
dist/locale/messageformat/locale/cy.js 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +MessageFormat.locale.cy = function (n) {
  2 + if (n === 0) {
  3 + return 'zero';
  4 + }
  5 + if (n == 1) {
  6 + return 'one';
  7 + }
  8 + if (n == 2) {
  9 + return 'two';
  10 + }
  11 + if (n == 3) {
  12 + return 'few';
  13 + }
  14 + if (n == 6) {
  15 + return 'many';
  16 + }
  17 + return 'other';
  18 +};
... ...
dist/locale/messageformat/locale/da.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.da=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/de.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.de=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/el.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.el=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/en.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.en=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/es.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.es=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/et.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.et=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/eu.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.eu=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/fa.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.fa=function(n){return "other"}
... ...
dist/locale/messageformat/locale/fi.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.fi=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/fil.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.fil=function(n){return n===0||n==1?"one":"other"}
... ...
dist/locale/messageformat/locale/fr.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.fr=function(n){return n===0||n==1?"one":"other"}
... ...
dist/locale/messageformat/locale/ga.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ga=function(n){return n==1?"one":(n==2?"two":"other")}
... ...
dist/locale/messageformat/locale/gl.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.gl=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/gsw.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.gsw=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/gu.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.gu=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/he.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.he=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/hi.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.hi=function(n){return n===0||n==1?"one":"other"}
... ...
dist/locale/messageformat/locale/hr.js 0 → 100644
... ... @@ -0,0 +1,14 @@
  1 +MessageFormat.locale.hr = function (n) {
  2 + if ((n % 10) == 1 && (n % 100) != 11) {
  3 + return 'one';
  4 + }
  5 + if ((n % 10) >= 2 && (n % 10) <= 4 &&
  6 + ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + if ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9) ||
  10 + ((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) {
  11 + return 'many';
  12 + }
  13 + return 'other';
  14 +};
... ...
dist/locale/messageformat/locale/hu.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.hu=function(n){return "other"}
... ...
dist/locale/messageformat/locale/id.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.id=function(n){return "other"}
... ...
dist/locale/messageformat/locale/in.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale["in"]=function(n){return "other"}
... ...
dist/locale/messageformat/locale/is.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.is=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/it.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.it=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/iw.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.iw=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/ja.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ja=function(n){return "other"}
... ...
dist/locale/messageformat/locale/kn.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.kn=function(n){return "other"}
... ...
dist/locale/messageformat/locale/ko.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ko=function(n){return "other"}
... ...
dist/locale/messageformat/locale/lag.js 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +MessageFormat.locale.lag = function (n) {
  2 + if (n === 0) {
  3 + return 'zero';
  4 + }
  5 + if (n > 0 && n < 2) {
  6 + return 'one';
  7 + }
  8 + return 'other';
  9 +};
... ...
dist/locale/messageformat/locale/ln.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ln=function(n){return n===0||n==1?"one":"other"}
... ...
dist/locale/messageformat/locale/lt.js 0 → 100644
... ... @@ -0,0 +1,10 @@
  1 +MessageFormat.locale.lt = function (n) {
  2 + if ((n % 10) == 1 && ((n % 100) < 11 || (n % 100) > 19)) {
  3 + return 'one';
  4 + }
  5 + if ((n % 10) >= 2 && (n % 10) <= 9 &&
  6 + ((n % 100) < 11 || (n % 100) > 19) && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + return 'other';
  10 +};
... ...
dist/locale/messageformat/locale/lv.js 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +MessageFormat.locale.lv = function (n) {
  2 + if (n === 0) {
  3 + return 'zero';
  4 + }
  5 + if ((n % 10) == 1 && (n % 100) != 11) {
  6 + return 'one';
  7 + }
  8 + return 'other';
  9 +};
... ...
dist/locale/messageformat/locale/mk.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.mk=function(n){return (n%10)==1&&n!=11?"one":"other"}
... ...
dist/locale/messageformat/locale/ml.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ml=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/mo.js 0 → 100644
... ... @@ -0,0 +1,10 @@
  1 +MessageFormat.locale.mo = function (n) {
  2 + if (n == 1) {
  3 + return 'one';
  4 + }
  5 + if (n === 0 || n != 1 && (n % 100) >= 1 &&
  6 + (n % 100) <= 19 && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + return 'other';
  10 +};
... ...
dist/locale/messageformat/locale/mr.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.mr=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/ms.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ms=function(n){return "other"}
... ...
dist/locale/messageformat/locale/mt.js 0 → 100644
... ... @@ -0,0 +1,12 @@
  1 +MessageFormat.locale.mt = function (n) {
  2 + if (n == 1) {
  3 + return 'one';
  4 + }
  5 + if (n === 0 || ((n % 100) >= 2 && (n % 100) <= 4 && n == Math.floor(n))) {
  6 + return 'few';
  7 + }
  8 + if ((n % 100) >= 11 && (n % 100) <= 19 && n == Math.floor(n)) {
  9 + return 'many';
  10 + }
  11 + return 'other';
  12 +};
... ...
dist/locale/messageformat/locale/nl.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.nl=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/no.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.no=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/or.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.or=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/pl.js 0 → 100644
... ... @@ -0,0 +1,15 @@
  1 +MessageFormat.locale.pl = function (n) {
  2 + if (n == 1) {
  3 + return 'one';
  4 + }
  5 + if ((n % 10) >= 2 && (n % 10) <= 4 &&
  6 + ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + if ((n % 10) === 0 || n != 1 && (n % 10) == 1 ||
  10 + ((n % 10) >= 5 && (n % 10) <= 9 || (n % 100) >= 12 && (n % 100) <= 14) &&
  11 + n == Math.floor(n)) {
  12 + return 'many';
  13 + }
  14 + return 'other';
  15 +};
... ...
dist/locale/messageformat/locale/pt.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.pt=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/ro.js 0 → 100644
... ... @@ -0,0 +1,10 @@
  1 +MessageFormat.locale.ro = function (n) {
  2 + if (n == 1) {
  3 + return 'one';
  4 + }
  5 + if (n === 0 || n != 1 && (n % 100) >= 1 &&
  6 + (n % 100) <= 19 && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + return 'other';
  10 +};
... ...
dist/locale/messageformat/locale/ru.js 0 → 100644
... ... @@ -0,0 +1,14 @@
  1 +MessageFormat.locale.ru = function (n) {
  2 + if ((n % 10) == 1 && (n % 100) != 11) {
  3 + return 'one';
  4 + }
  5 + if ((n % 10) >= 2 && (n % 10) <= 4 &&
  6 + ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + if ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9) ||
  10 + ((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) {
  11 + return 'many';
  12 + }
  13 + return 'other';
  14 +};
... ...
dist/locale/messageformat/locale/shi.js 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +MessageFormat.locale.shi = function(n) {
  2 + if (n >= 0 && n <= 1) {
  3 + return 'one';
  4 + }
  5 + if (n >= 2 && n <= 10 && n == Math.floor(n)) {
  6 + return 'few';
  7 + }
  8 + return 'other';
  9 +};
... ...
dist/locale/messageformat/locale/sk.js 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +MessageFormat.locale.sk = function (n) {
  2 + if (n == 1) {
  3 + return 'one';
  4 + }
  5 + if (n == 2 || n == 3 || n == 4) {
  6 + return 'few';
  7 + }
  8 + return 'other';
  9 +};
... ...
dist/locale/messageformat/locale/sl.js 0 → 100644
... ... @@ -0,0 +1,12 @@
  1 +MessageFormat.locale.sl = function (n) {
  2 + if ((n % 100) == 1) {
  3 + return 'one';
  4 + }
  5 + if ((n % 100) == 2) {
  6 + return 'two';
  7 + }
  8 + if ((n % 100) == 3 || (n % 100) == 4) {
  9 + return 'few';
  10 + }
  11 + return 'other';
  12 +};
... ...
dist/locale/messageformat/locale/sq.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.sq=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/sr.js 0 → 100644
... ... @@ -0,0 +1,14 @@
  1 +MessageFormat.locale.sr = function (n) {
  2 + if ((n % 10) == 1 && (n % 100) != 11) {
  3 + return 'one';
  4 + }
  5 + if ((n % 10) >= 2 && (n % 10) <= 4 &&
  6 + ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + if ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9) ||
  10 + ((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) {
  11 + return 'many';
  12 + }
  13 + return 'other';
  14 +};
... ...
dist/locale/messageformat/locale/sv.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.sv=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/sw.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.sw=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/ta.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ta=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/te.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.te=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/th.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.th=function(n){return "other"}
... ...
dist/locale/messageformat/locale/tl.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.tl=function(n){return n===0||n==1?"one":"other"}
... ...
dist/locale/messageformat/locale/tr.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.tr=function(n){return "other"}
... ...
dist/locale/messageformat/locale/uk.js 0 → 100644
... ... @@ -0,0 +1,14 @@
  1 +MessageFormat.locale.uk = function (n) {
  2 + if ((n % 10) == 1 && (n % 100) != 11) {
  3 + return 'one';
  4 + }
  5 + if ((n % 10) >= 2 && (n % 10) <= 4 &&
  6 + ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
  7 + return 'few';
  8 + }
  9 + if ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9) ||
  10 + ((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) {
  11 + return 'many';
  12 + }
  13 + return 'other';
  14 +};
... ...
dist/locale/messageformat/locale/ur.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.ur=function(n){return n===1?"one":"other"}
... ...
dist/locale/messageformat/locale/vi.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.vi=function(n){return "other"}
... ...
dist/locale/messageformat/locale/zh.js 0 → 100644
... ... @@ -0,0 +1 @@
  1 +MessageFormat.locale.zh=function(n){return "other"}
... ...