force get translations from admin
This commit is contained in:
parent
74edceafc8
commit
bd90f18a87
@ -29,6 +29,7 @@ abstract class ActionBase implements QueryBase
|
|||||||
protected $formElements = [];
|
protected $formElements = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Ensure that the translations are equally available in the frontend and the backend
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getDescription() : string
|
public function getDescription() : string
|
||||||
|
@ -36,6 +36,7 @@ abstract class ExportBase implements QueryBase
|
|||||||
protected $formElements = [];
|
protected $formElements = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Ensure that the translations are equally available in the frontend and the backend
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getDescription() : string
|
public function getDescription() : string
|
||||||
@ -185,7 +186,7 @@ abstract class ExportBase implements QueryBase
|
|||||||
throw oxNew(
|
throw oxNew(
|
||||||
Exceptions\TaskException::class,
|
Exceptions\TaskException::class,
|
||||||
$this,
|
$this,
|
||||||
Registry::getLang()->translateString( 'D3_DATAWIZARD_ERR_NOEXPORTCONTENT' )
|
Registry::getLang()->translateString( 'D3_DATAWIZARD_ERR_NOEXPORTCONTENT', null, true )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,11 +22,13 @@ interface QueryBase
|
|||||||
public function run();
|
public function run();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Ensure that the translations are equally available in the frontend and the backend
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getTitle() : string;
|
public function getTitle() : string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Ensure that the translations are equally available in the frontend and the backend
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getDescription() : string;
|
public function getDescription() : string;
|
||||||
|
Loading…
Reference in New Issue
Block a user