diff --git a/README.md b/README.md index 13330d7..e1d5113 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ For more information, go to https://www.luigifab.fr/openmage/minifier (IPv6 is r This repository is a releases mirror. To install the module, please use the composer key available in the documentation. -- Current version: 4.4.0 (01/01/2023) +- Current version: 4.4.1 (02/02/2023) - Compatibility: OpenMage 19.x / 20.x / 21.x, PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 - Client compatibility: Firefox 36+, Chrome 32+, Opera 19+, Edge 16+, Safari 9+ - Translations: English (en), French (fr-FR/fr-CA), German (de), Italian (it), Portuguese (pt-PT/pt-BR), Spanish (es) / Chinese (zh), Czech (cs), Dutch (nl), Greek (el), Hungarian (hu), Japanese (ja), Polish (pl), Romanian (ro), Russian (ru), Slovak (sk), Turkish (tr), Ukrainian (uk) diff --git a/src/app/code/community/Luigifab/Minifier/Helper/Data.php b/src/app/code/community/Luigifab/Minifier/Helper/Data.php index 7c7609f..eabecb1 100644 --- a/src/app/code/community/Luigifab/Minifier/Helper/Data.php +++ b/src/app/code/community/Luigifab/Minifier/Helper/Data.php @@ -1,7 +1,7 @@ * https://github.com/luigifab/openmage-minifier @@ -65,7 +65,7 @@ public function getHumanDuration($start, $end = null) { } public function getNumber($value, array $options = []) { - $options['locale'] = Mage::getSingleton('core/translate')->getLocale(); + $options['locale'] = Mage::getSingleton('core/locale')->getLocaleCode(); return Zend_Locale_Format::toNumber($value, $options); } diff --git a/src/app/code/community/Luigifab/Minifier/etc/config.xml b/src/app/code/community/Luigifab/Minifier/etc/config.xml index b4bd20a..16bb4a7 100644 --- a/src/app/code/community/Luigifab/Minifier/etc/config.xml +++ b/src/app/code/community/Luigifab/Minifier/etc/config.xml @@ -1,7 +1,7 @@