[*] BO : attributes taken into account for the language entity in the localization packs
This commit is contained in:
@@ -294,7 +294,7 @@ class LocalizationPackCore
|
|||||||
// if we are not in an installation context or if the pack is not available in the local directory
|
// if we are not in an installation context or if the pack is not available in the local directory
|
||||||
if (Language::getIdByIso($attributes['iso_code']) && !$install_mode)
|
if (Language::getIdByIso($attributes['iso_code']) && !$install_mode)
|
||||||
continue;
|
continue;
|
||||||
$errors = Language::downloadAndInstallLanguagePack($attributes['iso_code'], $attributes['version']);
|
$errors = Language::downloadAndInstallLanguagePack($attributes['iso_code'], $attributes['version'], $attributes);
|
||||||
if ($errors !== true && is_array($errors))
|
if ($errors !== true && is_array($errors))
|
||||||
$this->_errors = array_merge($this->_errors, $errors);
|
$this->_errors = array_merge($this->_errors, $errors);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user