Skip to content

[Intl] Update the ICU data to 64.1 #30781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testLocalesAreSelectable()

$this->assertContains(new ChoiceView('en', 'en', 'English'), $choices, '', false, false);
$this->assertContains(new ChoiceView('en_GB', 'en_GB', 'English (United Kingdom)'), $choices, '', false, false);
$this->assertContains(new ChoiceView('zh_Hant_MO', 'zh_Hant_MO', 'Chinese (Traditional, Macau SAR China)'), $choices, '', false, false);
$this->assertContains(new ChoiceView('zh_Hant_HK', 'zh_Hant_HK', 'Chinese (Traditional, Hong Kong SAR China)'), $choices, '', false, false);
}

public function testSubmitNull($expected = null, $norm = null, $view = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class LanguageDataGenerator extends AbstractDataGenerator
'cs' => 'ces',
'cy' => 'cym',
'de' => 'deu',
'dz' => 'dzo',
'el' => 'ell',
'et' => 'est',
'eu' => 'eus',
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Intl/Intl.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public static function getIcuDataVersion()
*/
public static function getIcuStubVersion()
{
return '63.1';
return '64.1';
}

/**
Expand Down
4 changes: 3 additions & 1 deletion src/Symfony/Component/Intl/Locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public static function getFallback($locale)

array_pop($localeSubTags);

return locale_compose($localeSubTags);
$fallback = locale_compose($localeSubTags);

return false !== $fallback ? $fallback : null;
}

if (false !== $pos = strrpos($locale, '_')) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.65",
"Version": "2.1.48.17",
"Names": {
"AED": [
"AED",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.69",
"Version": "2.1.48.22",
"Names": {
"NAD": [
"$",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.39.11",
"Version": "2.1.47.82",
"Names": {
"AED": [
"AED",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.65",
"Version": "2.1.48.18",
"Names": {
"AED": [
"AED",
Expand Down
6 changes: 5 additions & 1 deletion src/Symfony/Component/Intl/Resources/data/currencies/ar.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.50",
"Version": "2.1.48.22",
"Names": {
"ADP": [
"ADP",
Expand Down Expand Up @@ -105,6 +105,10 @@
"BEL",
"فرنك بلجيكي مالي"
],
"BGL": [
"BGL",
"BGL"
],
"BGN": [
"BGN",
"ليف بلغاري"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"DJF": [
"Fdj",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"ERN": [
"Nfk",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"KMF": [
"CF",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"SDG": [
"SDG",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"SOS": [
"S",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"GBP": [
"GB£",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.94",
"Version": "2.1.48.17",
"Names": {
"AED": [
"AED",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.44.53",
"Version": "2.1.48.17",
"Names": {
"ADP": [
"ADP",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.44.53",
"Version": "2.1.47.82",
"Names": {
"AZN": [
"₼",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.65",
"Version": "2.1.48.17",
"Names": {
"AED": [
"AED",
Expand Down
10 changes: 1 addition & 9 deletions src/Symfony/Component/Intl/Resources/data/currencies/bg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.94",
"Version": "2.1.48.42",
"Names": {
"ADP": [
"ADP",
Expand Down Expand Up @@ -917,14 +917,6 @@
"щ.д.",
"Щатски долар"
],
"USN": [
"USN",
"USN"
],
"USS": [
"USS",
"USS"
],
"UYI": [
"UYI",
"Уругвайско песо (индекс на инфлацията)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.39.11",
"Version": "2.1.47.82",
"Names": {
"AED": [
"AED",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.44.91",
"Version": "2.1.48.36",
"Names": {
"ADP": [
"ADP",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.69",
"Version": "2.1.47.82",
"Names": {
"CNY": [
"¥",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.69",
"Version": "2.1.47.82",
"Names": {
"CNY": [
"CN¥",
Expand Down
Loading