Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

i18n: Taking numberformatsymbolsext into account #4858

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions i18n/src/closureSlurper.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ function readSymbols() {
.then(function(content) {
var currencySymbols = closureI18nExtractor.extractCurrencySymbols(content);
return qfs.read(__dirname + '/../closure/numberSymbols.js', 'b').then(function(content) {
closureI18nExtractor.extractNumberSymbols(content, localeInfo, currencySymbols);
return qfs.read(__dirname + '/../closure/numberSymbolsExt.js', 'b').then(function(content) {
closureI18nExtractor.extractNumberSymbols(content, localeInfo, currencySymbols);
});
});
});

console.log("Processing datetime symbols ...");
var datetimeStagePromise = qfs.read(__dirname + '/../closure/datetimeSymbols.js', 'b')
Expand Down
1 change: 1 addition & 0 deletions i18n/update-closure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/currency.
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/datetimesymbols.js > closure/datetimeSymbols.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/datetimesymbolsext.js > closure/datetimeSymbolsExt.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/numberformatsymbols.js > closure/numberSymbols.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/numberformatsymbolsext.js > closure/numberSymbolsExt.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/pluralrules.js > closure/pluralRules.js
8 changes: 4 additions & 4 deletions src/ngLocale/angular-locale_af-na.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "HH:mm"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "R",
"CURRENCY_SYM": "$",
"DECIMAL_SEP": ",",
"GROUP_SEP": "\u00a0",
"PATTERNS": [
Expand All @@ -86,9 +86,9 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "(\u00a4",
"negSuf": ")",
"posPre": "\u00a4",
"negPre": "\u00a4\u00a0-",
"negSuf": "",
"posPre": "\u00a4\u00a0",
"posSuf": ""
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-ae.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "dh",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-bh.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
6 changes: 3 additions & 3 deletions src/ngLocale/angular-locale_ar-dz.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": ",",
"GROUP_SEP": ".",
"PATTERNS": [
{
"gSize": 0,
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-iq.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-jo.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-kw.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-lb.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "L\u00a3",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-ly.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
6 changes: 3 additions & 3 deletions src/ngLocale/angular-locale_ar-ma.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"CURRENCY_SYM": "dh",
"DECIMAL_SEP": ",",
"GROUP_SEP": ".",
"PATTERNS": [
{
"gSize": 0,
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-om.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "Rial",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
8 changes: 4 additions & 4 deletions src/ngLocale/angular-locale_ar-qa.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "Rial",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand All @@ -86,9 +86,9 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "\u00a4\u00a0",
"negSuf": "-",
"posPre": "\u00a4\u00a0",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
]
Expand Down
8 changes: 4 additions & 4 deletions src/ngLocale/angular-locale_ar-sa.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "Rial",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand All @@ -86,9 +86,9 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "\u00a4\u00a0",
"negSuf": "-",
"posPre": "\u00a4\u00a0",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_ar-sd.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "SDG",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand Down
6 changes: 3 additions & 3 deletions src/ngLocale/angular-locale_ar-sy.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "\u00a4\u00a0",
"negSuf": "-",
"posPre": "\u00a4\u00a0",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
]
Expand Down
12 changes: 6 additions & 6 deletions src/ngLocale/angular-locale_ar-tn.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"CURRENCY_SYM": "din",
"DECIMAL_SEP": ",",
"GROUP_SEP": ".",
"PATTERNS": [
{
"gSize": 0,
Expand All @@ -86,9 +86,9 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "\u00a4\u00a0",
"negSuf": "-",
"posPre": "\u00a4\u00a0",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
]
Expand Down
8 changes: 4 additions & 4 deletions src/ngLocale/angular-locale_ar-ye.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u00a3",
"CURRENCY_SYM": "Rial",
"DECIMAL_SEP": "\u066b",
"GROUP_SEP": "\u066c",
"PATTERNS": [
Expand All @@ -86,9 +86,9 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "\u00a4\u00a0",
"negSuf": "-",
"posPre": "\u00a4\u00a0",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_bn-in.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u09f3",
"CURRENCY_SYM": "\u20b9",
"DECIMAL_SEP": ".",
"GROUP_SEP": ",",
"PATTERNS": [
Expand Down
14 changes: 7 additions & 7 deletions src/ngLocale/angular-locale_de-li.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ $provide.value("$locale", {
"shortTime": "HH:mm"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u20ac",
"DECIMAL_SEP": ",",
"GROUP_SEP": ".",
"CURRENCY_SYM": "CHF",
"DECIMAL_SEP": ".",
"GROUP_SEP": "'",
"PATTERNS": [
{
"gSize": 3,
Expand All @@ -86,10 +86,10 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "-",
"negSuf": "\u00a0\u00a4",
"posPre": "",
"posSuf": "\u00a0\u00a4"
"negPre": "\u00a4\u00a0-",
"negSuf": "",
"posPre": "\u00a4\u00a0",
"posSuf": ""
}
]
},
Expand Down
8 changes: 4 additions & 4 deletions src/ngLocale/angular-locale_el-cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "-",
"negSuf": "\u00a0\u00a4",
"posPre": "",
"posSuf": "\u00a0\u00a4"
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
]
},
Expand Down
14 changes: 7 additions & 7 deletions src/ngLocale/angular-locale_en-be.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ $provide.value("$locale", {
"shortTime": "HH:mm"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "$",
"DECIMAL_SEP": ".",
"GROUP_SEP": ",",
"CURRENCY_SYM": "\u20ac",
"DECIMAL_SEP": ",",
"GROUP_SEP": ".",
"PATTERNS": [
{
"gSize": 3,
Expand All @@ -86,10 +86,10 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "(\u00a4",
"negSuf": ")",
"posPre": "\u00a4",
"posSuf": ""
"negPre": "-",
"negSuf": "\u00a0\u00a4",
"posPre": "",
"posSuf": "\u00a0\u00a4"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletions src/ngLocale/angular-locale_en-bw.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "$",
"CURRENCY_SYM": "P",
"DECIMAL_SEP": ".",
"GROUP_SEP": ",",
"PATTERNS": [
Expand All @@ -86,8 +86,8 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "(\u00a4",
"negSuf": ")",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
Expand Down
4 changes: 2 additions & 2 deletions src/ngLocale/angular-locale_en-bz.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "(\u00a4",
"negSuf": ")",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_en-dsrt.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "$",
"CURRENCY_SYM": "\u20ac",
"DECIMAL_SEP": ".",
"GROUP_SEP": ",",
"PATTERNS": [
Expand Down
4 changes: 2 additions & 2 deletions src/ngLocale/angular-locale_en-jm.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ $provide.value("$locale", {
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "(\u00a4",
"negSuf": ")",
"negPre": "\u00a4-",
"negSuf": "",
"posPre": "\u00a4",
"posSuf": ""
}
Expand Down
2 changes: 1 addition & 1 deletion src/ngLocale/angular-locale_en-mt.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $provide.value("$locale", {
"shortTime": "h:mm a"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "$",
"CURRENCY_SYM": "\u20ac",
"DECIMAL_SEP": ".",
"GROUP_SEP": ",",
"PATTERNS": [
Expand Down
Loading