修改数据加载方式

Signed-off-by: 王剑 <wangjian546@huawei.com>
This commit is contained in:
王剑 2024-10-30 09:19:15 +08:00
parent 59983df958
commit 92a9995379
11 changed files with 314 additions and 8991 deletions

View File

@ -590,7 +590,7 @@ static const char * const gSubTypes[] = {
"body-weight-per-second",
"breath-per-minute",
"foot-per-hour",
"jump-rope-speed",
"jump-rope-per-minute",
"meter-per-hour",
"milliliter-per-minute-per-kilogram",
"rotation-per-minute",

View File

@ -11,5 +11,5 @@
"unit/zh_Hant.txt",
"unit/zh_Hant_HK.txt"
]
}
}
}

View File

@ -1,902 +1,42 @@
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
// Generated using tools/cldr/cldr-to-icu/build-icu-data.xml
bo{
durationUnits{
hm{"h:mm"}
hms{"h:mm:ss"}
ms{"m:ss"}
zohos{
beat-per-minute{
dnam{"སྐར་མ་རེར་ཐེངས་"}
other{"སྐར་མ་རེར་ཐེངས་ {0}"}
}
units:alias{"/LOCALE/unitsShort"}
unitsNarrow:alias{"/LOCALE/unitsShort"}
unitsShort{
zohos{
beat-per-minute{
dnam{"སྐར་མ་རེར་ཐེངས་"}
other{"སྐར་མ་རེར་ཐེངས་ {0}"}
}
body-weight-per-second{
dnam{"BW/s"}
other{"{0} BW/s"}
}
breath-per-minute{
dnam{"སྐར་མ་རེར་ཐེངས་"}
other{"སྐར་མ་རེར་ཐེངས་ {0}"}
}
foot-per-hour{
dnam{"ft/h"}
other{"{0} ft/h"}
}
jump-rope-speed{
dnam{"སྐར་མ་རེར་"}
other{"སྐར་མ་རེར་ {0}"}
}
meter-per-hour{
dnam{"m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
dnam{"ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
dnam{"སྐར་མ་རེར་སྐོར་བ་"}
other{"སྐར་མ་རེར་སྐོར་བ་ {0}"}
}
step-per-minute{
dnam{"སྐར་མ་རེར་གོམ་པ་"}
other{"སྐར་མ་རེར་གོམ་པ་ {0}"}
}
stroke-per-minute{
dnam{"སྐར་མ་རེར་ཐེངས་"}
other{"སྐར་མ་རེར་ཐེངས་ {0}"}
}
}
acceleration{
g-force{
dnam{"g-force"}
other{"{0} G"}
}
meter-per-square-second{
dnam{"m/s²"}
other{"{0} m/s²"}
}
}
angle{
arc-minute{
dnam{"arcmin"}
other{"{0}"}
}
arc-second{
dnam{"arcsec"}
other{"{0}″"}
}
degree{
dnam{"deg"}
other{"{0}°"}
}
radian{
dnam{"rad"}
other{"{0} rad"}
}
revolution{
dnam{"rev"}
other{"{0} rev"}
}
}
area{
acre{
dnam{"acre"}
other{"{0} ac"}
}
dunam{
dnam{"dunam"}
other{"{0} dunam"}
}
hectare{
dnam{"hectare"}
other{"{0} ha"}
}
square-centimeter{
dnam{"cm²"}
other{"{0} cm²"}
per{"{0}/cm²"}
}
square-foot{
dnam{"ft²"}
other{"{0} ft²"}
}
square-inch{
dnam{"in²"}
other{"{0} in²"}
per{"{0}/in²"}
}
square-kilometer{
dnam{"km²"}
other{"{0} km²"}
per{"{0}/km²"}
}
square-meter{
dnam{"m²"}
other{"{0} m²"}
per{"{0}/m²"}
}
square-mile{
dnam{"mi²"}
other{"{0} mi²"}
per{"{0}/mi²"}
}
square-yard{
dnam{"yd²"}
other{"{0} yd²"}
}
}
compound{
1024p1{"Ki{0}"}
1024p2{"Mi{0}"}
1024p3{"Gi{0}"}
1024p4{"Ti{0}"}
1024p5{"Pi{0}"}
1024p6{"Ei{0}"}
1024p7{"Zi{0}"}
1024p8{"Yi{0}"}
10p-1{"d{0}"}
10p-12{"p{0}"}
10p-15{"f{0}"}
10p-18{"a{0}"}
10p-2{"c{0}"}
10p-21{"z{0}"}
10p-24{"y{0}"}
10p-3{"m{0}"}
10p-6{"μ{0}"}
10p-9{"n{0}"}
10p1{"da{0}"}
10p12{"T{0}"}
10p15{"P{0}"}
10p18{"E{0}"}
10p2{"h{0}"}
10p21{"Z{0}"}
10p24{"Y{0}"}
10p3{"k{0}"}
10p6{"M{0}"}
10p9{"G{0}"}
per{"{0}/{1}"}
power2{
other{
_{
_{"{0}²"}
}
}
}
power3{
other{
_{
_{"{0}³"}
}
}
}
times{"{0}⋅{1}"}
}
concentr{
item{
dnam{"item"}
other{"{0} item"}
}
karat{
dnam{"kt"}
other{"{0} kt"}
}
milligram-ofglucose-per-deciliter{
dnam{"mg/dL"}
other{"{0} mg/dL"}
}
millimole-per-liter{
dnam{"mmol/L"}
other{"{0} mmol/L"}
}
mole{
dnam{"mol"}
other{"{0} mol"}
}
percent{
dnam{"%"}
other{"{0}%"}
}
permille{
dnam{"‰"}
other{"{0}‰"}
}
permillion{
dnam{"ppm"}
other{"{0} ppm"}
}
permyriad{
dnam{"‱"}
other{"{0}‱"}
}
}
consumption{
liter-per-100-kilometer{
dnam{"L/100km"}
other{"{0} L/100km"}
}
liter-per-kilometer{
dnam{"L/km"}
other{"{0} L/km"}
}
mile-per-gallon{
dnam{"mpg US"}
other{"{0} mpg US"}
}
mile-per-gallon-imperial{
dnam{"mpg Imp."}
other{"{0} mpg Imp."}
}
}
coordinate{
dnam{"direction"}
east{"{0}E"}
north{"{0}N"}
south{"{0}S"}
west{"{0}W"}
}
digital{
bit{
dnam{"bit"}
other{"{0} bit"}
}
byte{
dnam{"byte"}
other{"{0} byte"}
}
gigabit{
dnam{"Gb"}
other{"{0} Gb"}
}
gigabyte{
dnam{"GB"}
other{"{0} GB"}
}
kilobit{
dnam{"kb"}
other{"{0} kb"}
}
kilobyte{
dnam{"kB"}
other{"{0} kB"}
}
megabit{
dnam{"Mb"}
other{"{0} Mb"}
}
megabyte{
dnam{"MB"}
other{"{0} MB"}
}
petabyte{
dnam{"PB"}
other{"{0} PB"}
}
terabit{
dnam{"Tb"}
other{"{0} Tb"}
}
terabyte{
dnam{"TB"}
other{"{0} TB"}
}
}
duration{
century{
dnam{"c"}
other{"{0} c"}
}
day{
dnam{"day"}
other{"{0} d"}
per{"{0}/d"}
}
day-person:alias{"/LOCALE/unitsShort/duration/day"}
decade{
dnam{"dec"}
other{"{0} dec"}
}
hour{
dnam{"hr"}
other{"{0} h"}
per{"{0}/h"}
}
microsecond{
dnam{"μs"}
other{"{0} μs"}
}
millisecond{
dnam{"ms"}
other{"{0} ms"}
}
minute{
dnam{"min"}
other{"{0} min"}
per{"{0}/min"}
}
month{
dnam{"mon"}
other{"{0} m"}
per{"{0}/m"}
}
month-person:alias{"/LOCALE/unitsShort/duration/month"}
nanosecond{
dnam{"ns"}
other{"{0} ns"}
}
quarter{
dnam{"qtr"}
other{"{0} q"}
per{"{0}/q"}
}
second{
dnam{"sec"}
other{"{0} s"}
per{"{0}/s"}
}
week{
dnam{"wk"}
other{"{0} w"}
per{"{0}/w"}
}
week-person:alias{"/LOCALE/unitsShort/duration/week"}
year{
dnam{"yr"}
other{"{0} y"}
per{"{0}/y"}
}
year-person:alias{"/LOCALE/unitsShort/duration/year"}
}
electric{
ampere{
dnam{"amp"}
other{"{0} A"}
}
milliampere{
dnam{"mA"}
other{"{0} mA"}
}
ohm{
dnam{"ohm"}
other{"{0} Ω"}
}
volt{
dnam{"volt"}
other{"{0} V"}
}
}
energy{
british-thermal-unit{
dnam{"Btu"}
other{"{0} Btu"}
}
calorie{
dnam{"cal"}
other{"{0} cal"}
}
electronvolt{
dnam{"eV"}
other{"{0} eV"}
}
foodcalorie:alias{"/LOCALE/unitsShort/energy/kilocalorie"}
joule{
dnam{"joule"}
other{"{0} J"}
}
kilocalorie{
dnam{"kcal"}
other{"{0} kcal"}
}
kilojoule{
dnam{"kJ"}
other{"{0} kJ"}
}
kilowatt-hour{
dnam{"kWh"}
other{"{0} kWh"}
}
therm-us{
dnam{"US therm"}
other{"{0} US therm"}
}
}
force{
kilowatt-hour-per-100-kilometer{
dnam{"kWh/100km"}
other{"{0} kWh/100km"}
}
newton{
dnam{"N"}
other{"{0} N"}
}
pound-force{
dnam{"lbf"}
other{"{0} lbf"}
}
}
frequency{
gigahertz{
dnam{"GHz"}
other{"{0} GHz"}
}
hertz{
dnam{"Hz"}
other{"{0} Hz"}
}
kilohertz{
dnam{"kHz"}
other{"{0} kHz"}
}
megahertz{
dnam{"MHz"}
other{"{0} MHz"}
}
}
graphics{
dot-per-centimeter:alias{"/LOCALE/unitsShort/graphics/pixel-per-centimeter"}
dot-per-inch:alias{"/LOCALE/unitsShort/graphics/pixel-per-inch"}
dot:alias{"/LOCALE/unitsShort/graphics/pixel"}
em{
dnam{"em"}
other{"{0} em"}
}
megapixel{
dnam{"MP"}
other{"{0} MP"}
}
pixel{
dnam{"px"}
other{"{0} px"}
}
pixel-per-centimeter{
dnam{"ppcm"}
other{"{0} ppcm"}
}
pixel-per-inch{
dnam{"ppi"}
other{"{0} ppi"}
}
}
length{
astronomical-unit{
dnam{"au"}
other{"{0} au"}
}
centimeter{
dnam{"cm"}
other{"{0} cm"}
per{"{0}/cm"}
}
decimeter{
dnam{"dm"}
other{"{0} dm"}
}
earth-radius{
dnam{"R⊕"}
other{"{0} R⊕"}
}
fathom{
dnam{"fm"}
other{"{0} fth"}
}
foot{
dnam{"ft"}
other{"{0} ft"}
per{"{0}/ft"}
}
furlong{
dnam{"fur"}
other{"{0} fur"}
}
inch{
dnam{"in"}
other{"{0} in"}
per{"{0}/in"}
}
kilometer{
dnam{"km"}
other{"{0} km"}
per{"{0}/km"}
}
light-year{
dnam{"ly"}
other{"{0} ly"}
}
meter{
dnam{"meter"}
other{"{0} m"}
per{"{0}/m"}
}
micrometer{
dnam{"μm"}
other{"{0} μm"}
}
mile{
dnam{"mi"}
other{"{0} mi"}
}
mile-scandinavian{
dnam{"smi"}
other{"{0} smi"}
}
millimeter{
dnam{"mm"}
other{"{0} mm"}
}
nanometer{
dnam{"nm"}
other{"{0} nm"}
}
nautical-mile{
dnam{"nmi"}
other{"{0} nmi"}
}
parsec{
dnam{"pc"}
other{"{0} pc"}
}
picometer{
dnam{"pm"}
other{"{0} pm"}
}
point{
dnam{"pt"}
other{"{0} pt"}
}
solar-radius{
dnam{"R☉"}
other{"{0} R☉"}
}
yard{
dnam{"yd"}
other{"{0} yd"}
}
}
light{
candela{
dnam{"cd"}
other{"{0} cd"}
}
lumen{
dnam{"lm"}
other{"{0} lm"}
}
lux{
dnam{"lx"}
other{"{0} lx"}
}
solar-luminosity{
dnam{"L☉"}
other{"{0} L☉"}
}
}
mass{
carat{
dnam{"CD"}
other{"{0} CD"}
}
dalton{
dnam{"Da"}
other{"{0} Da"}
}
earth-mass{
dnam{"M⊕"}
other{"{0} M⊕"}
}
grain{
dnam{"grain"}
other{"{0} grain"}
}
gram{
dnam{"gram"}
other{"{0} g"}
per{"{0}/g"}
}
kilogram{
dnam{"kg"}
other{"{0} kg"}
per{"{0}/kg"}
}
microgram{
dnam{"μg"}
other{"{0} μg"}
}
milligram{
dnam{"mg"}
other{"{0} mg"}
}
ounce{
dnam{"oz"}
other{"{0} oz"}
per{"{0}/oz"}
}
ounce-troy{
dnam{"oz t"}
other{"{0} oz t"}
}
pound{
dnam{"lb"}
other{"{0} lb"}
per{"{0}/lb"}
}
solar-mass{
dnam{"M☉"}
other{"{0} M☉"}
}
stone{
dnam{"st"}
other{"{0} st"}
}
ton{
dnam{"tn"}
other{"{0} tn"}
}
tonne{
dnam{"t"}
other{"{0} t"}
}
}
power{
gigawatt{
dnam{"GW"}
other{"{0} GW"}
}
horsepower{
dnam{"hp"}
other{"{0} hp"}
}
kilowatt{
dnam{"kW"}
other{"{0} kW"}
}
megawatt{
dnam{"MW"}
other{"{0} MW"}
}
milliwatt{
dnam{"mW"}
other{"{0} mW"}
}
watt{
dnam{"watt"}
other{"{0} W"}
}
}
pressure{
atmosphere{
dnam{"atm"}
other{"{0} atm"}
}
bar{
dnam{"bar"}
other{"{0} bar"}
}
hectopascal{
dnam{"hPa"}
other{"{0} hPa"}
}
inch-ofhg{
dnam{"inHg"}
other{"{0} inHg"}
}
kilopascal{
dnam{"kPa"}
other{"{0} kPa"}
}
megapascal{
dnam{"MPa"}
other{"{0} MPa"}
}
millibar{
dnam{"mbar"}
other{"{0} mbar"}
}
millimeter-ofhg{
dnam{"mm Hg"}
other{"{0} mm Hg"}
}
pascal{
dnam{"Pa"}
other{"{0} Pa"}
}
pound-force-per-square-inch{
dnam{"psi"}
other{"{0} psi"}
}
}
speed{
kilometer-per-hour{
dnam{"km/h"}
other{"{0} km/h"}
}
knot{
dnam{"kn"}
other{"{0} kn"}
}
meter-per-second{
dnam{"m/s"}
other{"{0} m/s"}
}
mile-per-hour{
dnam{"mi/h"}
other{"{0} mi/h"}
}
}
temperature{
celsius{
dnam{"°C"}
other{"{0}°C"}
}
fahrenheit{
dnam{"°F"}
other{"{0}°F"}
}
generic{
dnam{"°"}
other{"{0}°"}
}
kelvin{
dnam{"K"}
other{"{0} K"}
}
}
torque{
newton-meter{
dnam{"N⋅m"}
other{"{0} N⋅m"}
}
pound-force-foot{
dnam{"lbf⋅ft"}
other{"{0} lbf⋅ft"}
}
}
volume{
acre-foot{
dnam{"ac ft"}
other{"{0} ac ft"}
}
barrel{
dnam{"bbl"}
other{"{0} bbl"}
}
bushel{
dnam{"bu"}
other{"{0} bu"}
}
centiliter{
dnam{"cL"}
other{"{0} cL"}
}
cubic-centimeter{
dnam{"cm³"}
other{"{0} cm³"}
per{"{0}/cm³"}
}
cubic-foot{
dnam{"ft³"}
other{"{0} ft³"}
}
cubic-inch{
dnam{"in³"}
other{"{0} in³"}
}
cubic-kilometer{
dnam{"km³"}
other{"{0} km³"}
}
cubic-meter{
dnam{"m³"}
other{"{0} m³"}
per{"{0}/m³"}
}
cubic-mile{
dnam{"mi³"}
other{"{0} mi³"}
}
cubic-yard{
dnam{"yd³"}
other{"{0} yd³"}
}
cup{
dnam{"cup"}
other{"{0} c"}
}
cup-metric{
dnam{"mcup"}
other{"{0} mc"}
}
deciliter{
dnam{"dL"}
other{"{0} dL"}
}
dessert-spoon{
dnam{"dstspn"}
other{"{0} dstspn"}
}
dessert-spoon-imperial{
dnam{"dstspn Imp"}
other{"{0} dstspn Imp"}
}
dram{
dnam{"dram fluid"}
other{"{0} dram fl"}
}
drop{
dnam{"drop"}
other{"{0} drop"}
}
fluid-ounce{
dnam{"US fl oz"}
other{"{0} fl oz US"}
}
fluid-ounce-imperial{
dnam{"Imp. fl oz"}
other{"{0} fl oz Imp."}
}
gallon{
dnam{"US gal"}
other{"{0} gal US"}
per{"{0}/gal US"}
}
gallon-imperial{
dnam{"Imp. gal"}
other{"{0} gal Imp."}
per{"{0}/gal Imp."}
}
hectoliter{
dnam{"hL"}
other{"{0} hL"}
}
jigger{
dnam{"jigger"}
other{"{0} jigger"}
}
liter{
dnam{"liter"}
other{"{0} l"}
per{"{0}/l"}
}
megaliter{
dnam{"ML"}
other{"{0} ML"}
}
milliliter{
dnam{"mL"}
other{"{0} mL"}
}
pinch{
dnam{"pinch"}
other{"{0} pinch"}
}
pint{
dnam{"pt"}
other{"{0} pt"}
}
pint-metric{
dnam{"mpt"}
other{"{0} mpt"}
}
quart{
dnam{"qt"}
other{"{0} qt"}
}
quart-imperial{
dnam{"qt Imp"}
other{"{0} qt Imp."}
}
tablespoon{
dnam{"tbsp"}
other{"{0} tbsp"}
}
teaspoon{
dnam{"tsp"}
other{"{0} tsp"}
}
}
body-weight-per-second{
dnam{"BW/s"}
other{"{0} BW/s"}
}
}
breath-per-minute{
dnam{"སྐར་མ་རེར་ཐེངས་"}
other{"སྐར་མ་རེར་ཐེངས་ {0}"}
}
foot-per-hour{
dnam{"ft/h"}
other{"{0} ft/h"}
}
jump-rope-per-minute{
dnam{"སྐར་མ་རེར་"}
other{"སྐར་མ་རེར་ {0}"}
}
meter-per-hour{
dnam{"m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
dnam{"ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
dnam{"སྐར་མ་རེར་སྐོར་བ་"}
other{"སྐར་མ་རེར་སྐོར་བ་ {0}"}
}
step-per-minute{
dnam{"སྐར་མ་རེར་གོམ་པ་"}
other{"སྐར་མ་རེར་གོམ་པ་ {0}"}
}
stroke-per-minute{
dnam{"སྐར་མ་རེར་ཐེངས་"}
other{"སྐར་མ་རེར་ཐེངས་ {0}"}
}
}

View File

@ -1,680 +1,7 @@
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
// Generated using tools/cldr/cldr-to-icu/build-icu-data.xml
en_001{
units{
zohos{
jump-rope-speed{
dnam{"skip/minute"}
one{"{0} skip/minute"}
other{"{0} skips/minute"}
}
}
acceleration{
meter-per-square-second{
dnam{"metres per second squared"}
one{"{0} metre per second squared"}
other{"{0} metres per second squared"}
}
}
area{
square-centimeter{
dnam{"square centimetres"}
one{"{0} square centimetre"}
other{"{0} square centimetres"}
per{"{0} per square centimetre"}
}
square-kilometer{
dnam{"square kilometres"}
one{"{0} square kilometre"}
other{"{0} square kilometres"}
per{"{0} per square kilometre"}
}
square-meter{
dnam{"square metres"}
one{"{0} square metre"}
other{"{0} square metres"}
per{"{0} per square metre"}
}
}
compound{
10p1{"deca{0}"}
}
concentr{
karat{
dnam{"carats"}
one{"{0} carat"}
other{"{0} carats"}
}
milligram-ofglucose-per-deciliter{
dnam{"milligrams per decilitre"}
one{"{0} milligram per decilitre"}
other{"{0} milligrams per decilitre"}
}
millimole-per-liter{
dnam{"millimoles per litre"}
one{"{0} millimole per litre"}
other{"{0} millimoles per litre"}
}
percent{
dnam{"per cent"}
one{"{0} per cent"}
other{"{0} per cent"}
}
permille{
dnam{"per mille"}
one{"{0} per mille"}
other{"{0} per mille"}
}
}
consumption{
liter-per-100-kilometer{
dnam{"litres per 100 kilometres"}
one{"{0} litre per 100 kilometres"}
other{"{0} litres per 100 kilometres"}
}
liter-per-kilometer{
dnam{"litres per kilometre"}
one{"{0} litre per kilometre"}
other{"{0} litres per kilometre"}
}
mile-per-gallon{
dnam{"miles per US gallon"}
one{"{0} mile per US gallon"}
other{"{0} miles per US gallon"}
}
mile-per-gallon-imperial{
dnam{"miles per gallon"}
one{"{0} mile per gallon"}
other{"{0} miles per gallon"}
}
}
energy{
kilowatt-hour{
one{"{0} kilowatt-hour"}
}
}
force{
kilowatt-hour-per-100-kilometer{
dnam{"kilowatt-hour per 100 kilometres"}
one{"{0} kilowatt-hour per 100 kilometres"}
other{"{0} kilowatt-hours per 100 kilometres"}
}
}
graphics{
dot-per-centimeter{
dnam{"dots per centimetre"}
one{"{0} dot per centimetre"}
other{"{0} dots per centimetre"}
}
pixel-per-centimeter{
dnam{"pixels per centimetre"}
one{"{0} pixel per centimetre"}
other{"{0} pixels per centimetre"}
}
}
length{
centimeter{
dnam{"centimetres"}
one{"{0} centimetre"}
other{"{0} centimetres"}
per{"{0} per centimetre"}
}
decimeter{
dnam{"decimetre"}
one{"{0} decimetre"}
other{"{0} decimetres"}
}
earth-radius{
other{"{0} earth radii"}
}
kilometer{
dnam{"kilometres"}
one{"{0} kilometre"}
other{"{0} kilometres"}
per{"{0} per kilometre"}
}
meter{
dnam{"metres"}
one{"{0} metre"}
other{"{0} metres"}
per{"{0} per metre"}
}
micrometer{
dnam{"micrometre"}
one{"{0} micrometre"}
other{"{0} micrometres"}
}
mile-scandinavian{
dnam{"Scandinavian mile"}
one{"{0} Scandinavian mile"}
other{"{0} Scandinavian miles"}
}
millimeter{
dnam{"millimetres"}
one{"{0} millimetre"}
other{"{0} millimetres"}
}
nanometer{
dnam{"nanometres"}
one{"{0} nanometre"}
other{"{0} nanometres"}
}
picometer{
dnam{"picometres"}
one{"{0} picometre"}
other{"{0} picometres"}
}
}
light{
candela{
other{"{0} candelas"}
}
lumen{
other{"{0} lumens"}
}
}
mass{
stone{
dnam{"stone"}
one{"{0} stone"}
other{"{0} stone"}
}
tonne{
dnam{"tonnes"}
one{"{0} tonne"}
other{"{0} tonnes"}
}
}
pressure{
millimeter-ofhg{
dnam{"millimetres of mercury"}
one{"{0} millimetre of mercury"}
other{"{0} millimetres of mercury"}
}
}
speed{
kilometer-per-hour{
dnam{"kilometres per hour"}
one{"{0} kilometre per hour"}
other{"{0} kilometres per hour"}
}
meter-per-second{
dnam{"metres per second"}
one{"{0} metre per second"}
other{"{0} metres per second"}
}
}
temperature{
generic{
dnam{"degree"}
}
kelvin{
dnam{"kelvin"}
one{"{0} kelvin"}
other{"{0} kelvin"}
}
}
torque{
newton-meter{
dnam{"newton metres"}
one{"{0} newton metre"}
other{"{0} newton metres"}
}
}
volume{
centiliter{
dnam{"centilitres"}
one{"{0} centilitre"}
other{"{0} centilitres"}
}
cubic-centimeter{
dnam{"cubic centimetres"}
one{"{0} cubic centimetre"}
other{"{0} cubic centimetres"}
per{"{0} per cubic centimetre"}
}
cubic-kilometer{
dnam{"cubic kilometres"}
one{"{0} cubic kilometre"}
other{"{0} cubic kilometres"}
}
cubic-meter{
dnam{"cubic metres"}
one{"{0} cubic metre"}
other{"{0} cubic metres"}
per{"{0} per cubic metre"}
}
deciliter{
dnam{"decilitres"}
one{"{0} decilitre"}
other{"{0} decilitres"}
}
dessert-spoon{
dnam{"US dessertspoon"}
one{"{0} US dessertspoon"}
other{"{0} US dessertspoons"}
}
dessert-spoon-imperial{
dnam{"dessertspoon"}
one{"{0} dessertspoon"}
other{"{0} dessertspoons"}
}
fluid-ounce{
dnam{"US fluid ounces"}
one{"{0} US fluid ounce"}
other{"{0} US fluid ounces"}
}
fluid-ounce-imperial{
dnam{"fluid ounces"}
one{"{0} fluid ounce"}
other{"{0} fluid ounces"}
}
gallon{
dnam{"US gallons"}
one{"{0} US gallon"}
other{"{0} US gallons"}
per{"{0} per US gallon"}
}
gallon-imperial{
dnam{"gallons"}
one{"{0} gallon"}
other{"{0} gallons"}
per{"{0} per gallon"}
}
hectoliter{
dnam{"hectolitres"}
one{"{0} hectolitre"}
other{"{0} hectolitres"}
}
liter{
dnam{"litres"}
one{"{0} litre"}
other{"{0} litres"}
per{"{0} per litre"}
}
megaliter{
dnam{"megalitres"}
one{"{0} megalitre"}
other{"{0} megalitres"}
}
milliliter{
dnam{"millilitres"}
one{"{0} millilitre"}
other{"{0} millilitres"}
}
quart{
dnam{"US quarts"}
one{"{0} US quart"}
other{"{0} US quarts"}
}
quart-imperial{
dnam{"quart"}
one{"{0} quart"}
other{"{0} quarts"}
}
}
}
unitsNarrow{
zohos{
jump-rope-speed{
dnam{"skip/minute"}
one{"{0} skip/minute"}
other{"{0} skips/minute"}
}
}
area{
square-meter{
dnam{"metres²"}
}
}
concentr{
karat{
dnam{"carat"}
one{"{0}ct"}
other{"{0}ct"}
}
milligram-ofglucose-per-deciliter{
dnam{"mg/dl"}
one{"{0}mg/dl"}
other{"{0}mg/dl"}
}
millimole-per-liter{
dnam{"mmol/l"}
one{"{0}mmol/l"}
other{"{0}mmol/l"}
}
}
consumption{
liter-per-100-kilometer{
dnam{"l/100km"}
one{"{0}l/100km"}
other{"{0}l/100km"}
}
liter-per-kilometer{
dnam{"l/km"}
one{"{0}l/km"}
other{"{0}l/km"}
}
mile-per-gallon{
dnam{"mpg US"}
one{"{0}mpgUS"}
other{"{0}mpgUS"}
}
mile-per-gallon-imperial{
dnam{"mpg"}
one{"{0}mpg"}
other{"{0}mpg"}
}
}
length{
meter{
dnam{"metre"}
}
}
mass{
pound{
one{"{0}lb"}
other{"{0}lb"}
}
}
speed{
kilometer-per-hour{
dnam{"km/h"}
}
mile-per-hour{
dnam{"mph"}
}
}
temperature{
celsius{
one{"{0}°"}
other{"{0}°"}
}
fahrenheit{
one{"{0}°F"}
other{"{0}°F"}
}
}
volume{
centiliter{
dnam{"cl"}
one{"{0}cl"}
other{"{0}cl"}
}
deciliter{
dnam{"dl"}
one{"{0}dl"}
other{"{0}dl"}
}
dessert-spoon{
dnam{"US dsp"}
one{"{0}US dsp"}
other{"{0}US dsp"}
}
dessert-spoon-imperial{
dnam{"dsp"}
one{"{0}dsp"}
other{"{0}dsp"}
}
fluid-ounce{
dnam{"US fl oz"}
one{"{0}US fl oz"}
other{"{0}US fl oz"}
}
fluid-ounce-imperial{
dnam{"fl oz"}
one{"{0}fl oz"}
other{"{0}fl oz"}
}
gallon{
dnam{"US gal"}
one{"{0}galUS"}
other{"{0}galUS"}
per{"{0}/galUS"}
}
gallon-imperial{
dnam{"gal"}
one{"{0}gal"}
other{"{0}gal"}
per{"{0}/gal"}
}
hectoliter{
dnam{"hl"}
one{"{0}hl"}
other{"{0}hl"}
}
jigger{
other{"{0}jiggers"}
}
liter{
dnam{"litre"}
one{"{0}l"}
other{"{0}l"}
per{"{0}/l"}
}
megaliter{
dnam{"Ml"}
one{"{0}Ml"}
other{"{0}Ml"}
}
milliliter{
dnam{"ml"}
one{"{0}ml"}
other{"{0}ml"}
}
quart-imperial{
dnam{"qt"}
one{"{0}qt"}
other{"{0}qt"}
}
}
}
unitsShort{
zohos{
jump-rope-speed{
dnam{"skip/minute"}
one{"{0} skip/minute"}
other{"{0} skips/minute"}
}
}
acceleration{
meter-per-square-second{
dnam{"metres/sec²"}
}
}
angle{
revolution{
other{"{0} revs"}
}
}
area{
square-meter{
dnam{"metres²"}
}
}
concentr{
karat{
dnam{"carats"}
one{"{0} ct"}
other{"{0} ct"}
}
milligram-ofglucose-per-deciliter{
dnam{"mg/dl"}
one{"{0} mg/dl"}
other{"{0} mg/dl"}
}
millimole-per-liter{
dnam{"millimole/litre"}
one{"{0} mmol/l"}
other{"{0} mmol/l"}
}
percent{
dnam{"per cent"}
}
permille{
dnam{"per mille"}
}
}
consumption{
liter-per-100-kilometer{
dnam{"l/100 km"}
one{"{0} l/100 km"}
other{"{0} l/100 km"}
}
liter-per-kilometer{
dnam{"litres/km"}
one{"{0} l/km"}
other{"{0} l/km"}
}
mile-per-gallon{
dnam{"miles/US gal"}
one{"{0} mpg US"}
other{"{0} mpg US"}
}
mile-per-gallon-imperial{
dnam{"miles/gal"}
one{"{0} mpg"}
other{"{0} mpg"}
}
}
duration{
hour{
one{"{0} hr"}
other{"{0} hrs"}
}
minute{
one{"{0} min"}
other{"{0} mins"}
}
second{
one{"{0} sec"}
other{"{0} secs"}
}
}
graphics{
dot{
one{"{0} dot"}
other{"{0} dots"}
}
}
length{
meter{
dnam{"metres"}
}
micrometer{
dnam{"μmetres"}
}
}
mass{
carat{
one{"{0} ct"}
other{"{0} ct"}
}
grain{
one{"{0} grains"}
other{"{0} grains"}
}
stone{
dnam{"stone"}
}
}
speed{
meter-per-second{
dnam{"metres/sec"}
}
}
volume{
centiliter{
dnam{"cl"}
one{"{0} cl"}
other{"{0} cl"}
}
deciliter{
dnam{"dl"}
one{"{0} dl"}
other{"{0} dl"}
}
dessert-spoon{
dnam{"US dstspn"}
one{"{0} US dstspn"}
other{"{0} US dstspn"}
}
dessert-spoon-imperial{
dnam{"dstspn"}
one{"{0} dstspn"}
other{"{0} dstspn"}
}
dram{
dnam{"dram"}
one{"{0} dram"}
other{"{0} drams"}
}
drop{
one{"{0} drops"}
other{"{0} drops"}
}
fluid-ounce{
dnam{"US fl oz"}
one{"{0} US fl oz"}
other{"{0} US fl oz"}
}
fluid-ounce-imperial{
dnam{"fl oz"}
one{"{0} fl oz"}
other{"{0} fl oz"}
}
gallon{
dnam{"US gal"}
one{"{0} US gal"}
other{"{0} US gal"}
per{"{0}/US gal"}
}
gallon-imperial{
dnam{"gal"}
one{"{0} gal"}
other{"{0} gal"}
per{"{0}/gal"}
}
hectoliter{
dnam{"hl"}
one{"{0} hl"}
other{"{0} hl"}
}
jigger{
one{"{0} jigger"}
other{"{0} jiggers"}
}
liter{
dnam{"litres"}
one{"{0} l"}
other{"{0} l"}
per{"{0}/l"}
}
megaliter{
dnam{"Ml"}
one{"{0} Ml"}
other{"{0} Ml"}
}
milliliter{
dnam{"ml"}
one{"{0} ml"}
other{"{0} ml"}
}
pinch{
one{"{0} pinches"}
other{"{0} pinches"}
}
quart{
dnam{"US qts"}
one{"{0} US qt"}
other{"{0} US qt"}
}
quart-imperial{
dnam{"qt"}
one{"{0} qt"}
other{"{0} qt"}
}
}
zohos{
jump-rope-per-minute{
dnam{"skip/minute"}
one{"{0} skip/minute"}
other{"{0} skips/minute"}
}
}

View File

@ -1,906 +1,45 @@
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
// Generated using tools/cldr/cldr-to-icu/build-icu-data.xml
root{
Version{"42"}
durationUnits{
hm{"h:mm"}
hms{"h:mm:ss"}
ms{"m:ss"}
zohos{
beat-per-minute{
dnam{"bpm"}
other{"{0} bpm"}
}
units:alias{"/LOCALE/unitsShort"}
unitsNarrow:alias{"/LOCALE/unitsShort"}
unitsShort{
zohos{
beat-per-minute{
dnam{"bpm"}
other{"{0} bpm"}
}
body-weight-per-second{
dnam{"BW/s"}
other{"{0} BW/s"}
}
breath-per-minute{
dnam{"brpm"}
other{"{0} brpm"}
}
foot-per-hour{
dnam{"ft/h"}
other{"{0} ft/h"}
}
jump-rope-speed{
dnam{"jump/minute"}
one{"{0} jump/minute"}
other{"{0} jumps/minute"}
}
meter-per-hour{
dnam{"m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
dnam{"ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
dnam{"rpm"}
other{"{0} rpm"}
}
step-per-minute{
dnam{"step/min"}
one{"{0} step/min"}
other{"{0} steps/min"}
}
stroke-per-minute{
dnam{"stroke/min"}
one{"{0} stroke/min"}
other{"{0} strokes/min"}
}
}
acceleration{
g-force{
dnam{"g-force"}
other{"{0} G"}
}
meter-per-square-second{
dnam{"m/s²"}
other{"{0} m/s²"}
}
}
angle{
arc-minute{
dnam{"arcmin"}
other{"{0}"}
}
arc-second{
dnam{"arcsec"}
other{"{0}″"}
}
degree{
dnam{"deg"}
other{"{0}°"}
}
radian{
dnam{"rad"}
other{"{0} rad"}
}
revolution{
dnam{"rev"}
other{"{0} rev"}
}
}
area{
acre{
dnam{"acre"}
other{"{0} ac"}
}
dunam{
dnam{"dunam"}
other{"{0} dunam"}
}
hectare{
dnam{"hectare"}
other{"{0} ha"}
}
square-centimeter{
dnam{"cm²"}
other{"{0} cm²"}
per{"{0}/cm²"}
}
square-foot{
dnam{"ft²"}
other{"{0} ft²"}
}
square-inch{
dnam{"in²"}
other{"{0} in²"}
per{"{0}/in²"}
}
square-kilometer{
dnam{"km²"}
other{"{0} km²"}
per{"{0}/km²"}
}
square-meter{
dnam{"m²"}
other{"{0} m²"}
per{"{0}/m²"}
}
square-mile{
dnam{"mi²"}
other{"{0} mi²"}
per{"{0}/mi²"}
}
square-yard{
dnam{"yd²"}
other{"{0} yd²"}
}
}
compound{
1024p1{"Ki{0}"}
1024p2{"Mi{0}"}
1024p3{"Gi{0}"}
1024p4{"Ti{0}"}
1024p5{"Pi{0}"}
1024p6{"Ei{0}"}
1024p7{"Zi{0}"}
1024p8{"Yi{0}"}
10p-1{"d{0}"}
10p-12{"p{0}"}
10p-15{"f{0}"}
10p-18{"a{0}"}
10p-2{"c{0}"}
10p-21{"z{0}"}
10p-24{"y{0}"}
10p-3{"m{0}"}
10p-6{"μ{0}"}
10p-9{"n{0}"}
10p1{"da{0}"}
10p12{"T{0}"}
10p15{"P{0}"}
10p18{"E{0}"}
10p2{"h{0}"}
10p21{"Z{0}"}
10p24{"Y{0}"}
10p3{"k{0}"}
10p6{"M{0}"}
10p9{"G{0}"}
per{"{0}/{1}"}
power2{
other{
_{
_{"{0}²"}
}
}
}
power3{
other{
_{
_{"{0}³"}
}
}
}
times{"{0}⋅{1}"}
}
concentr{
item{
dnam{"item"}
other{"{0} item"}
}
karat{
dnam{"kt"}
other{"{0} kt"}
}
milligram-ofglucose-per-deciliter{
dnam{"mg/dL"}
other{"{0} mg/dL"}
}
millimole-per-liter{
dnam{"mmol/L"}
other{"{0} mmol/L"}
}
mole{
dnam{"mol"}
other{"{0} mol"}
}
percent{
dnam{"%"}
other{"{0}%"}
}
permille{
dnam{"‰"}
other{"{0}‰"}
}
permillion{
dnam{"ppm"}
other{"{0} ppm"}
}
permyriad{
dnam{"‱"}
other{"{0}‱"}
}
}
consumption{
liter-per-100-kilometer{
dnam{"L/100km"}
other{"{0} L/100km"}
}
liter-per-kilometer{
dnam{"L/km"}
other{"{0} L/km"}
}
mile-per-gallon{
dnam{"mpg US"}
other{"{0} mpg US"}
}
mile-per-gallon-imperial{
dnam{"mpg Imp."}
other{"{0} mpg Imp."}
}
}
coordinate{
dnam{"direction"}
east{"{0}E"}
north{"{0}N"}
south{"{0}S"}
west{"{0}W"}
}
digital{
bit{
dnam{"bit"}
other{"{0} bit"}
}
byte{
dnam{"byte"}
other{"{0} byte"}
}
gigabit{
dnam{"Gb"}
other{"{0} Gb"}
}
gigabyte{
dnam{"GB"}
other{"{0} GB"}
}
kilobit{
dnam{"kb"}
other{"{0} kb"}
}
kilobyte{
dnam{"kB"}
other{"{0} kB"}
}
megabit{
dnam{"Mb"}
other{"{0} Mb"}
}
megabyte{
dnam{"MB"}
other{"{0} MB"}
}
petabyte{
dnam{"PB"}
other{"{0} PB"}
}
terabit{
dnam{"Tb"}
other{"{0} Tb"}
}
terabyte{
dnam{"TB"}
other{"{0} TB"}
}
}
duration{
century{
dnam{"c"}
other{"{0} c"}
}
day{
dnam{"day"}
other{"{0} d"}
per{"{0}/d"}
}
day-person:alias{"/LOCALE/unitsShort/duration/day"}
decade{
dnam{"dec"}
other{"{0} dec"}
}
hour{
dnam{"hr"}
other{"{0} h"}
per{"{0}/h"}
}
microsecond{
dnam{"μs"}
other{"{0} μs"}
}
millisecond{
dnam{"ms"}
other{"{0} ms"}
}
minute{
dnam{"min"}
other{"{0} min"}
per{"{0}/min"}
}
month{
dnam{"mon"}
other{"{0} m"}
per{"{0}/m"}
}
month-person:alias{"/LOCALE/unitsShort/duration/month"}
nanosecond{
dnam{"ns"}
other{"{0} ns"}
}
quarter{
dnam{"qtr"}
other{"{0} q"}
per{"{0}/q"}
}
second{
dnam{"sec"}
other{"{0} s"}
per{"{0}/s"}
}
week{
dnam{"wk"}
other{"{0} w"}
per{"{0}/w"}
}
week-person:alias{"/LOCALE/unitsShort/duration/week"}
year{
dnam{"yr"}
other{"{0} y"}
per{"{0}/y"}
}
year-person:alias{"/LOCALE/unitsShort/duration/year"}
}
electric{
ampere{
dnam{"amp"}
other{"{0} A"}
}
milliampere{
dnam{"mA"}
other{"{0} mA"}
}
ohm{
dnam{"ohm"}
other{"{0} Ω"}
}
volt{
dnam{"volt"}
other{"{0} V"}
}
}
energy{
british-thermal-unit{
dnam{"Btu"}
other{"{0} Btu"}
}
calorie{
dnam{"cal"}
other{"{0} cal"}
}
electronvolt{
dnam{"eV"}
other{"{0} eV"}
}
foodcalorie:alias{"/LOCALE/unitsShort/energy/kilocalorie"}
joule{
dnam{"joule"}
other{"{0} J"}
}
kilocalorie{
dnam{"kcal"}
other{"{0} kcal"}
}
kilojoule{
dnam{"kJ"}
other{"{0} kJ"}
}
kilowatt-hour{
dnam{"kWh"}
other{"{0} kWh"}
}
therm-us{
dnam{"US therm"}
other{"{0} US therm"}
}
}
force{
kilowatt-hour-per-100-kilometer{
dnam{"kWh/100km"}
other{"{0} kWh/100km"}
}
newton{
dnam{"N"}
other{"{0} N"}
}
pound-force{
dnam{"lbf"}
other{"{0} lbf"}
}
}
frequency{
gigahertz{
dnam{"GHz"}
other{"{0} GHz"}
}
hertz{
dnam{"Hz"}
other{"{0} Hz"}
}
kilohertz{
dnam{"kHz"}
other{"{0} kHz"}
}
megahertz{
dnam{"MHz"}
other{"{0} MHz"}
}
}
graphics{
dot-per-centimeter:alias{"/LOCALE/unitsShort/graphics/pixel-per-centimeter"}
dot-per-inch:alias{"/LOCALE/unitsShort/graphics/pixel-per-inch"}
dot:alias{"/LOCALE/unitsShort/graphics/pixel"}
em{
dnam{"em"}
other{"{0} em"}
}
megapixel{
dnam{"MP"}
other{"{0} MP"}
}
pixel{
dnam{"px"}
other{"{0} px"}
}
pixel-per-centimeter{
dnam{"ppcm"}
other{"{0} ppcm"}
}
pixel-per-inch{
dnam{"ppi"}
other{"{0} ppi"}
}
}
length{
astronomical-unit{
dnam{"au"}
other{"{0} au"}
}
centimeter{
dnam{"cm"}
other{"{0} cm"}
per{"{0}/cm"}
}
decimeter{
dnam{"dm"}
other{"{0} dm"}
}
earth-radius{
dnam{"R⊕"}
other{"{0} R⊕"}
}
fathom{
dnam{"fm"}
other{"{0} fth"}
}
foot{
dnam{"ft"}
other{"{0} ft"}
per{"{0}/ft"}
}
furlong{
dnam{"fur"}
other{"{0} fur"}
}
inch{
dnam{"in"}
other{"{0} in"}
per{"{0}/in"}
}
kilometer{
dnam{"km"}
other{"{0} km"}
per{"{0}/km"}
}
light-year{
dnam{"ly"}
other{"{0} ly"}
}
meter{
dnam{"meter"}
other{"{0} m"}
per{"{0}/m"}
}
micrometer{
dnam{"μm"}
other{"{0} μm"}
}
mile{
dnam{"mi"}
other{"{0} mi"}
}
mile-scandinavian{
dnam{"smi"}
other{"{0} smi"}
}
millimeter{
dnam{"mm"}
other{"{0} mm"}
}
nanometer{
dnam{"nm"}
other{"{0} nm"}
}
nautical-mile{
dnam{"nmi"}
other{"{0} nmi"}
}
parsec{
dnam{"pc"}
other{"{0} pc"}
}
picometer{
dnam{"pm"}
other{"{0} pm"}
}
point{
dnam{"pt"}
other{"{0} pt"}
}
solar-radius{
dnam{"R☉"}
other{"{0} R☉"}
}
yard{
dnam{"yd"}
other{"{0} yd"}
}
}
light{
candela{
dnam{"cd"}
other{"{0} cd"}
}
lumen{
dnam{"lm"}
other{"{0} lm"}
}
lux{
dnam{"lx"}
other{"{0} lx"}
}
solar-luminosity{
dnam{"L☉"}
other{"{0} L☉"}
}
}
mass{
carat{
dnam{"CD"}
other{"{0} CD"}
}
dalton{
dnam{"Da"}
other{"{0} Da"}
}
earth-mass{
dnam{"M⊕"}
other{"{0} M⊕"}
}
grain{
dnam{"grain"}
other{"{0} grain"}
}
gram{
dnam{"gram"}
other{"{0} g"}
per{"{0}/g"}
}
kilogram{
dnam{"kg"}
other{"{0} kg"}
per{"{0}/kg"}
}
microgram{
dnam{"μg"}
other{"{0} μg"}
}
milligram{
dnam{"mg"}
other{"{0} mg"}
}
ounce{
dnam{"oz"}
other{"{0} oz"}
per{"{0}/oz"}
}
ounce-troy{
dnam{"oz t"}
other{"{0} oz t"}
}
pound{
dnam{"lb"}
other{"{0} lb"}
per{"{0}/lb"}
}
solar-mass{
dnam{"M☉"}
other{"{0} M☉"}
}
stone{
dnam{"st"}
other{"{0} st"}
}
ton{
dnam{"tn"}
other{"{0} tn"}
}
tonne{
dnam{"t"}
other{"{0} t"}
}
}
power{
gigawatt{
dnam{"GW"}
other{"{0} GW"}
}
horsepower{
dnam{"hp"}
other{"{0} hp"}
}
kilowatt{
dnam{"kW"}
other{"{0} kW"}
}
megawatt{
dnam{"MW"}
other{"{0} MW"}
}
milliwatt{
dnam{"mW"}
other{"{0} mW"}
}
watt{
dnam{"watt"}
other{"{0} W"}
}
}
pressure{
atmosphere{
dnam{"atm"}
other{"{0} atm"}
}
bar{
dnam{"bar"}
other{"{0} bar"}
}
hectopascal{
dnam{"hPa"}
other{"{0} hPa"}
}
inch-ofhg{
dnam{"inHg"}
other{"{0} inHg"}
}
kilopascal{
dnam{"kPa"}
other{"{0} kPa"}
}
megapascal{
dnam{"MPa"}
other{"{0} MPa"}
}
millibar{
dnam{"mbar"}
other{"{0} mbar"}
}
millimeter-ofhg{
dnam{"mm Hg"}
other{"{0} mm Hg"}
}
pascal{
dnam{"Pa"}
other{"{0} Pa"}
}
pound-force-per-square-inch{
dnam{"psi"}
other{"{0} psi"}
}
}
speed{
kilometer-per-hour{
dnam{"km/h"}
other{"{0} km/h"}
}
knot{
dnam{"kn"}
other{"{0} kn"}
}
meter-per-second{
dnam{"m/s"}
other{"{0} m/s"}
}
mile-per-hour{
dnam{"mi/h"}
other{"{0} mi/h"}
}
}
temperature{
celsius{
dnam{"°C"}
other{"{0}°C"}
}
fahrenheit{
dnam{"°F"}
other{"{0}°F"}
}
generic{
dnam{"°"}
other{"{0}°"}
}
kelvin{
dnam{"K"}
other{"{0} K"}
}
}
torque{
newton-meter{
dnam{"N⋅m"}
other{"{0} N⋅m"}
}
pound-force-foot{
dnam{"lbf⋅ft"}
other{"{0} lbf⋅ft"}
}
}
volume{
acre-foot{
dnam{"ac ft"}
other{"{0} ac ft"}
}
barrel{
dnam{"bbl"}
other{"{0} bbl"}
}
bushel{
dnam{"bu"}
other{"{0} bu"}
}
centiliter{
dnam{"cL"}
other{"{0} cL"}
}
cubic-centimeter{
dnam{"cm³"}
other{"{0} cm³"}
per{"{0}/cm³"}
}
cubic-foot{
dnam{"ft³"}
other{"{0} ft³"}
}
cubic-inch{
dnam{"in³"}
other{"{0} in³"}
}
cubic-kilometer{
dnam{"km³"}
other{"{0} km³"}
}
cubic-meter{
dnam{"m³"}
other{"{0} m³"}
per{"{0}/m³"}
}
cubic-mile{
dnam{"mi³"}
other{"{0} mi³"}
}
cubic-yard{
dnam{"yd³"}
other{"{0} yd³"}
}
cup{
dnam{"cup"}
other{"{0} c"}
}
cup-metric{
dnam{"mcup"}
other{"{0} mc"}
}
deciliter{
dnam{"dL"}
other{"{0} dL"}
}
dessert-spoon{
dnam{"dstspn"}
other{"{0} dstspn"}
}
dessert-spoon-imperial{
dnam{"dstspn Imp"}
other{"{0} dstspn Imp"}
}
dram{
dnam{"dram fluid"}
other{"{0} dram fl"}
}
drop{
dnam{"drop"}
other{"{0} drop"}
}
fluid-ounce{
dnam{"US fl oz"}
other{"{0} fl oz US"}
}
fluid-ounce-imperial{
dnam{"Imp. fl oz"}
other{"{0} fl oz Imp."}
}
gallon{
dnam{"US gal"}
other{"{0} gal US"}
per{"{0}/gal US"}
}
gallon-imperial{
dnam{"Imp. gal"}
other{"{0} gal Imp."}
per{"{0}/gal Imp."}
}
hectoliter{
dnam{"hL"}
other{"{0} hL"}
}
jigger{
dnam{"jigger"}
other{"{0} jigger"}
}
liter{
dnam{"liter"}
other{"{0} l"}
per{"{0}/l"}
}
megaliter{
dnam{"ML"}
other{"{0} ML"}
}
milliliter{
dnam{"mL"}
other{"{0} mL"}
}
pinch{
dnam{"pinch"}
other{"{0} pinch"}
}
pint{
dnam{"pt"}
other{"{0} pt"}
}
pint-metric{
dnam{"mpt"}
other{"{0} mpt"}
}
quart{
dnam{"qt"}
other{"{0} qt"}
}
quart-imperial{
dnam{"qt Imp"}
other{"{0} qt Imp."}
}
tablespoon{
dnam{"tbsp"}
other{"{0} tbsp"}
}
teaspoon{
dnam{"tsp"}
other{"{0} tsp"}
}
}
body-weight-per-second{
dnam{"BW/s"}
other{"{0} BW/s"}
}
breath-per-minute{
dnam{"brpm"}
other{"{0} brpm"}
}
foot-per-hour{
dnam{"ft/h"}
other{"{0} ft/h"}
}
jump-rope-per-minute{
dnam{"jump/minute"}
one{"{0} jump/minute"}
other{"{0} jumps/minute"}
}
meter-per-hour{
dnam{"m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
dnam{"ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
dnam{"rpm"}
other{"{0} rpm"}
}
step-per-minute{
dnam{"step/min"}
one{"{0} step/min"}
other{"{0} steps/min"}
}
stroke-per-minute{
dnam{"stroke/min"}
one{"{0} stroke/min"}
other{"{0} strokes/min"}
}
}

View File

@ -1,781 +1,42 @@
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
// Generated using tools/cldr/cldr-to-icu/build-icu-data.xml
ug{
units{
zohos{
beat-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
body-weight-per-second{
one{"{0} BW/s"}
other{"{0} BW/s"}
}
breath-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
foot-per-hour{
one{"{0} ft/h"}
other{"{0} ft/h"}
}
jump-rope-speed{
one{"{0} ئاتلام/مىنۇت"}
other{"{0} ئاتلام/مىنۇت"}
}
meter-per-hour{
one{"{0} m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
one{"{0} ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
step-per-minute{
one{"{0} قەدەم/مىنۇت"}
other{"{0} قەدەم/مىنۇت"}
}
stroke-per-minute{
one{"{0} پالاق/مىنۇت"}
other{"{0} پالاق/مىنۇت"}
}
}
acceleration{
g-force{
one{"{0} ئېغىرلىق كۈچى"}
other{"{0} ئېغىرلىق كۈچى"}
}
}
angle{
degree{
one{"{0} گىرادۇس"}
other{"{0} گىرادۇس"}
}
}
area{
acre{
one{"{0} ئىنگلىز موسى"}
other{"{0} ئىنگلىز موسى"}
}
hectare{
one{"{0} گېكتار"}
other{"{0} hectares"}
}
square-foot{
one{"{0} كۋادرات فۇت"}
other{"{0} كۋادرات فۇت"}
}
square-kilometer{
one{"{0} كۋادرات كىلومېتىر"}
other{"{0} كۋادرات كىلومېتىر"}
}
square-meter{
one{"{0} كۋادرات مېتىر"}
other{"{0} كۋادرات مېتىر"}
}
square-mile{
one{"{0} كۋادرات مىل"}
other{"{0} كۋادرات مىل"}
}
}
compound{
per{"{0}/{1}"}
}
duration{
day{
one{"{0} كۈن"}
other{"{0} كۈن"}
}
hour{
one{"{0} سائەت"}
other{"{0} سائەت"}
}
millisecond{
one{"{0} مىللى سېكۇنت"}
other{"{0} مىللى سېكۇنت"}
}
minute{
one{"{0} مىنۇت"}
other{"{0} مىنۇت"}
}
month{
one{"{0} ئاي"}
other{"{0} ئاي"}
}
second{
one{"{0} سېكۇنت"}
other{"{0} سېكۇنت"}
}
week{
one{"{0} ھەپتە"}
other{"{0} ھەپتە"}
}
year{
one{"{0} يىل"}
other{"{0} يىل"}
}
}
length{
centimeter{
one{"{0} سانتىمېتىر"}
other{"{0} سانتىمېتىر"}
}
foot{
one{"{0} فۇت"}
other{"{0} فۇت"}
}
inch{
one{"{0} ديۇيم"}
other{"{0} ديۇيم"}
}
kilometer{
one{"{0} كىلومېتىر"}
other{"{0} كىلومېتىر"}
}
light-year{
one{"{0} يورۇقلۇق يىلى"}
other{"{0} يورۇقلۇق يىلى"}
}
meter{
one{"{0} مېتىر"}
other{"{0} مېتىر"}
}
mile{
one{"{0} مىل"}
other{"{0} مىل"}
}
millimeter{
one{"{0} مىللىمېتىر"}
other{"{0} مىللىمېتىر"}
}
picometer{
one{"{0} پىكومېتىر"}
other{"{0} پىكومېتىر"}
}
yard{
one{"{0} يارد"}
other{"{0} يارد"}
}
}
mass{
gram{
one{"{0} گرام"}
other{"{0} گرام"}
}
kilogram{
one{"{0} كىلوگرام"}
other{"{0} كىلوگرام"}
}
ounce{
one{"{0} ئۇنسىيە"}
other{"{0} ئۇنسىيە"}
}
pound{
one{"{0} قاداق"}
other{"{0} قاداق"}
}
}
power{
horsepower{
one{"{0} ئات كۈچى"}
other{"{0} ئات كۈچى"}
}
kilowatt{
one{"{0} كىلوۋات"}
other{"{0} كىلوۋات"}
}
watt{
one{"{0} ۋات"}
other{"{0} ۋات"}
}
}
pressure{
hectopascal{
one{"{0} يۈز پاسكال"}
other{"{0} يۈز پاسكال"}
}
inch-ofhg{
one{"{0} ديۇيم سىماب تۈۋرۇكى"}
other{"{0} ديۇيم سىماب تۈۋرۇكى"}
}
millibar{
one{"{0} مىللىبار"}
other{"{0} مىللىبار"}
}
}
speed{
kilometer-per-hour{
one{"{0} كىلومېتىر ھەر سائەت"}
other{"{0} كىلومېتىر ھەر سائەت"}
}
meter-per-second{
one{"{0} مېتىر ھەر سېكۇنت"}
other{"{0} مېتىر ھەر سېكۇنت"}
}
mile-per-hour{
one{"{0} مىل ھەر سائەت"}
other{"{0} مىل ھەر سائەت"}
}
}
temperature{
celsius{
one{"{0} سېلسىيە گرادۇس"}
other{"{0} سېلسىيە گرادۇس"}
}
fahrenheit{
one{"{0} فارېنگېيت گرادۇس"}
other{"{0} فارېنگېيت گرادۇس"}
}
}
volume{
cubic-kilometer{
one{"{0} كۇب كىلومېتىر"}
other{"{0} كۇب كىلومېتىر"}
}
cubic-mile{
one{"{0} كۇب مىل"}
other{"{0} كۇب مىل"}
}
liter{
one{"{0} لىتېر"}
other{"{0} لىتېر"}
}
}
zohos{
beat-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
unitsNarrow{
zohos{
beat-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
body-weight-per-second{
one{"{0} BW/s"}
other{"{0} BW/s"}
}
breath-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
foot-per-hour{
one{"{0} ft/h"}
other{"{0} ft/h"}
}
jump-rope-speed{
one{"{0} ئاتلام/مىنۇت"}
other{"{0} ئاتلام/مىنۇت"}
}
meter-per-hour{
one{"{0} m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
one{"{0} ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
step-per-minute{
one{"{0} قەدەم/مىنۇت"}
other{"{0} قەدەم/مىنۇت"}
}
stroke-per-minute{
one{"{0} پالاق/مىنۇت"}
other{"{0} پالاق/مىنۇت"}
}
}
acceleration{
g-force{
one{"{0}G"}
other{"{0}Gs"}
}
}
angle{
degree{
one{"{0}°"}
other{"{0}°"}
}
}
area{
acre{
one{"{0}ac"}
other{"{0}ac"}
}
hectare{
one{"{0}گېكتار"}
other{"{0}گېكتار"}
}
square-foot{
one{"{0}ft²"}
other{"{0}ft²"}
}
square-mile{
one{"{0}mi²"}
other{"{0}mi²"}
}
}
digital{
bit{
dnam{"bit"}
one{"{0}bit"}
other{"{0}bit"}
}
byte{
dnam{"byte"}
one{"{0}B"}
other{"{0}B"}
}
gigabit{
dnam{"Gbit"}
one{"{0}Gb"}
other{"{0}Gb"}
}
gigabyte{
dnam{"GByte"}
one{"{0}GB"}
other{"{0}GB"}
}
kilobit{
dnam{"kbit"}
one{"{0}kb"}
other{"{0}kb"}
}
kilobyte{
dnam{"kByte"}
one{"{0}kB"}
other{"{0}kB"}
}
megabit{
dnam{"Mbit"}
one{"{0}Mb"}
other{"{0}Mb"}
}
megabyte{
dnam{"MByte"}
one{"{0}MB"}
other{"{0}MB"}
}
terabit{
dnam{"Tbit"}
one{"{0}Tb"}
other{"{0}Tb"}
}
terabyte{
dnam{"TByte"}
one{"{0}TB"}
other{"{0}TB"}
}
}
duration{
day{
one{"{0} كۈن"}
other{"{0} كۈن"}
}
hour{
one{"{0}h"}
other{"{0}h"}
}
millisecond{
one{"{0}ms"}
other{"{0}ms"}
}
minute{
one{"{0}m"}
other{"{0}m"}
}
month{
one{"{0} ئاي"}
other{"{0} ئاي"}
}
second{
one{"{0}s"}
other{"{0}s"}
}
week{
one{"{0} ھەپتە"}
other{"{0} ھەپتە"}
}
year{
one{"{0} يىل"}
other{"{0} يىل"}
}
}
length{
centimeter{
one{"{0}cm"}
other{"{0}cm"}
}
foot{
one{"{0}"}
other{"{0}"}
}
inch{
one{"{0}″"}
other{"{0}″"}
}
kilometer{
one{"{0}km"}
other{"{0}km"}
}
light-year{
one{"{0}ly"}
other{"{0}ly"}
}
meter{
one{"{0}m"}
other{"{0}m"}
}
mile{
one{"{0}mi"}
other{"{0}mi"}
}
millimeter{
one{"{0}mm"}
other{"{0}mm"}
}
picometer{
one{"{0}pm"}
other{"{0}pm"}
}
yard{
one{"{0}yd"}
other{"{0}yd"}
}
}
mass{
gram{
one{"{0}g"}
other{"{0}g"}
}
kilogram{
one{"{0}kg"}
other{"{0}kg"}
}
ounce{
one{"{0}oz"}
other{"{0}oz"}
}
pound{
one{"{0}#"}
other{"{0}#"}
}
}
power{
horsepower{
one{"{0}hp"}
other{"{0}hp"}
}
kilowatt{
one{"{0}kW"}
other{"{0}kW"}
}
watt{
one{"{0}W"}
other{"{0}W"}
}
}
pressure{
hectopascal{
one{"{0}hPa"}
other{"{0}hPa"}
}
inch-ofhg{
one{"{0}\u0022 Hg"}
other{"{0}\u0022 Hg"}
}
millibar{
one{"{0}mb"}
other{"{0}mb"}
}
}
speed{
kilometer-per-hour{
one{"{0}kph"}
other{"{0}kph"}
}
meter-per-second{
one{"{0}m/s"}
other{"{0}m/s"}
}
mile-per-hour{
one{"{0}mph"}
other{"{0}mph"}
}
}
temperature{
celsius{
one{"{0}°"}
other{"{0}°"}
}
fahrenheit{
one{"{0}°F"}
other{"{0}°F"}
}
}
volume{
cubic-kilometer{
one{"{0}km³"}
other{"{0}km³"}
}
cubic-mile{
one{"{0}mi³"}
other{"{0}mi³"}
}
liter{
one{"{0}l"}
other{"{0}l"}
}
}
body-weight-per-second{
one{"{0} BW/s"}
other{"{0} BW/s"}
}
unitsShort{
zohos{
beat-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
body-weight-per-second{
one{"{0} BW/s"}
other{"{0} BW/s"}
}
breath-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
foot-per-hour{
one{"{0} ft/h"}
other{"{0} ft/h"}
}
jump-rope-speed{
one{"{0} ئاتلام/مىنۇت"}
other{"{0} ئاتلام/مىنۇت"}
}
meter-per-hour{
one{"{0} m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
one{"{0} ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
step-per-minute{
one{"{0} قەدەم/مىنۇت"}
other{"{0} قەدەم/مىنۇت"}
}
stroke-per-minute{
one{"{0} پالاق/مىنۇت"}
other{"{0} پالاق/مىنۇت"}
}
}
acceleration{
g-force{
one{"{0} G"}
other{"{0} G"}
}
}
angle{
degree{
one{"{0} گىرادۇس"}
other{"{0} گىرادۇس"}
}
}
area{
acre{
one{"{0} ئىنگلىز موسى"}
other{"{0} ئىنگلىز موسى"}
}
hectare{
one{"{0} گېكتار"}
other{"{0} گېكتار"}
}
square-foot{
one{"{0} كۋادرات فۇت"}
other{"{0} كۋادرات فۇت"}
}
square-kilometer{
one{"{0} km²"}
other{"{0} km²"}
}
square-meter{
one{"{0} m²"}
other{"{0} m²"}
}
square-mile{
one{"{0} كۋادرات مىل"}
other{"{0} كۋادرات مىل"}
}
}
compound{
per{"{0}/{1}"}
}
duration{
day{
one{"{0} كۈن"}
other{"{0} كۈن"}
}
hour{
one{"{0} سائەت"}
other{"{0} سائەت"}
}
millisecond{
one{"{0} مىللىسېكۇنت"}
other{"{0} مىللىسېكۇنت"}
}
minute{
one{"{0} مىنۇت"}
other{"{0} مىنۇت"}
}
month{
one{"{0} ئاي"}
other{"{0} ئاي"}
}
second{
one{"{0} سېكۇنت"}
other{"{0} سېكۇنت"}
}
week{
one{"{0} ھەپتە"}
other{"{0} ھەپتە"}
}
year{
one{"{0} يىل"}
other{"{0} يىل"}
}
}
length{
centimeter{
one{"{0} سانتىمېتىر"}
other{"{0} سانتىمېتىر"}
}
foot{
one{"{0} پۇت"}
other{"{0} پۇت"}
}
inch{
one{"{0} ئىنگلىز چىسى"}
other{"{0} ئىنگلىز چىسى"}
}
kilometer{
one{"{0} كىلومېتىر"}
other{"{0} كىلومېتىر"}
}
light-year{
one{"{0} يورۇقلۇق يىلى"}
other{"{0} يورۇقلۇق يىلى"}
}
meter{
one{"{0} مېتىر"}
other{"{0} مېتىر"}
}
mile{
one{"{0} مىل"}
other{"{0} مىل"}
}
millimeter{
one{"{0} مىللىمېتىر"}
other{"{0} مىللىمېتىر"}
}
picometer{
one{"{0} پىكومېتىر"}
other{"{0} پىكومېتىر"}
}
yard{
one{"{0} يارد"}
other{"{0} يارد"}
}
}
mass{
gram{
one{"{0} g"}
other{"{0} g"}
}
kilogram{
one{"{0} kg"}
other{"{0} kg"}
}
ounce{
one{"{0} ئۇنسىيە"}
other{"{0} ئۇنسىيە"}
}
pound{
one{"{0} قاداق"}
other{"{0} قاداق"}
}
}
power{
horsepower{
one{"{0} ئات كۈچى"}
other{"{0} ئات كۈچى"}
}
kilowatt{
one{"{0} kW"}
other{"{0} kW"}
}
watt{
one{"{0} W"}
other{"{0} W"}
}
}
pressure{
hectopascal{
one{"{0} ھېكتوپاسكال"}
other{"{0} ھېكتوپاسكال"}
}
inch-ofhg{
one{"{0} inHg"}
other{"{0} inHg"}
}
millibar{
one{"{0} mbar"}
other{"{0} mbar"}
}
}
speed{
kilometer-per-hour{
one{"{0} سائەت/كىلومېتىر"}
other{"{0} سائەت/كىلومېتىر"}
}
meter-per-second{
one{"{0} سېكۇنت/مېتىر"}
other{"{0} سېكۇنت/مېتىر"}
}
mile-per-hour{
one{"{0} سائەت/مىل"}
other{"{0} سائەت/مىل"}
}
}
temperature{
celsius{
one{"{0}°C"}
other{"{0}°C"}
}
fahrenheit{
one{"{0}°F"}
other{"{0}°F"}
}
}
volume{
cubic-kilometer{
one{"{0} km³"}
other{"{0} km³"}
}
cubic-mile{
one{"{0} mi³"}
other{"{0} mi³"}
}
liter{
one{"{0} l"}
other{"{0} l"}
}
}
breath-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
foot-per-hour{
one{"{0} ft/h"}
other{"{0} ft/h"}
}
jump-rope-per-minute{
one{"{0} ئاتلام/مىنۇت"}
other{"{0} ئاتلام/مىنۇت"}
}
meter-per-hour{
one{"{0} m/h"}
other{"{0} m/h"}
}
milliliter-per-minute-per-kilogram{
one{"{0} ml/kg/min"}
other{"{0} ml/kg/min"}
}
rotation-per-minute{
one{"{0} ق/م"}
other{"{0} ق/م"}
}
step-per-minute{
one{"{0} قەدەم/مىنۇت"}
other{"{0} قەدەم/مىنۇت"}
}
stroke-per-minute{
one{"{0} پالاق/مىنۇت"}
other{"{0} پالاق/مىنۇت"}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,69 @@
# Copyright (c) 2024 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import argparse
import os
def copy_content(src_file, dest_file, out_file):
if os.path.exists(src_file):
with open(src_file, 'r', encoding='utf-8') as f:
src_content = f.read().splitlines()
else:
src_content = []
with open(dest_file, 'r', encoding='utf-8') as f:
if 'bo.txt' in src_file:
dest_content = f.read().replace('root', 'bo').splitlines(True)
print(src_file)
else:
dest_content = f.read().splitlines(True)
data = ''
for line in dest_content:
data += line
if ('units{' in line) or ('unitsNarrow{' in line) or ('unitsShort{' in line):
for content in src_content:
data = data + ' ' + content + '\n'
with open(out_file, 'w', encoding='utf-8') as f:
f.write(data)
def copy_file(src_file, dest_file):
with open(src_file, 'r', encoding='utf-8') as f:
data = f.read()
with open(dest_file, 'w', encoding='utf-8') as f:
f.write(data)
if __name__=='__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--icu_src_dir', type=str)
parser.add_argument('--ohos_src_dir', type=str)
parser.add_argument('--out_dir', type=str)
args = parser.parse_args()
out_dir = args.out_dir + '/out/temp/'
os.makedirs(out_dir + '/unit/', exist_ok=True)
files = ['/unit/en_001.txt', '/unit/root.txt', '/unit/ug.txt', '/unit/zh_Hant_HK.txt', '/unit/zh_Hant.txt', '/unit/zh.txt']
for file in files:
copy_content(args.ohos_src_dir + file, args.icu_src_dir + file, out_dir + file)
copy_content(args.ohos_src_dir + '/unit/bo.txt', args.icu_src_dir + '/unit/root.txt', out_dir + '/unit/bo.txt')
copy_file(args.ohos_src_dir + '/data_filter.json', out_dir + '/data_filter.json')

View File

@ -61,6 +61,11 @@ icu_data_filter_file="$script_path/$icu_data_filter_dir/data_filter.json"
rm -rf "$out_put_root_path/thirdparty/icu/out/*"
python3 $script_path/ohos_data.py \
--icu_src_dir "$icu_source_path/source/data" \
--ohos_src_dir "$script_path/$icu_data_filter_dir/" \
--out_dir "$out_put_root_path/thirdparty/icu" \
gen_icu_data() {
# compile to res file
@ -68,7 +73,7 @@ gen_icu_data() {
--src_dir $icu_source_path/source/data \
--include_uni_core_data \
--seqmode sequential \
--filter_file $icu_data_filter_file \
--filter_file $out_put_root_path/thirdparty/icu/out/temp/data_filter.json \
--mode unix-exec \
--tool_dir $tool_bin_dir \
--out_dir $res_out_root_dir/out/build/$icu_dat_name \