File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
java/org/unicode/cldr/json
resources/org/unicode/cldr/json Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ class LdmlConvertRules {
37
37
"currency:displayName:count" ,
38
38
"numbers:symbols:numberSystem" ,
39
39
"numbers:decimalFormats:numberSystem" ,
40
+ "numbers:rationalFormats:numberSystem" ,
40
41
"numbers:currencyFormats:numberSystem" ,
41
42
"numbers:percentFormats:numberSystem" ,
42
43
"numbers:scientificFormats:numberSystem" ,
Original file line number Diff line number Diff line change 79
79
> $1/$3
80
80
81
81
# add type=standard
82
- < (.*/numbers/(decimal|scientific|percent|currency|rational )Formats\[@numberSystem="([^"]*)"\])/(decimal|scientific|percent|currency|rational )FormatLength/(decimal|scientific|percent|currency|rational)Format\[@type="standard"]/pattern.*$
82
+ < (.*/numbers/(decimal|scientific|percent|currency)Formats\[@numberSystem="([^"]*)"\])/(decimal|scientific|percent|currency)FormatLength/(decimal|scientific|percent|currency|rational)Format\[@type="standard"]/pattern.*$
83
83
> $1/standard
84
84
85
85
# Add "type" attribute with value "standard" if there is no "type" in "decimalFormatLength".
86
- < (.*/numbers/(decimal|scientific|percent|rational )Formats\[@numberSystem="([^"]*)"\]/(decimal|scientific|percent|rational )FormatLength)/(.*)$
86
+ < (.*/numbers/(decimal|scientific|percent)Formats\[@numberSystem="([^"]*)"\]/(decimal|scientific|percent)FormatLength)/(.*)$
87
87
> $1[@type="standard"]/$5
88
88
89
+ # Add "type" attribute with value "standard" if there is no "type".
90
+ < (.*/numbers/(rationalFormats)\[@numberSystem="([^"]*)"\])/(.*)$
91
+ > $1[@type="$2"]/$4
92
+
89
93
#
90
94
< (.*/listPattern)/(.*)$
91
95
> $1[@type="standard"]/$2
You can’t perform that action at this time.
0 commit comments