Skip to content

Commit dfe36c2

Browse files
authored
CLDR-13542 Fix Swiss grouping separator (#5019)
1 parent dc1ad1c commit dfe36c2

File tree

6 files changed

+5
-13
lines changed

6 files changed

+5
-13
lines changed

common/main/de_LI.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
3131
<numbers>
3232
<symbols numberSystem="latn">
3333
<decimal>.</decimal>
34-
<group></group>
34+
<group>'</group>
3535
</symbols>
3636
<percentFormats numberSystem="latn">
3737
<percentFormatLength>

common/main/en_CH.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
330330
</dates>
331331
<numbers>
332332
<symbols numberSystem="latn">
333-
<group></group>
333+
<group>'</group>
334334
<superscriptingExponent>·</superscriptingExponent>
335335
</symbols>
336336
<currencyFormats numberSystem="latn">

common/main/gsw.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
19131913
<numbers>
19141914
<symbols numberSystem="latn">
19151915
<decimal>↑↑↑</decimal>
1916-
<group></group>
1916+
<group>'</group>
19171917
<list>↑↑↑</list>
19181918
<percentSign>↑↑↑</percentSign>
19191919
<plusSign>↑↑↑</plusSign>

common/main/it_CH.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
173173
<numbers>
174174
<symbols numberSystem="latn">
175175
<decimal>.</decimal>
176-
<group></group>
176+
<group>'</group>
177177
</symbols>
178178
<currencyFormats numberSystem="latn">
179179
<currencyFormatLength>

common/main/wae.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
14521452
<numbers>
14531453
<symbols numberSystem="latn">
14541454
<decimal draft="contributed">,</decimal>
1455-
<group draft="contributed"></group>
1455+
<group draft="contributed">'</group>
14561456
</symbols>
14571457
<currencyFormats numberSystem="latn">
14581458
<currencyFormatLength type="short">

tools/cldr-code/src/main/java/org/unicode/cldr/test/DisplayAndInputProcessor.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ public synchronized String processForDisplay(String path, String value) {
373373
}
374374
}
375375
}
376-
// Fix up any apostrophes in number symbols
377-
if (NUMBER_SEPARATOR_PATTERN.matcher(path).matches()) {
378-
value = value.replace('\'', '\u2019');
379-
}
380376
// Fix up any apostrophes as appropriate (Don't do so for things like date patterns...
381377
if (!APOSTROPHE_SKIP_PATHS.matcher(path).matches()) {
382378
value = normalizeApostrophes(value);
@@ -567,10 +563,6 @@ private String processInputMore(String path, String value) {
567563
if (!APOSTROPHE_SKIP_PATHS.matcher(path).matches()) {
568564
value = normalizeApostrophes(value);
569565
}
570-
// Fix up any apostrophes in number symbols
571-
if (NUMBER_SEPARATOR_PATTERN.matcher(path).matches()) {
572-
value = value.replace('\'', '\u2019');
573-
}
574566
// Fix up hyphens, replacing with N-dash as appropriate
575567
if (INTERVAL_FORMAT_PATHS.matcher(path).matches()) {
576568
value =

0 commit comments

Comments
 (0)