aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/src/Locale.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/commerceguys/intl/src/Locale.php')
-rw-r--r--vendor/commerceguys/intl/src/Locale.php69
1 files changed, 34 insertions, 35 deletions
diff --git a/vendor/commerceguys/intl/src/Locale.php b/vendor/commerceguys/intl/src/Locale.php
index f9948e7e6..509b28190 100644
--- a/vendor/commerceguys/intl/src/Locale.php
+++ b/vendor/commerceguys/intl/src/Locale.php
@@ -72,7 +72,6 @@ final class Locale
'en-BS' => 'en-001',
'en-BW' => 'en-001',
'en-BZ' => 'en-001',
- 'en-CA' => 'en-001',
'en-CC' => 'en-001',
'en-CK' => 'en-001',
'en-CM' => 'en-001',
@@ -120,7 +119,6 @@ final class Locale
'en-NU' => 'en-001',
'en-NZ' => 'en-001',
'en-PG' => 'en-001',
- 'en-PH' => 'en-001',
'en-PK' => 'en-001',
'en-PN' => 'en-001',
'en-PW' => 'en-001',
@@ -192,37 +190,38 @@ final class Locale
'pt-MZ' => 'pt-PT',
'pt-ST' => 'pt-PT',
'pt-TL' => 'pt-PT',
- 'az-Arab' => 'root',
- 'az-Cyrl' => 'root',
- 'blt-Latn' => 'root',
- 'bs-Cyrl' => 'root',
- 'byn-Latn' => 'root',
- 'en-Dsrt' => 'root',
- 'en-Shaw' => 'root',
- 'hi-Latn' => 'root',
- 'iu-Latn' => 'root',
- 'kk-Arab' => 'root',
- 'ks-Deva' => 'root',
- 'ku-Arab' => 'root',
- 'ky-Arab' => 'root',
- 'ky-Latn' => 'root',
- 'ml-Arab' => 'root',
- 'mn-Mong' => 'root',
- 'mni-Mtei' => 'root',
- 'ms-Arab' => 'root',
- 'pa-Arab' => 'root',
- 'sat-Deva' => 'root',
- 'sd-Deva' => 'root',
- 'sd-Khoj' => 'root',
- 'sd-Sind' => 'root',
- 'so-Arab' => 'root',
- 'sr-Latn' => 'root',
- 'sw-Arab' => 'root',
- 'tg-Arab' => 'root',
- 'uz-Arab' => 'root',
- 'uz-Cyrl' => 'root',
- 'yue-Hans' => 'root',
- 'zh-Hant' => 'root',
+ 'az-Arab' => 'und',
+ 'az-Cyrl' => 'und',
+ 'bal-Latn' => 'und',
+ 'blt-Latn' => 'und',
+ 'bs-Cyrl' => 'und',
+ 'byn-Latn' => 'und',
+ 'en-Dsrt' => 'und',
+ 'en-Shaw' => 'und',
+ 'hi-Latn' => 'und',
+ 'iu-Latn' => 'und',
+ 'kk-Arab' => 'und',
+ 'ks-Deva' => 'und',
+ 'ku-Arab' => 'und',
+ 'ky-Arab' => 'und',
+ 'ky-Latn' => 'und',
+ 'ml-Arab' => 'und',
+ 'mn-Mong' => 'und',
+ 'mni-Mtei' => 'und',
+ 'ms-Arab' => 'und',
+ 'pa-Arab' => 'und',
+ 'sat-Deva' => 'und',
+ 'sd-Deva' => 'und',
+ 'sd-Khoj' => 'und',
+ 'sd-Sind' => 'und',
+ 'so-Arab' => 'und',
+ 'sr-Latn' => 'und',
+ 'sw-Arab' => 'und',
+ 'tg-Arab' => 'und',
+ 'uz-Arab' => 'und',
+ 'uz-Cyrl' => 'und',
+ 'yue-Hans' => 'und',
+ 'zh-Hant' => 'und',
'zh-Hant-MO' => 'zh-Hant-HK',
];
@@ -397,9 +396,9 @@ final class Locale
array_pop($localeParts);
$parent = implode('-', $localeParts);
}
- // The library doesn't have data for the empty 'root' locale, it
+ // The library doesn't have data for the empty 'und' locale, it
// is more user friendly to use the configured fallback instead.
- if ($parent == 'root') {
+ if ($parent == 'und') {
$parent = null;
}