diff --git a/Application/Model/Actions/FixArtextendsItems.php b/Application/Model/Actions/FixArtextendsItems.php index 2aebf9f..b52067a 100644 --- a/Application/Model/Actions/FixArtextendsItems.php +++ b/Application/Model/Actions/FixArtextendsItems.php @@ -31,7 +31,7 @@ class FixArtextendsItems extends ActionBase */ public function getTitle() : string { - return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_ACTIONS_FIXARTEXTENDSITEMS'); + return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_ACTIONS_FIXARTEXTENDSITEMS', null, true); } /** diff --git a/Application/Model/Actions/FixWysiwygSpecialChars.php b/Application/Model/Actions/FixWysiwygSpecialChars.php index 01df161..97faae4 100644 --- a/Application/Model/Actions/FixWysiwygSpecialChars.php +++ b/Application/Model/Actions/FixWysiwygSpecialChars.php @@ -24,7 +24,7 @@ class FixWysiwygSpecialChars extends ActionBase */ public function getTitle() : string { - return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_ACTIONS_FIXWYSIWYGSPECIALCHARS'); + return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_ACTIONS_FIXWYSIWYGSPECIALCHARS', null, true); } /** diff --git a/Application/Model/Exports/DestroyedWysiwygSpecialChars.php b/Application/Model/Exports/DestroyedWysiwygSpecialChars.php index 6238c6a..cd71220 100644 --- a/Application/Model/Exports/DestroyedWysiwygSpecialChars.php +++ b/Application/Model/Exports/DestroyedWysiwygSpecialChars.php @@ -24,12 +24,12 @@ class DestroyedWysiwygSpecialChars extends ExportBase */ public function getTitle() : string { - return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS'); + return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS', null, true); } public function getDescription() : string { - return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS_DESC'); + return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS_DESC', null, true); } /** @@ -40,8 +40,8 @@ class DestroyedWysiwygSpecialChars extends ExportBase $content = oxNew(Content::class); $contentTableName = $content->getCoreTableName(); - $titleTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS_TITLE'); - $loadIdTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS_LOADID'); + $titleTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS_TITLE', null, true); + $loadIdTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_DESTROYEDWYSIWYGSPECIALCHARS_LOADID', null, true); $currentLanguage = $content->getLanguage(); $whereFields = []; diff --git a/Application/Model/Exports/InactiveCategories.php b/Application/Model/Exports/InactiveCategories.php index 34e4a73..ff1c1d4 100644 --- a/Application/Model/Exports/InactiveCategories.php +++ b/Application/Model/Exports/InactiveCategories.php @@ -30,7 +30,7 @@ class InactiveCategories extends ExportBase */ public function getTitle() : string { - return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES'); + return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES', null, true); } /** @@ -42,9 +42,9 @@ class InactiveCategories extends ExportBase $object2categoryTableName = oxNew(Object2Category::class)->getCoreTableName(); $articleTableName = oxNew(Article::class)->getCoreTableName(); - $treeTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES_TREE'); - $titleTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES_TITLE'); - $countTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES_COUNT'); + $treeTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES_TREE', null, true); + $titleTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES_TITLE', null, true); + $countTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_INACTIVECATEGORIES_COUNT', null, true); return [ "SELECT diff --git a/Application/Model/Exports/KeyFigures.php b/Application/Model/Exports/KeyFigures.php index d1010d4..44bf84d 100644 --- a/Application/Model/Exports/KeyFigures.php +++ b/Application/Model/Exports/KeyFigures.php @@ -33,7 +33,7 @@ class KeyFigures extends ExportBase /** @var Date $startDate */ $startDateValue = Registry::getRequest()->getRequestEscapedParameter(self::STARTDATE_NAME); $startDate = FormFactory::date( - Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_FIELD_STARTDATE'), + Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_FIELD_STARTDATE', null, true), [ 'name' => self::STARTDATE_NAME, 'value' => $startDateValue @@ -44,7 +44,7 @@ class KeyFigures extends ExportBase /** @var Date $endDate */ $endDateValue = Registry::getRequest()->getRequestEscapedParameter(self::ENDDATE_NAME); $endDate = FormFactory::date( - Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_FIELD_ENDDATE'), + Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_FIELD_ENDDATE', null, true), [ 'name' => self::ENDDATE_NAME, 'value' => $endDateValue @@ -58,7 +58,7 @@ class KeyFigures extends ExportBase */ public function getTitle() : string { - return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES'); + return Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES', null, true); } /** @@ -67,9 +67,9 @@ class KeyFigures extends ExportBase public function getQuery() : array { $orderTable = oxNew(Order::class)->getCoreTableName(); - $ordersTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_ORDERSPERMONTH'); - $basketsTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_BASKETSIZE'); - $monthTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_MONTH'); + $ordersTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_ORDERSPERMONTH', null, true); + $basketsTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_BASKETSIZE', null, true); + $monthTitle = Registry::getLang()->translateString('D3_DATAWIZARDTASKS_EXPORTS_KEYFIGURES_MONTH', null, true); $startDateValue = Registry::getRequest()->getRequestEscapedParameter(self::STARTDATE_NAME) ?: '1970-01-01'; $endDateValue = Registry::getRequest()->getRequestEscapedParameter(self::ENDDATE_NAME) ?: date('Y-m-d');