Skip to content

Commit

Permalink
minor #21790 [Intl] Update ICU data to 58.2 (jakzal)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 2.7 branch (closes #21790).

Discussion
----------

[Intl] Update ICU data to 58.2

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

ICU 58.2 was released: http://site.icu-project.org/download/58

Commits
-------

d135e5c [Intl] Make tests pass after the ICU data update
65faa10 [Intl] Update ICU data to 58.2
  • Loading branch information
fabpot committed Feb 27, 2017
2 parents 22968cd + d135e5c commit 70be4ba
Show file tree
Hide file tree
Showing 969 changed files with 20,788 additions and 11,390 deletions.
Expand Up @@ -24,7 +24,7 @@ protected function setUp()
parent::setUp();

// Since we test against "de_AT", we need the full implementation
IntlTestHelper::requireFullIntl($this);
IntlTestHelper::requireFullIntl($this, '57.1');

\Locale::setDefault('de_AT');

Expand Down
Expand Up @@ -228,7 +228,7 @@ public function testReverseTransform($to, $from, $locale)
public function testReverseTransformWithGrouping($to, $from, $locale)
{
// Since we test against other locales, we need the full implementation
IntlTestHelper::requireFullIntl($this, false);
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

\Locale::setDefault($locale);

Expand Down Expand Up @@ -377,7 +377,7 @@ public function testReverseTransformDoesNotRoundIfNoScale()
public function testDecimalSeparatorMayBeDotIfGroupingSeparatorIsNotDot()
{
// Since we test against other locales, we need the full implementation
IntlTestHelper::requireFullIntl($this, false);
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

\Locale::setDefault('fr');
$transformer = new NumberToLocalizedStringTransformer(null, true);
Expand All @@ -397,7 +397,7 @@ public function testDecimalSeparatorMayBeDotIfGroupingSeparatorIsNotDot()
public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDot()
{
// Since we test against "de_AT", we need the full implementation
IntlTestHelper::requireFullIntl($this, false);
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

\Locale::setDefault('de_AT');

Expand All @@ -412,7 +412,7 @@ public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDot()
public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDotWithNoGroupSep()
{
// Since we test against "de_DE", we need the full implementation
IntlTestHelper::requireFullIntl($this, false);
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

\Locale::setDefault('de_DE');

Expand All @@ -436,7 +436,7 @@ public function testDecimalSeparatorMayBeDotIfGroupingSeparatorIsDotButNoGroupin
public function testDecimalSeparatorMayBeCommaIfGroupingSeparatorIsNotComma()
{
// Since we test against other locales, we need the full implementation
IntlTestHelper::requireFullIntl($this, false);
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

\Locale::setDefault('bg');
$transformer = new NumberToLocalizedStringTransformer(null, true);
Expand All @@ -455,6 +455,8 @@ public function testDecimalSeparatorMayBeCommaIfGroupingSeparatorIsNotComma()
*/
public function testDecimalSeparatorMayNotBeCommaIfGroupingSeparatorIsComma()
{
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

$transformer = new NumberToLocalizedStringTransformer(null, true);

$transformer->reverseTransform('1,234,5');
Expand All @@ -465,6 +467,8 @@ public function testDecimalSeparatorMayNotBeCommaIfGroupingSeparatorIsComma()
*/
public function testDecimalSeparatorMayNotBeCommaIfGroupingSeparatorIsCommaWithNoGroupSep()
{
IntlTestHelper::requireFullIntl($this, '4.8.1.1');

$transformer = new NumberToLocalizedStringTransformer(null, true);

$transformer->reverseTransform('1234,5');
Expand Down
Expand Up @@ -504,7 +504,7 @@ public function testMonthsOption()
public function testMonthsOptionShortFormat()
{
// we test against "de_AT", so we need the full implementation
IntlTestHelper::requireFullIntl($this);
IntlTestHelper::requireFullIntl($this, '57.1');

\Locale::setDefault('de_AT');

Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Intl/Intl.php
Expand Up @@ -234,7 +234,7 @@ public static function getIcuDataVersion()
*/
public static function getIcuStubVersion()
{
return '57.1';
return '58.2';
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/Intl/Resources/bin/icu.ini
Expand Up @@ -13,3 +13,4 @@
54 = http://source.icu-project.org/repos/icu/icu/tags/release-54-1/source
55 = http://source.icu-project.org/repos/icu/icu/tags/release-55-1/source
57 = http://source.icu-project.org/repos/icu/icu/tags/release-57-1/source
58 = http://source.icu-project.org/repos/icu/tags/release-58-2/icu4c/source
8 changes: 6 additions & 2 deletions src/Symfony/Component/Intl/Resources/data/currencies/af.json
@@ -1,5 +1,5 @@
{
"Version": "2.1.22.93",
"Version": "2.1.29.44",
"Names": {
"AED": [
"AED",
Expand Down Expand Up @@ -93,9 +93,13 @@
"BWP",
"Botswana pula"
],
"BYN": [
"BYN",
"Belo-Russiese roebel"
],
"BYR": [
"BYR",
"Belo-Russiese roebel"
"Belo-Russiese roebel (2000–2016)"
],
"BZD": [
"BZD",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"NAD": [
"$",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.23.7",
"Version": "2.1.27.40",
"Names": {
"AED": [
"AED",
Expand Down
14 changes: 9 additions & 5 deletions src/Symfony/Component/Intl/Resources/data/currencies/am.json
@@ -1,5 +1,5 @@
{
"Version": "2.1.22.93",
"Version": "2.1.28.79",
"Names": {
"AED": [
"AED",
Expand Down Expand Up @@ -93,9 +93,13 @@
"BWP",
"የቦትስዋና ፑላ"
],
"BYN": [
"BYN",
"የቤላሩስያ ሩብል"
],
"BYR": [
"BYR",
"የቤላሩስያ ሩብል"
"የቤላሩስያ ሩብል (2000–2016)"
],
"BZD": [
"BZD",
Expand Down Expand Up @@ -363,7 +367,7 @@
],
"MMK": [
"MMK",
"ምያንማ ክያት"
"የማያናማር ክያት"
],
"MNT": [
"MNT",
Expand Down Expand Up @@ -611,15 +615,15 @@
],
"XAF": [
"FCFA",
"ሴኤፍአ ፍራንክ ቤእአሴ"
"የመካከለኛው አፍሪካ ሴፋ ፍራንክ"
],
"XCD": [
"EC$",
"የምዕራብ ካሪብያን ዶላር"
],
"XOF": [
"CFA",
"ሴኤፍአ ፍራንክ ቤሴእአኦ"
"የምዕራብ አፍሪካ ሴፋ ፍራንክ"
],
"XPF": [
"CFPF",
Expand Down
18 changes: 11 additions & 7 deletions src/Symfony/Component/Intl/Resources/data/currencies/ar.json
@@ -1,5 +1,5 @@
{
"Version": "2.1.22.93",
"Version": "2.1.28.79",
"Names": {
"ADP": [
"ADP",
Expand Down Expand Up @@ -173,9 +173,13 @@
"BYB",
"روبل بيلاروسي جديد - 1994-1999"
],
"BYN": [
"BYN",
"روبل بيلاروسي"
],
"BYR": [
"BYR",
"روبل بيلاروسي"
"روبل بيلاروسي (٢٠٠٠–٢٠١٦)"
],
"BZD": [
"BZD",
Expand Down Expand Up @@ -382,7 +386,7 @@
"فورينت مجري"
],
"IDR": [
"ر.إن.",
"IDR",
"روبية إندونيسية"
],
"IEP": [
Expand All @@ -399,7 +403,7 @@
],
"INR": [
"",
"روبيه هندي"
"روبية هندي"
],
"IQD": [
"د.ع.‏",
Expand Down Expand Up @@ -654,7 +658,7 @@
"بيزو فلبيني"
],
"PKR": [
"ر.ب.",
"PKR",
"روبية باكستاني"
],
"PLN": [
Expand Down Expand Up @@ -766,7 +770,7 @@
"جلدر سورينامي"
],
"SSP": [
"ج.ج.س.",
"SSP",
"جنيه جنوب السودان"
],
"STD": [
Expand Down Expand Up @@ -826,7 +830,7 @@
"ليرة تركي"
],
"TRY": [
"ل.ت.",
"TRY",
"ليرة تركية"
],
"TTD": [
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"DJF": [
"Fdj",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"ERN": [
"Nfk",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"SDG": [
"SDG",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"SOS": [
"S",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"GBP": [
"GB£",
Expand Down
8 changes: 6 additions & 2 deletions src/Symfony/Component/Intl/Resources/data/currencies/az.json
@@ -1,5 +1,5 @@
{
"Version": "2.1.23.7",
"Version": "2.1.28.79",
"Names": {
"ADP": [
"ADP",
Expand Down Expand Up @@ -189,9 +189,13 @@
"BYB",
"Belarus Yeni Rublu (1994–1999)"
],
"BYN": [
"BYN",
"Belarus Rublu"
],
"BYR": [
"BYR",
"Belarus Rublu"
"Belarus Rublu (2000–2016)"
],
"BZD": [
"BZD",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.19.14",
"Version": "2.1.27.40",
"Names": {
"AZN": [
"",
Expand Down
14 changes: 9 additions & 5 deletions src/Symfony/Component/Intl/Resources/data/currencies/be.json
@@ -1,5 +1,5 @@
{
"Version": "2.1.22.93",
"Version": "2.1.29.66",
"Names": {
"AED": [
"AED",
Expand Down Expand Up @@ -43,7 +43,7 @@
],
"BAM": [
"BAM",
"канверсоўная марка"
"канверсоўная марка Босніі і Герцагавіны"
],
"BBD": [
"BBD",
Expand Down Expand Up @@ -93,10 +93,14 @@
"BWP",
"батсванская пула"
],
"BYR": [
"р.",
"BYN": [
"Br",
"беларускі рубель"
],
"BYR": [
"BYR",
"беларускі рубель (2000–2016)"
],
"BZD": [
"BZD",
"белізскі долар"
Expand Down Expand Up @@ -467,7 +471,7 @@
],
"SBD": [
"SBD",
"долар Саламонавых Астравоў"
"долар Саламонавых астравоў"
],
"SCR": [
"SCR",
Expand Down
8 changes: 6 additions & 2 deletions src/Symfony/Component/Intl/Resources/data/currencies/bg.json
@@ -1,5 +1,5 @@
{
"Version": "2.1.23.7",
"Version": "2.1.30.6",
"Names": {
"ADP": [
"ADP",
Expand Down Expand Up @@ -185,9 +185,13 @@
"BYB",
"Беларуска нова рубла (1994–1999)"
],
"BYN": [
"BYN",
"Беларуска рубла"
],
"BYR": [
"BYR",
"Беларуска рубла"
"Беларуска рубла (2000–2016)"
],
"BZD": [
"BZD",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.21.28",
"Version": "2.1.27.40",
"Names": {
"AED": [
"AED",
Expand Down

0 comments on commit 70be4ba

Please sign in to comment.