mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 21:45:37 +00:00
ICU-22534 Integrate CLDR 45 release beta1
This commit is contained in:
parent
606623cf30
commit
4f2cefb7ca
9 changed files with 9 additions and 11 deletions
|
@ -64,9 +64,6 @@ en_CA{
|
|||
"unknown currency",
|
||||
}
|
||||
}
|
||||
Currencies%narrow{
|
||||
USD{"US$"}
|
||||
}
|
||||
CurrencyPlurals{
|
||||
AFN{
|
||||
one{"Afghan afghani"}
|
||||
|
|
|
@ -8,6 +8,7 @@ hi_Latn{
|
|||
BL{"St. Barthelemy"}
|
||||
CI{"Cote d’Ivoire"}
|
||||
CW{"Curacao"}
|
||||
IN{"Bharat"}
|
||||
KN{"St. Kitts & Nevis"}
|
||||
LC{"St. Lucia"}
|
||||
MF{"St. Martin"}
|
||||
|
|
|
@ -2155,7 +2155,7 @@ void NumberFormatterApiTest::unitCurrency() {
|
|||
NumberFormatter::with().unit(USD).unitWidth(UNUM_UNIT_WIDTH_NARROW),
|
||||
Locale("en-CA"),
|
||||
5.43,
|
||||
u"US$5.43");
|
||||
u"$5.43");
|
||||
|
||||
assertFormatSingle(
|
||||
u"Currency Difference between Narrow and Short (Short Version)",
|
||||
|
@ -4897,7 +4897,7 @@ void NumberFormatterApiTest::sign() {
|
|||
.unitWidth(UNUM_UNIT_WIDTH_NARROW),
|
||||
Locale::getCanada(),
|
||||
-444444,
|
||||
u"(US$444,444.00)");
|
||||
u"($444,444.00)");
|
||||
|
||||
assertFormatSingle(
|
||||
u"Sign Accounting Negative Short",
|
||||
|
|
|
@ -2053,7 +2053,7 @@ void NumberFormatTest::TestCurrencyNames() {
|
|||
&isChoiceFormat, &len, &ec)),
|
||||
possibleDataError);
|
||||
assertEquals("USD.getName(NARROW_SYMBOL_NAME, en_CA)",
|
||||
UnicodeString("US$"),
|
||||
UnicodeString("$"),
|
||||
UnicodeString(ucurr_getName(USD, "en_CA",
|
||||
UCURR_NARROW_SYMBOL_NAME,
|
||||
&isChoiceFormat, &len, &ec)),
|
||||
|
|
|
@ -6327,8 +6327,8 @@ public class NumberFormatTest extends CoreTestFmwk {
|
|||
pattern = pattern.replace("¤", "¤¤¤¤¤");
|
||||
df.applyPattern(pattern);
|
||||
// Note: Narrow currency is not parseable because of ambiguity.
|
||||
assertEquals("Narrow currency symbol for USD in en_CA is US$",
|
||||
"US$123.45", df.format(123.45));
|
||||
assertEquals("Narrow currency symbol for USD in en_CA is $",
|
||||
"$123.45", df.format(123.45));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -2178,7 +2178,7 @@ public class NumberFormatterApiTest extends CoreTestFmwk {
|
|||
NumberFormatter.with().unit(USD).unitWidth(UnitWidth.NARROW),
|
||||
ULocale.forLanguageTag("en-CA"),
|
||||
5.43,
|
||||
"US$5.43");
|
||||
"$5.43");
|
||||
|
||||
assertFormatSingle(
|
||||
"Currency Difference between Narrow and Short (Short Version)",
|
||||
|
@ -5120,7 +5120,7 @@ public class NumberFormatterApiTest extends CoreTestFmwk {
|
|||
NumberFormatter.with().sign(SignDisplay.ACCOUNTING).unit(USD).unitWidth(UnitWidth.NARROW),
|
||||
ULocale.CANADA,
|
||||
-444444,
|
||||
"(US$444,444.00)");
|
||||
"($444,444.00)");
|
||||
|
||||
assertFormatSingle(
|
||||
"Sign Accounting Negative Short",
|
||||
|
|
|
@ -226,7 +226,7 @@ public class CurrencyTest extends CoreTestFmwk {
|
|||
"US$",
|
||||
USD.getName(en_CA, Currency.SYMBOL_NAME, isChoiceFormat));
|
||||
assertEquals("USD.getName(NARROW_SYMBOL_NAME, en_CA)",
|
||||
"US$",
|
||||
"$",
|
||||
USD.getName(en_CA, Currency.NARROW_SYMBOL_NAME, isChoiceFormat));
|
||||
assertEquals("USD.getName(SYMBOL_NAME) in en_NZ",
|
||||
"US$",
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue