force get translations from admin

This commit is contained in:
Daniel Seifert 2021-10-31 23:16:03 +01:00 gecommit door Daniel Seifert
bovenliggende 74edceafc8
commit bd90f18a87
Getekend door: DanielS
GPG sleutel-ID: 8A7C4C6ED1915C6F
3 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen

Bestand weergeven

@ -29,6 +29,7 @@ abstract class ActionBase implements QueryBase
protected $formElements = [];
/**
* Ensure that the translations are equally available in the frontend and the backend
* @return string
*/
public function getDescription() : string

Bestand weergeven

@ -36,6 +36,7 @@ abstract class ExportBase implements QueryBase
protected $formElements = [];
/**
* Ensure that the translations are equally available in the frontend and the backend
* @return string
*/
public function getDescription() : string
@ -185,7 +186,7 @@ abstract class ExportBase implements QueryBase
throw oxNew(
Exceptions\TaskException::class,
$this,
Registry::getLang()->translateString( 'D3_DATAWIZARD_ERR_NOEXPORTCONTENT' )
Registry::getLang()->translateString( 'D3_DATAWIZARD_ERR_NOEXPORTCONTENT', null, true )
);
}

Bestand weergeven

@ -22,11 +22,13 @@ interface QueryBase
public function run();
/**
* Ensure that the translations are equally available in the frontend and the backend
* @return string
*/
public function getTitle() : string;
/**
* Ensure that the translations are equally available in the frontend and the backend
* @return string
*/
public function getDescription() : string;