aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/scripts/generate_language_data.php
diff options
context:
space:
mode:
authormjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
committermjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
commita75c61d71efebf43713026200aa0f513bd7eef09 (patch)
tree909048adeaa329813e2530d43626ed3bd711bc25 /vendor/commerceguys/intl/scripts/generate_language_data.php
parent481ecee9e87342ca7a1217395085e95d1a3b61ea (diff)
parent0d0f73fb67bbfcc53058cefded85ac36f951c7a7 (diff)
downloadvolse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.gz
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.bz2
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'vendor/commerceguys/intl/scripts/generate_language_data.php')
-rw-r--r--vendor/commerceguys/intl/scripts/generate_language_data.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/commerceguys/intl/scripts/generate_language_data.php b/vendor/commerceguys/intl/scripts/generate_language_data.php
index c6215e3fd..34279f444 100644
--- a/vendor/commerceguys/intl/scripts/generate_language_data.php
+++ b/vendor/commerceguys/intl/scripts/generate_language_data.php
@@ -78,8 +78,8 @@ function generate_languages()
// Skip all languages that aren't an available locale at the same time.
// This reduces the language list from about 515 to about 185 languages.
$allowedLanguages = scandir($localeDirectory);
- $allowedLanguages[] = 'wa';
- $allowedLanguages = array_diff($allowedLanguages, ['eo', 'ia', 'vo', 'cu', 'gv', 'prg', 'root']);
+ $allowedLanguages = array_merge($allowedLanguages, ['iu', 'wa']);
+ $allowedLanguages = array_diff($allowedLanguages, ['eo', 'ia', 'vo', 'cu', 'gv', 'prg', 'und']);
// Languages that are untranslated in most locales (as of CLDR v34).
$allowedLanguages = array_diff($allowedLanguages, ['ccp', 'fa-AF']);