Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Commit

Permalink
use Intl.PluralRules instead of packaging CLDR (#185)
Browse files Browse the repository at this point in the history
* use Intl.PluralRules instead of packaging CLDR

* add intl-pluralrules to devDeps since Intl.js has not released a new version with PluralRules yet

* rm CHANGELOG.md
  • Loading branch information
longlho authored May 16, 2019
1 parent 0ab8352 commit 8ac0408
Show file tree
Hide file tree
Showing 250 changed files with 571 additions and 630 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function (grunt) {

extract_cldr_data: {
options: {
pluralRules: true
pluralRules: false
},

src_en: {
Expand Down
551 changes: 262 additions & 289 deletions dist/intl-messageformat-with-locales.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/intl-messageformat-with-locales.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions dist/intl-messageformat-with-locales.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/intl-messageformat-with-locales.min.js.map

Large diffs are not rendered by default.

49 changes: 11 additions & 38 deletions dist/intl-messageformat.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/intl-messageformat.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/intl-messageformat.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/intl-messageformat.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/locale-data/af.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"af","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"af"});
IntlMessageFormat.__addLocaleData({"locale":"af-NA","parentLocale":"af"});
2 changes: 1 addition & 1 deletion dist/locale-data/agq.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"agq","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"agq"});
2 changes: 1 addition & 1 deletion dist/locale-data/ak.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"ak","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==0||n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ak"});
2 changes: 1 addition & 1 deletion dist/locale-data/am.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"am","pluralRuleFunction":function(n,ord){if(ord)return"other";return n>=0&&n<=1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"am"});
2 changes: 1 addition & 1 deletion dist/locale-data/ar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IntlMessageFormat.__addLocaleData({"locale":"ar","pluralRuleFunction":function(n,ord){var s=String(n).split("."),t0=Number(s[0])==n,n100=t0&&s[0].slice(-2);if(ord)return"other";return n==0?"zero":n==1?"one":n==2?"two":n100>=3&&n100<=10?"few":n100>=11&&n100<=99?"many":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ar"});
IntlMessageFormat.__addLocaleData({"locale":"ar-AE","parentLocale":"ar"});
IntlMessageFormat.__addLocaleData({"locale":"ar-BH","parentLocale":"ar"});
IntlMessageFormat.__addLocaleData({"locale":"ar-DJ","parentLocale":"ar"});
Expand Down
2 changes: 1 addition & 1 deletion dist/locale-data/as.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"as","pluralRuleFunction":function(n,ord){if(ord)return n==1||n==5||n==7||n==8||n==9||n==10?"one":n==2||n==3?"two":n==4?"few":n==6?"many":"other";return n>=0&&n<=1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"as"});
2 changes: 1 addition & 1 deletion dist/locale-data/asa.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"asa","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"asa"});
2 changes: 1 addition & 1 deletion dist/locale-data/ast.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"ast","pluralRuleFunction":function(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return"other";return n==1&&v0?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ast"});
6 changes: 3 additions & 3 deletions dist/locale-data/az.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IntlMessageFormat.__addLocaleData({"locale":"az","pluralRuleFunction":function(n,ord){var s=String(n).split("."),i=s[0],i10=i.slice(-1),i100=i.slice(-2),i1000=i.slice(-3);if(ord)return i10==1||i10==2||i10==5||i10==7||i10==8||(i100==20||i100==50||i100==70||i100==80)?"one":i10==3||i10==4||(i1000==100||i1000==200||i1000==300||i1000==400||i1000==500||i1000==600||i1000==700||i1000==800||i1000==900)?"few":i==0||i10==6||(i100==40||i100==60||i100==90)?"many":"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"az-Arab","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"az-Cyrl","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"az"});
IntlMessageFormat.__addLocaleData({"locale":"az-Arab"});
IntlMessageFormat.__addLocaleData({"locale":"az-Cyrl"});
IntlMessageFormat.__addLocaleData({"locale":"az-Latn","parentLocale":"az"});
2 changes: 1 addition & 1 deletion dist/locale-data/bas.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"bas","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bas"});
2 changes: 1 addition & 1 deletion dist/locale-data/be.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"be","pluralRuleFunction":function(n,ord){var s=String(n).split("."),t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return(n10==2||n10==3)&&n100!=12&&n100!=13?"few":"other";return n10==1&&n100!=11?"one":n10>=2&&n10<=4&&(n100<12||n100>14)?"few":t0&&n10==0||n10>=5&&n10<=9||n100>=11&&n100<=14?"many":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"be"});
2 changes: 1 addition & 1 deletion dist/locale-data/bem.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"bem","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bem"});
2 changes: 1 addition & 1 deletion dist/locale-data/bez.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"bez","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bez"});
2 changes: 1 addition & 1 deletion dist/locale-data/bg.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"bg","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bg"});
2 changes: 1 addition & 1 deletion dist/locale-data/bh.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"bh","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==0||n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bh"});
4 changes: 2 additions & 2 deletions dist/locale-data/bm.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"bm","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bm-Nkoo","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bm"});
IntlMessageFormat.__addLocaleData({"locale":"bm-Nkoo"});
2 changes: 1 addition & 1 deletion dist/locale-data/bn.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"bn","pluralRuleFunction":function(n,ord){if(ord)return n==1||n==5||n==7||n==8||n==9||n==10?"one":n==2||n==3?"two":n==4?"few":n==6?"many":"other";return n>=0&&n<=1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bn"});
IntlMessageFormat.__addLocaleData({"locale":"bn-IN","parentLocale":"bn"});
2 changes: 1 addition & 1 deletion dist/locale-data/bo.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"bo","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bo"});
IntlMessageFormat.__addLocaleData({"locale":"bo-IN","parentLocale":"bo"});
2 changes: 1 addition & 1 deletion dist/locale-data/br.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"br","pluralRuleFunction":function(n,ord){var s=String(n).split("."),t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2),n1000000=t0&&s[0].slice(-6);if(ord)return"other";return n10==1&&n100!=11&&n100!=71&&n100!=91?"one":n10==2&&n100!=12&&n100!=72&&n100!=92?"two":(n10==3||n10==4||n10==9)&&(n100<10||n100>19)&&(n100<70||n100>79)&&(n100<90||n100>99)?"few":n!=0&&t0&&n1000000==0?"many":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"br"});
2 changes: 1 addition & 1 deletion dist/locale-data/brx.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"brx","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"brx"});
4 changes: 2 additions & 2 deletions dist/locale-data/bs.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IntlMessageFormat.__addLocaleData({"locale":"bs","pluralRuleFunction":function(n,ord){var s=String(n).split("."),i=s[0],f=s[1]||"",v0=!s[1],i10=i.slice(-1),i100=i.slice(-2),f10=f.slice(-1),f100=f.slice(-2);if(ord)return"other";return v0&&i10==1&&i100!=11||f10==1&&f100!=11?"one":v0&&(i10>=2&&i10<=4)&&(i100<12||i100>14)||f10>=2&&f10<=4&&(f100<12||f100>14)?"few":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bs-Cyrl","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"bs"});
IntlMessageFormat.__addLocaleData({"locale":"bs-Cyrl"});
IntlMessageFormat.__addLocaleData({"locale":"bs-Latn","parentLocale":"bs"});
2 changes: 1 addition & 1 deletion dist/locale-data/ca.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IntlMessageFormat.__addLocaleData({"locale":"ca","pluralRuleFunction":function(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return n==1||n==3?"one":n==2?"two":n==4?"few":"other";return n==1&&v0?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ca"});
IntlMessageFormat.__addLocaleData({"locale":"ca-AD","parentLocale":"ca"});
IntlMessageFormat.__addLocaleData({"locale":"ca-ES-VALENCIA","parentLocale":"ca-ES"});
IntlMessageFormat.__addLocaleData({"locale":"ca-ES","parentLocale":"ca"});
Expand Down
2 changes: 1 addition & 1 deletion dist/locale-data/ce.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"ce","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ce"});
2 changes: 1 addition & 1 deletion dist/locale-data/cgg.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"cgg","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"cgg"});
2 changes: 1 addition & 1 deletion dist/locale-data/chr.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"chr","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"chr"});
2 changes: 1 addition & 1 deletion dist/locale-data/ckb.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"ckb","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ckb"});
IntlMessageFormat.__addLocaleData({"locale":"ckb-IR","parentLocale":"ckb"});
2 changes: 1 addition & 1 deletion dist/locale-data/cs.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"cs","pluralRuleFunction":function(n,ord){var s=String(n).split("."),i=s[0],v0=!s[1];if(ord)return"other";return n==1&&v0?"one":i>=2&&i<=4&&v0?"few":!v0?"many":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"cs"});
2 changes: 1 addition & 1 deletion dist/locale-data/cu.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"cu","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"cu"});
2 changes: 1 addition & 1 deletion dist/locale-data/cy.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"cy","pluralRuleFunction":function(n,ord){if(ord)return n==0||n==7||n==8||n==9?"zero":n==1?"one":n==2?"two":n==3||n==4?"few":n==5||n==6?"many":"other";return n==0?"zero":n==1?"one":n==2?"two":n==3?"few":n==6?"many":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"cy"});
2 changes: 1 addition & 1 deletion dist/locale-data/da.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"da","pluralRuleFunction":function(n,ord){var s=String(n).split("."),i=s[0],t0=Number(s[0])==n;if(ord)return"other";return n==1||!t0&&(i==0||i==1)?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"da"});
IntlMessageFormat.__addLocaleData({"locale":"da-GL","parentLocale":"da"});
2 changes: 1 addition & 1 deletion dist/locale-data/dav.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dav","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dav"});
2 changes: 1 addition & 1 deletion dist/locale-data/de.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IntlMessageFormat.__addLocaleData({"locale":"de","pluralRuleFunction":function(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return"other";return n==1&&v0?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"de"});
IntlMessageFormat.__addLocaleData({"locale":"de-AT","parentLocale":"de"});
IntlMessageFormat.__addLocaleData({"locale":"de-BE","parentLocale":"de"});
IntlMessageFormat.__addLocaleData({"locale":"de-CH","parentLocale":"de"});
Expand Down
2 changes: 1 addition & 1 deletion dist/locale-data/dje.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dje","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dje"});
2 changes: 1 addition & 1 deletion dist/locale-data/dsb.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dsb","pluralRuleFunction":function(n,ord){var s=String(n).split("."),i=s[0],f=s[1]||"",v0=!s[1],i100=i.slice(-2),f100=f.slice(-2);if(ord)return"other";return v0&&i100==1||f100==1?"one":v0&&i100==2||f100==2?"two":v0&&(i100==3||i100==4)||(f100==3||f100==4)?"few":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dsb"});
2 changes: 1 addition & 1 deletion dist/locale-data/dua.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dua","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dua"});
2 changes: 1 addition & 1 deletion dist/locale-data/dv.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dv","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dv"});
2 changes: 1 addition & 1 deletion dist/locale-data/dyo.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dyo","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dyo"});
2 changes: 1 addition & 1 deletion dist/locale-data/dz.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"dz","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"dz"});
2 changes: 1 addition & 1 deletion dist/locale-data/ebu.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"ebu","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ebu"});
2 changes: 1 addition & 1 deletion dist/locale-data/ee.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"ee","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ee"});
IntlMessageFormat.__addLocaleData({"locale":"ee-TG","parentLocale":"ee"});
2 changes: 1 addition & 1 deletion dist/locale-data/el.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"el","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"el"});
IntlMessageFormat.__addLocaleData({"locale":"el-CY","parentLocale":"el"});
6 changes: 3 additions & 3 deletions dist/locale-data/en.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IntlMessageFormat.__addLocaleData({"locale":"en","pluralRuleFunction":function(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return n10==1&&n100!=11?"one":n10==2&&n100!=12?"two":n10==3&&n100!=13?"few":"other";return n==1&&v0?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"en"});
IntlMessageFormat.__addLocaleData({"locale":"en-001","parentLocale":"en"});
IntlMessageFormat.__addLocaleData({"locale":"en-150","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-AG","parentLocale":"en-001"});
Expand All @@ -24,7 +24,7 @@ IntlMessageFormat.__addLocaleData({"locale":"en-DE","parentLocale":"en-150"});
IntlMessageFormat.__addLocaleData({"locale":"en-DG","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-DK","parentLocale":"en-150"});
IntlMessageFormat.__addLocaleData({"locale":"en-DM","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-Dsrt","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"en-Dsrt"});
IntlMessageFormat.__addLocaleData({"locale":"en-ER","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-FI","parentLocale":"en-150"});
IntlMessageFormat.__addLocaleData({"locale":"en-FJ","parentLocale":"en-001"});
Expand Down Expand Up @@ -87,7 +87,7 @@ IntlMessageFormat.__addLocaleData({"locale":"en-SL","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-SS","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-SX","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-SZ","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-Shaw","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"en-Shaw"});
IntlMessageFormat.__addLocaleData({"locale":"en-TC","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-TK","parentLocale":"en-001"});
IntlMessageFormat.__addLocaleData({"locale":"en-TO","parentLocale":"en-001"});
Expand Down
2 changes: 1 addition & 1 deletion dist/locale-data/eo.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"eo","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"eo"});
2 changes: 1 addition & 1 deletion dist/locale-data/es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IntlMessageFormat.__addLocaleData({"locale":"es","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"es"});
IntlMessageFormat.__addLocaleData({"locale":"es-419","parentLocale":"es"});
IntlMessageFormat.__addLocaleData({"locale":"es-AR","parentLocale":"es-419"});
IntlMessageFormat.__addLocaleData({"locale":"es-BO","parentLocale":"es-419"});
Expand Down
2 changes: 1 addition & 1 deletion dist/locale-data/et.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"et","pluralRuleFunction":function(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return"other";return n==1&&v0?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"et"});
2 changes: 1 addition & 1 deletion dist/locale-data/eu.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"eu","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"eu"});
2 changes: 1 addition & 1 deletion dist/locale-data/ewo.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
IntlMessageFormat.__addLocaleData({"locale":"ewo","pluralRuleFunction":function(n,ord){if(ord)return"other";return"other"}});
IntlMessageFormat.__addLocaleData({"locale":"ewo"});
2 changes: 1 addition & 1 deletion dist/locale-data/fa.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IntlMessageFormat.__addLocaleData({"locale":"fa","pluralRuleFunction":function(n,ord){if(ord)return"other";return n>=0&&n<=1?"one":"other"}});
IntlMessageFormat.__addLocaleData({"locale":"fa"});
IntlMessageFormat.__addLocaleData({"locale":"fa-AF","parentLocale":"fa"});
Loading

0 comments on commit 8ac0408

Please sign in to comment.