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

Commit 8ac0408

Browse files
authored
use Intl.PluralRules instead of packaging CLDR (#185)
* 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
1 parent 0ab8352 commit 8ac0408

File tree

250 files changed

+571
-630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+571
-630
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function (grunt) {
3030

3131
extract_cldr_data: {
3232
options: {
33-
pluralRules: true
33+
pluralRules: false
3434
},
3535

3636
src_en: {

dist/intl-messageformat-with-locales.js

Lines changed: 262 additions & 289 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat-with-locales.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat-with-locales.min.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat-with-locales.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat.js

Lines changed: 11 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/intl-messageformat.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/locale-data/af.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
IntlMessageFormat.__addLocaleData({"locale":"af","pluralRuleFunction":function(n,ord){if(ord)return"other";return n==1?"one":"other"}});
1+
IntlMessageFormat.__addLocaleData({"locale":"af"});
22
IntlMessageFormat.__addLocaleData({"locale":"af-NA","parentLocale":"af"});

0 commit comments

Comments
 (0)