Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Unified Diff: pkg/intl/lib/number_symbols_data.dart

Issue 13814018: Make use of the patterns in Intl number formatting (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressing review comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/intl/lib/number_symbols.dart ('k') | pkg/intl/test/number_closure_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/number_symbols_data.dart
diff --git a/pkg/intl/lib/number_symbols_data.dart b/pkg/intl/lib/number_symbols_data.dart
index 1c11791c265f7b6553540c979d87be54c5b95e3c..bb6ea5d0c8688933381f38ade151e8a50bd836ce 100644
--- a/pkg/intl/lib/number_symbols_data.dart
+++ b/pkg/intl/lib/number_symbols_data.dart
@@ -36,24 +36,24 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'ZAR'),
/**
* Number formatting symbols for locale am.
*/
"am" : const NumberSymbols(
NAME: "am",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '000\u12AA\u1263',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
@@ -72,7 +72,7 @@ Map numberFormatSymbols = const {
EXP_SYMBOL: '\u0627\u0633',
PERMILL: '\u0609',
INFINITY: '\u221E',
- NAN: '\u0644\u064A\u0633 \u0631\u0642\u0645',
+ NAN: '\u0644\u064A\u0633\u00A0\u0631\u0642\u0645',
DECIMAL_PATTERN: '#0.###;#0.###-',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
@@ -89,7 +89,7 @@ Map numberFormatSymbols = const {
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
+ EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
@@ -112,7 +112,7 @@ Map numberFormatSymbols = const {
EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u09B8\u0982\u0996\u09CD\u09AF\u09BE \u09A8\u09BE',
+ NAN: '\u09B8\u0982\u0996\u09CD\u09AF\u09BE\u00A0\u09A8\u09BE',
DECIMAL_PATTERN: '#,##,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##,##0%',
@@ -136,7 +136,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale cs.
@@ -254,7 +254,7 @@ Map numberFormatSymbols = const {
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
- SCIENTIFIC_PATTERN: '#E0',
+ SCIENTIFIC_PATTERN: '[#E0]',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
DEF_CURRENCY_CODE: 'EUR'),
@@ -453,7 +453,7 @@ Map numberFormatSymbols = const {
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00',
@@ -476,7 +476,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '#0.00\u00A4;(#0.00\u00A4)',
DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale eu.
@@ -495,8 +495,8 @@ Map numberFormatSymbols = const {
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ PERCENT_PATTERN: '%\u00A0#,##0',
+ CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4;(#,##0.00\u00A0\u00A4)',
DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale fa.
@@ -512,11 +512,11 @@ Map numberFormatSymbols = const {
EXP_SYMBOL: '\u00D7\u06F1\u06F0^',
PERMILL: '\u0609',
INFINITY: '\u221E',
- NAN: 'NaN',
+ NAN: '\u0646\u0627\u0639\u062F\u062F',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4;\u2212#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u200E\u00A4#,##0.00;\u200E(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'IRR'),
/**
* Number formatting symbols for locale fi.
@@ -553,10 +553,10 @@ Map numberFormatSymbols = const {
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0.0B',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4\u00A0#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'PHP'),
/**
* Number formatting symbols for locale fr.
@@ -576,7 +576,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0\u00A0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4;(#,##0.00\u00A0\u00A4)',
DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale fr_CA.
@@ -593,7 +593,7 @@ Map numberFormatSymbols = const {
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0.0B',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0\u00A0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4;(#,##0.00\u00A0\u00A4)',
@@ -616,7 +616,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale gsw.
@@ -643,20 +643,20 @@ Map numberFormatSymbols = const {
*/
"gu" : const NumberSymbols(
NAME: "gu",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0AAA\u0AC2\u0AB0\u0ACD\u0AB5',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u0AB8\u0A82\u0A96\u0ACD\u0AAF\u0ABE \u0AA8\u0AA5\u0AC0\u0A82',
- DECIMAL_PATTERN: '#,##,##0.###',
+ NAN: 'NaN',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##,##0%',
- CURRENCY_PATTERN: '\u00A4\u00A0#,##,##0.00',
+ PERCENT_PATTERN: '#,##0%',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'INR'),
/**
* Number formatting symbols for locale he.
@@ -705,15 +705,15 @@ Map numberFormatSymbols = const {
NAME: "hr",
DECIMAL_SEP: ',',
GROUP_SEP: '.',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
@@ -745,15 +745,15 @@ Map numberFormatSymbols = const {
NAME: "id",
DECIMAL_SEP: ',',
GROUP_SEP: '.',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00',
@@ -765,15 +765,15 @@ Map numberFormatSymbols = const {
NAME: "in",
DECIMAL_SEP: ',',
GROUP_SEP: '.',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00',
@@ -788,15 +788,15 @@ Map numberFormatSymbols = const {
PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
- MINUS_SIGN: '\u2212',
- EXP_SYMBOL: '\u00D710^',
+ MINUS_SIGN: '-',
+ EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: 'EiTa',
+ NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'ISK'),
/**
* Number formatting symbols for locale it.
@@ -809,7 +809,7 @@ Map numberFormatSymbols = const {
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
+ EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
@@ -845,14 +845,14 @@ Map numberFormatSymbols = const {
NAME: "ja",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: 'NaN\uFF08\u975E\u6570\uFF09',
+ NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
@@ -863,20 +863,20 @@ Map numberFormatSymbols = const {
*/
"kn" : const NumberSymbols(
NAME: "kn",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0CAA\u0CC2\u0CB0\u0CCD\u0CB5',
- PERMILL: '\u0609',
+ EXP_SYMBOL: '\u0C88',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6\u0CAF\u0CB2\u0CCD\u0CB2',
- DECIMAL_PATTERN: '#,##,##0.###',
+ NAN: 'NaN',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##,##0%',
- CURRENCY_PATTERN: '\u00A4\u00A0#,##,##0.00',
+ PERCENT_PATTERN: '#,##0%',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'INR'),
/**
* Number formatting symbols for locale ko.
@@ -896,7 +896,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'KRW'),
/**
* Number formatting symbols for locale ln.
@@ -905,12 +905,12 @@ Map numberFormatSymbols = const {
NAME: "ln",
DECIMAL_SEP: ',',
GROUP_SEP: '.',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
@@ -923,19 +923,19 @@ Map numberFormatSymbols = const {
*/
"lt" : const NumberSymbols(
NAME: "lt",
- DECIMAL_SEP: '.',
- GROUP_SEP: ',',
+ DECIMAL_SEP: ',',
+ GROUP_SEP: '\u00A0',
PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
- MINUS_SIGN: '\u2212',
- EXP_SYMBOL: '\u00D710^',
+ MINUS_SIGN: '\u2013',
+ EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u00A4\u00A4\u00A4',
+ NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##0\u00A0%',
+ PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
DEF_CURRENCY_CODE: 'LTL'),
/**
@@ -948,7 +948,7 @@ Map numberFormatSymbols = const {
PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
- MINUS_SIGN: '\u2212',
+ MINUS_SIGN: '-',
EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
@@ -956,7 +956,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'LVL'),
/**
* Number formatting symbols for locale ml.
@@ -983,37 +983,37 @@ Map numberFormatSymbols = const {
*/
"mr" : const NumberSymbols(
NAME: "mr",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u092A\u0942',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u0928\u093E\u0928',
- DECIMAL_PATTERN: '#,##,##0.###',
+ NAN: 'NaN',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##,##0%',
- CURRENCY_PATTERN: '\u00A4\u00A0#,##,##0.00',
+ PERCENT_PATTERN: '#,##0%',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'INR'),
/**
* Number formatting symbols for locale ms.
*/
"ms" : const NumberSymbols(
NAME: "ms",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0.0B',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
@@ -1025,19 +1025,19 @@ Map numberFormatSymbols = const {
NAME: "mt",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00',
- DEF_CURRENCY_CODE: 'MTL'),
+ DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale nl.
*/
@@ -1085,12 +1085,12 @@ Map numberFormatSymbols = const {
NAME: "or",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##,##0.###',
@@ -1116,7 +1116,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4;(#,##0.00\u00A0\u00A4)',
DEF_CURRENCY_CODE: 'PLN'),
/**
* Number formatting symbols for locale pt.
@@ -1173,7 +1173,7 @@ Map numberFormatSymbols = const {
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
@@ -1195,7 +1195,7 @@ Map numberFormatSymbols = const {
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##0%',
+ PERCENT_PATTERN: '#,##0\u00A0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
DEF_CURRENCY_CODE: 'RON'),
/**
@@ -1212,7 +1212,7 @@ Map numberFormatSymbols = const {
EXP_SYMBOL: 'E',
PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u043D\u0435 \u0447\u0438\u0441\u043B\u043E',
+ NAN: '\u043D\u0435\u00A0\u0447\u0438\u0441\u043B\u043E',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0\u00A0%',
@@ -1225,19 +1225,19 @@ Map numberFormatSymbols = const {
NAME: "sk",
DECIMAL_SEP: ',',
GROUP_SEP: '\u00A0',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0.0\u00A0tis\'.\'',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0\u00A0%',
CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
- DEF_CURRENCY_CODE: 'SKK'),
+ DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale sl.
*/
@@ -1256,7 +1256,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'EUR'),
/**
* Number formatting symbols for locale sq.
@@ -1264,13 +1264,13 @@ Map numberFormatSymbols = const {
"sq" : const NumberSymbols(
NAME: "sq",
DECIMAL_SEP: ',',
- GROUP_SEP: '.',
- PERCENT: '\u066A',
+ GROUP_SEP: '\u00A0',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
@@ -1323,20 +1323,20 @@ Map numberFormatSymbols = const {
*/
"sw" : const NumberSymbols(
NAME: "sw",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: 'M0.0',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'TZS'),
/**
* Number formatting symbols for locale ta.
@@ -1345,14 +1345,14 @@ Map numberFormatSymbols = const {
NAME: "ta",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u0B8E\u0BA3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8',
+ NAN: 'NaN',
DECIMAL_PATTERN: '#,##,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##,##0%',
@@ -1363,20 +1363,20 @@ Map numberFormatSymbols = const {
*/
"te" : const NumberSymbols(
NAME: "te",
- DECIMAL_SEP: '\u066B',
- GROUP_SEP: '\u066C',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0C24\u0C42',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '#,##,##0.###',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
- PERCENT_PATTERN: '#,##,##0%',
- CURRENCY_PATTERN: '\u00A4\u00A0#,##,##0.00',
+ PERCENT_PATTERN: '#,##0%',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'INR'),
/**
* Number formatting symbols for locale th.
@@ -1396,7 +1396,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4#,##0.00;\u00A4-#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'THB'),
/**
* Number formatting symbols for locale tl.
@@ -1413,10 +1413,10 @@ Map numberFormatSymbols = const {
PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
- DECIMAL_PATTERN: '0.0B',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4\u00A0#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'PHP'),
/**
* Number formatting symbols for locale tr.
@@ -1436,7 +1436,7 @@ Map numberFormatSymbols = const {
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '%#,##0',
- CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4',
+ CURRENCY_PATTERN: '#,##0.00\u00A0\u00A4;(#,##0.00\u00A0\u00A4)',
DEF_CURRENCY_CODE: 'TRY'),
/**
* Number formatting symbols for locale uk.
@@ -1452,7 +1452,7 @@ Map numberFormatSymbols = const {
EXP_SYMBOL: '\u0415',
PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: '\u041D\u0435 \u0447\u0438\u0441\u043B\u043E',
+ NAN: '\u041D\u0435\u00A0\u0447\u0438\u0441\u043B\u043E',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
@@ -1505,18 +1505,18 @@ Map numberFormatSymbols = const {
NAME: "zh",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'CNY'),
/**
* Number formatting symbols for locale zh_CN.
@@ -1525,18 +1525,18 @@ Map numberFormatSymbols = const {
NAME: "zh_CN",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: 'NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'CNY'),
/**
* Number formatting symbols for locale zh_HK.
@@ -1545,15 +1545,15 @@ Map numberFormatSymbols = const {
NAME: "zh_HK",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: '\u975E\u6578\u503C',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
@@ -1565,15 +1565,15 @@ Map numberFormatSymbols = const {
NAME: "zh_TW",
DECIMAL_SEP: '.',
GROUP_SEP: ',',
- PERCENT: '\u066A',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
NAN: '\u975E\u6578\u503C',
- DECIMAL_PATTERN: '0000',
+ DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
CURRENCY_PATTERN: '\u00A4#,##0.00',
@@ -1583,19 +1583,19 @@ Map numberFormatSymbols = const {
*/
"zu" : const NumberSymbols(
NAME: "zu",
- DECIMAL_SEP: ',',
- GROUP_SEP: '\u00A0',
- PERCENT: '\u066A',
+ DECIMAL_SEP: '.',
+ GROUP_SEP: ',',
+ PERCENT: '%',
ZERO_DIGIT: '0',
PLUS_SIGN: '+',
MINUS_SIGN: '-',
- EXP_SYMBOL: '\u0627\u0633',
- PERMILL: '\u0609',
+ EXP_SYMBOL: 'E',
+ PERMILL: '\u2030',
INFINITY: '\u221E',
- NAN: 'NaN',
+ NAN: 'I-NaN',
DECIMAL_PATTERN: '#,##0.###',
SCIENTIFIC_PATTERN: '#E0',
PERCENT_PATTERN: '#,##0%',
- CURRENCY_PATTERN: '\u00A4#,##0.00',
+ CURRENCY_PATTERN: '\u00A4#,##0.00;(\u00A4#,##0.00)',
DEF_CURRENCY_CODE: 'ZAR')
};
« no previous file with comments | « pkg/intl/lib/number_symbols.dart ('k') | pkg/intl/test/number_closure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698