Skip to content

Commit bee87ea

Browse files
committed
ICU-23358 Make RBNF lenient parsing of ignorables more consistent between locales
1 parent 721daf5 commit bee87ea

Some content is hidden

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

75 files changed

+315
-550
lines changed

icu4c/source/data/rbnf/be.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
be{
55
RBNFRules{
66
SpelloutRules{
7-
"%%lenient-parse:"
8-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
97
"%spellout-numbering-year:"
108
"x.x: =0.0=;"
119
"0: =%spellout-numbering=;"

icu4c/source/data/rbnf/bg.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ bg{
1717
"0: =%digits-ordinal-masculine=;"
1818
}
1919
SpelloutRules{
20-
"%%lenient-parse:"
21-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
2220
"%spellout-numbering-year:"
2321
"x.x: =0.0=;"
2422
"0: =%spellout-numbering=;"

icu4c/source/data/rbnf/ca.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ ca{
2020
"0: =#,##0=es;"
2121
}
2222
SpelloutRules{
23-
"%%lenient-parse:"
24-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
2523
"%spellout-numbering-year:"
2624
"x.x: =0.0=;"
2725
"0: =%spellout-numbering=;"

icu4c/source/data/rbnf/cy.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
cy{
55
RBNFRules{
66
SpelloutRules{
7-
"%%lenient-parse:"
8-
"& ' ' , ',' ;"
97
"%spellout-numbering-year:"
108
"x.x: =0.0=;"
119
"0: =%spellout-numbering=;"

icu4c/source/data/rbnf/da.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
da{
55
RBNFRules{
66
SpelloutRules{
7-
"%%lenient-parse:"
8-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
97
"%spellout-numbering-year:"
108
"-x: minus >>;"
119
"x.x: =0.0=;"

icu4c/source/data/rbnf/de.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ de{
55
RBNFRules{
66
SpelloutRules{
77
"%%lenient-parse:"
8-
"&ue=\u00FC&ae=\u00E4&oe=\u00F6&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
8+
"&ue=\u00FC&ae=\u00E4&oe=\u00F6;"
99
"%spellout-numbering-year:"
1010
"-x: minus >>;"
1111
"x.x: =0.0=;"

icu4c/source/data/rbnf/en.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,13 @@ en{
2525
"3600/60: <#,##0<:>>>;"
2626
"%duration:"
2727
"0: =%in-numerals=;"
28-
"%%lenient-parse:"
29-
"& ':' = '.' = ' ' = '-';"
3028
}
3129
OrdinalRules{
3230
"%digits-ordinal:"
3331
"-x: \u2212>>;"
3432
"0: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th})$;"
3533
}
3634
SpelloutRules{
37-
"%%lenient-parse:"
38-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
3935
"%%2d-year:"
4036
"0: hundred;"
4137
"1: oh-=%spellout-numbering=;"

icu4c/source/data/rbnf/es.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ es{
2323
"0: =%digits-ordinal-masculine=;"
2424
}
2525
SpelloutRules{
26-
"%%lenient-parse:"
27-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
2826
"%spellout-numbering-year:"
2927
"x.x: =0.0=;"
3028
"0: =%spellout-numbering=;"

icu4c/source/data/rbnf/fo.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
fo{
55
RBNFRules{
66
SpelloutRules{
7-
"%%lenient-parse:"
8-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
97
"%spellout-numbering-year:"
108
"-x: m\u00EDnus >>;"
119
"x.x: =0.0=;"

icu4c/source/data/rbnf/fr.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ fr{
2020
"0: =%digits-ordinal-masculine=;"
2121
}
2222
SpelloutRules{
23-
"%%lenient-parse:"
24-
"&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';"
2523
"%spellout-numbering-year:"
2624
"-x: moins >>;"
2725
"x.x: =0.0=;"

0 commit comments

Comments
 (0)