Skip to content

Commit

Permalink
Merge pull request #1115 from M0rgan01/fix-translator-path
Browse files Browse the repository at this point in the history
Fix translator path in autoupgrade.php
  • Loading branch information
ga-devfront authored Jan 14, 2025
2 parents 0aa6319 + d33561c commit 11885a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoupgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function trans($id, array $parameters = [], $domain = null, $locale = nul
require_once _PS_ROOT_DIR_ . '/modules/autoupgrade/classes/UpgradeTools/Translator.php';

$translator = new \PrestaShop\Module\AutoUpgrade\UpgradeTools\Translator(
_PS_ROOT_DIR_ . 'modules' . DIRECTORY_SEPARATOR . 'autoupgrade' . DIRECTORY_SEPARATOR . 'translations' . DIRECTORY_SEPARATOR,
_PS_ROOT_DIR_ . DIRECTORY_SEPARATOR . 'modules' . DIRECTORY_SEPARATOR . 'autoupgrade' . DIRECTORY_SEPARATOR . 'translations' . DIRECTORY_SEPARATOR,
\Context::getContext()->language->iso_code
);

Expand Down

0 comments on commit 11885a2

Please sign in to comment.