8
0

force get translations from admin

Dieser Commit ist enthalten in:
Daniel Seifert 2021-10-31 23:16:03 +01:00 committet von Daniel Seifert
Ursprung 74edceafc8
Commit bd90f18a87
Signiert von: DanielS
GPG-Schlüssel-ID: 8A7C4C6ED1915C6F
3 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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

Datei anzeigen

@ -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 )
);
}

Datei anzeigen

@ -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;