diff options
author | Mario <mario@mariovavti.com> | 2020-11-27 08:04:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-27 08:04:00 +0000 |
commit | f4bb7bcbff3770387c2fecfa91ce4a60b916a474 (patch) | |
tree | ea007e664d435f1f3d63c87bfe1600484d2bd46c /vendor/commerceguys/intl/scripts | |
parent | 07e5b8295ea9d342f66d8119d88bd58124b548e6 (diff) | |
download | volse-hubzilla-f4bb7bcbff3770387c2fecfa91ce4a60b916a474.tar.gz volse-hubzilla-f4bb7bcbff3770387c2fecfa91ce4a60b916a474.tar.bz2 volse-hubzilla-f4bb7bcbff3770387c2fecfa91ce4a60b916a474.zip |
update composer libs
Diffstat (limited to 'vendor/commerceguys/intl/scripts')
-rwxr-xr-x[-rw-r--r--] | vendor/commerceguys/intl/scripts/fetch_data.sh | 0 | ||||
-rw-r--r-- | vendor/commerceguys/intl/scripts/generate_base.php | 4 | ||||
-rw-r--r-- | vendor/commerceguys/intl/scripts/generate_number_format_data.php | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/vendor/commerceguys/intl/scripts/fetch_data.sh b/vendor/commerceguys/intl/scripts/fetch_data.sh index 804ecc1a1..804ecc1a1 100644..100755 --- a/vendor/commerceguys/intl/scripts/fetch_data.sh +++ b/vendor/commerceguys/intl/scripts/fetch_data.sh diff --git a/vendor/commerceguys/intl/scripts/generate_base.php b/vendor/commerceguys/intl/scripts/generate_base.php index d5e18f2b6..6932b32f4 100644 --- a/vendor/commerceguys/intl/scripts/generate_base.php +++ b/vendor/commerceguys/intl/scripts/generate_base.php @@ -35,8 +35,8 @@ if (!function_exists('collator_create')) { $ignoredLocales = [ // Esperanto, Interlingua, Volapuk are made up languages. 'eo', 'ia', 'vo', - // Church Slavic, Manx, Prussian are historical languages. - 'cu', 'gv', 'prg', + // Church Slavic, Manx, Prussian, Sanskrit are historical languages. + 'cu', 'gv', 'prg', 'sa', // Valencian differs from its parent only by a single character (è/é). 'ca-ES-VALENCIA', // Africa secondary languages. diff --git a/vendor/commerceguys/intl/scripts/generate_number_format_data.php b/vendor/commerceguys/intl/scripts/generate_number_format_data.php index 0654d0ebb..2a00548cf 100644 --- a/vendor/commerceguys/intl/scripts/generate_number_format_data.php +++ b/vendor/commerceguys/intl/scripts/generate_number_format_data.php @@ -106,9 +106,15 @@ function generate_number_formats() if ($decimalSeparator != '.') { $numberFormats[$locale]['decimal_separator'] = $decimalSeparator; } + if (array_key_exists('currencyDecimal', $data['symbols-numberSystem-' . $numberingSystem])) { + $numberFormats[$locale]['decimal_currency_separator'] = $data['symbols-numberSystem-' . $numberingSystem]['currencyDecimal']; + } if ($groupingSeparator != ',') { $numberFormats[$locale]['grouping_separator'] = $groupingSeparator; } + if (array_key_exists('currencyGroup', $data['symbols-numberSystem-' . $numberingSystem])) { + $numberFormats[$locale]['grouping_currency_separator'] = $data['symbols-numberSystem-' . $numberingSystem]['currencyGroup']; + } if ($plusSign != '+') { $numberFormats[$locale]['plus_sign'] = $plusSign; } |