Skip to content

Commit

Permalink
Fixes: NB#289425 - Calculator: Thousands separator is missing when th…
Browse files Browse the repository at this point in the history
…e region sets to Yemen or Qatar.

RevBy: Holger Schröder, Berthold Krevert

Details:

Amin Haj-Salem and Arslan Ghanem both agree that the number formats
are the same in all Arabic speaking countries, i.e. it appears to be
incorrect that ar_QA, ar_SA, ar_SY, ar_TN, and ar_YE have no thousands
separators upstream in CLDR.

Therefore, this patch makes the number formats these 5 countries
the same as for the other Arabic speaking countries.
  • Loading branch information
Mike FABIAN committed Dec 5, 2011
1 parent bd2ca26 commit d278e50
Show file tree
Hide file tree
Showing 11 changed files with 270 additions and 70 deletions.
18 changes: 16 additions & 2 deletions src/icu-extradata/data/ar_QA.txt
@@ -1,7 +1,21 @@
ar_QA{
NumberElements{
".",
",",
";",
"%",
"0",
"#",
"-",
"E",
"‰",
"∞",
"NaN",
"+",
}
NumberPatterns{
"#0.###;-#0.###",
"#0.00¤;-#0.00¤",
"#,##0.###;-#,##0.###",
"#,##0.00 ¤;-#,##0.00 ¤",
"#,##0%;-#,##0%",
"#E0",
}
Expand Down
18 changes: 16 additions & 2 deletions src/icu-extradata/data/ar_SA.txt
@@ -1,7 +1,21 @@
ar_SA{
NumberElements{
".",
",",
";",
"%",
"0",
"#",
"-",
"E",
"‰",
"∞",
"NaN",
"+",
}
NumberPatterns{
"#0.###;-#0.###",
"#0.00¤;-#0.00¤",
"#,##0.###;-#,##0.###",
"#,##0.00 ¤;-#,##0.00 ¤",
"#,##0%;-#,##0%",
"#E0",
}
Expand Down
18 changes: 16 additions & 2 deletions src/icu-extradata/data/ar_SY.txt
@@ -1,7 +1,21 @@
ar_SY{
NumberElements{
".",
",",
";",
"%",
"0",
"#",
"-",
"E",
"‰",
"∞",
"NaN",
"+",
}
NumberPatterns{
"#0.###;-#0.###",
"#0.00¤;-#0.00¤",
"#,##0.###;-#,##0.###",
"#,##0.00 ¤;-#,##0.00 ¤",
"#,##0%;-#,##0%",
"#E0",
}
Expand Down
18 changes: 16 additions & 2 deletions src/icu-extradata/data/ar_TN.txt
@@ -1,7 +1,21 @@
ar_TN{
NumberElements{
".",
",",
";",
"%",
"0",
"#",
"-",
"E",
"‰",
"∞",
"NaN",
"+",
}
NumberPatterns{
"#0.###;-#0.###",
"#0.00¤;-#0.00¤",
"#,##0.###;-#,##0.###",
"#,##0.00 ¤;-#,##0.00 ¤",
"#,##0%;-#,##0%",
"#E0",
}
Expand Down
18 changes: 16 additions & 2 deletions src/icu-extradata/data/ar_YE.txt
@@ -1,7 +1,21 @@
ar_YE{
NumberElements{
".",
",",
";",
"%",
"0",
"#",
"-",
"E",
"‰",
"∞",
"NaN",
"+",
}
NumberPatterns{
"#0.###;-#0.###",
"#0.00¤;-#0.00¤",
"#,##0.###;-#,##0.###",
"#,##0.00 ¤;-#,##0.00 ¤",
"#,##0%;-#,##0%",
"#E0",
}
Expand Down
32 changes: 29 additions & 3 deletions src/icu-extradata/data46/ar_QA.txt
@@ -1,12 +1,38 @@
ar_QA{
NumberElements{
arab{
symbols{
decimal { "٫" }
exponential { "E" }
group { "٬" }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "؉" }
percentSign { "٪" }
plusSign { "+" }
}
}
latn{
patterns{
currencyFormat { "#0.00¤;-#0.00¤" }
decimalFormat { "#0.###;-#0.###" }
currencyFormat { "#,##0.00 ¤;-#,##0.00 ¤" }
decimalFormat { "#,##0.###;-#,##0.###" }
percentFormat { "#,##0%;-#,##0%" }
scientificFormat { "#E0" }
}
}
symbols{
decimal { "." }
exponential { "E" }
group { "," }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "‰" }
percentSign { "%" }
plusSign { "+" }
}
}
}
}
32 changes: 29 additions & 3 deletions src/icu-extradata/data46/ar_SA.txt
@@ -1,12 +1,38 @@
ar_SA{
NumberElements{
arab{
symbols{
decimal { "٫" }
exponential { "E" }
group { "٬" }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "؉" }
percentSign { "٪" }
plusSign { "+" }
}
}
latn{
patterns{
currencyFormat { "#0.00¤;-#0.00¤" }
decimalFormat { "#0.###;-#0.###" }
currencyFormat { "#,##0.00 ¤;-#,##0.00 ¤" }
decimalFormat { "#,##0.###;-#,##0.###" }
percentFormat { "#,##0%;-#,##0%" }
scientificFormat { "#E0" }
}
}
symbols{
decimal { "." }
exponential { "E" }
group { "," }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "‰" }
percentSign { "%" }
plusSign { "+" }
}
}
}
}
32 changes: 29 additions & 3 deletions src/icu-extradata/data46/ar_SY.txt
@@ -1,12 +1,38 @@
ar_SY{
NumberElements{
arab{
symbols{
decimal { "٫" }
exponential { "E" }
group { "٬" }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "؉" }
percentSign { "٪" }
plusSign { "+" }
}
}
latn{
patterns{
currencyFormat { "#0.00¤;-#0.00¤" }
decimalFormat { "#0.###;-#0.###" }
currencyFormat { "#,##0.00 ¤;-#,##0.00 ¤" }
decimalFormat { "#,##0.###;-#,##0.###" }
percentFormat { "#,##0%;-#,##0%" }
scientificFormat { "#E0" }
}
}
symbols{
decimal { "." }
exponential { "E" }
group { "," }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "‰" }
percentSign { "%" }
plusSign { "+" }
}
}
}
}
32 changes: 29 additions & 3 deletions src/icu-extradata/data46/ar_TN.txt
@@ -1,12 +1,38 @@
ar_TN{
NumberElements{
arab{
symbols{
decimal { "٫" }
exponential { "E" }
group { "٬" }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "؉" }
percentSign { "٪" }
plusSign { "+" }
}
}
latn{
patterns{
currencyFormat { "#0.00¤;-0.00¤" }
decimalFormat { "#0.###;-#0.###" }
currencyFormat { "#,##0.00 ¤;-#,##0.00 ¤" }
decimalFormat { "#,##0.###;-#,##0.###" }
percentFormat { "#,##0%;-#,##0%" }
scientificFormat { "#E0" }
}
}
symbols{
decimal { "." }
exponential { "E" }
group { "," }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "‰" }
percentSign { "%" }
plusSign { "+" }
}
}
}
}
32 changes: 29 additions & 3 deletions src/icu-extradata/data46/ar_YE.txt
@@ -1,12 +1,38 @@
ar_YE{
NumberElements{
arab{
symbols{
decimal { "٫" }
exponential { "E" }
group { "٬" }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "؉" }
percentSign { "٪" }
plusSign { "+" }
}
}
latn{
patterns{
currencyFormat { "#0.00¤;-#0.00¤" }
decimalFormat { "#0.###;-#0.###" }
currencyFormat { "#,##0.00 ¤;-#,##0.00 ¤" }
decimalFormat { "#,##0.###;-#,##0.###" }
percentFormat { "#,##0%;-#,##0%" }
scientificFormat { "#E0" }
}
}
symbols{
decimal { "." }
exponential { "E" }
group { "," }
infinity { "∞" }
list { ";" }
minusSign { "-" }
nan { "NaN" }
perMille { "‰" }
percentSign { "%" }
plusSign { "+" }
}
}
}
}

0 comments on commit d278e50

Please sign in to comment.