Skip to content
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

[Intl] Update the ICU data to 64.1 #30781

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.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
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
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
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
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.65",
"Version": "2.1.48.17",
"Names": {
"AED": [
"AED",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.69",
"Version": "2.1.48.22",
"Names": {
"NAD": [
"$",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.39.11",
"Version": "2.1.47.82",
"Names": {
"AED": [
"AED",
Expand Down
@@ -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
@@ -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
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"DJF": [
"Fdj",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"ERN": [
"Nfk",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"KMF": [
"CF",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"SDG": [
"SDG",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"SOS": [
"S",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.80",
"Version": "2.1.47.69",
"Names": {
"GBP": [
"GB£",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.43.94",
"Version": "2.1.48.17",
"Names": {
"AED": [
"AED",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.44.53",
"Version": "2.1.48.17",
"Names": {
"ADP": [
"ADP",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.44.53",
"Version": "2.1.47.82",
"Names": {
"AZN": [
"₼",
Expand Down
@@ -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
@@ -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
@@ -1,5 +1,5 @@
{
"Version": "2.1.39.11",
"Version": "2.1.47.82",
"Names": {
"AED": [
"AED",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.44.91",
"Version": "2.1.48.36",
"Names": {
"ADP": [
"ADP",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.69",
"Version": "2.1.47.82",
"Names": {
"CNY": [
"¥",
Expand Down
@@ -1,5 +1,5 @@
{
"Version": "2.1.38.69",
"Version": "2.1.47.82",
"Names": {
"CNY": [
"CN¥",
Expand Down