Due to the change in localization handling within the Core, we need
some updates.
Thanks to Dominique Feyer.
Change-Id: I48bd12d4fa8a7718b1842e044fa6d0a294028f30
Resolves: #27416
protected function createTabs() {
$panelCheck = '';
if ($this->modTS['showCheckLinkTab'] == 1) {
protected function createTabs() {
$panelCheck = '';
if ($this->modTS['showCheckLinkTab'] == 1) {
- $panelCheck = '{
- title: TYPO3.lang.CheckLink,
- html: ' . json_encode($this->flush()) . '
- }';
+ $panelCheck = "{
+ title: TYPO3.l10n.localize('CheckLink'),
+ html: " . json_encode($this->flush()) . ",
+ }";
- $js = 'var panel = new Ext.TabPanel( {
- renderTo : "linkvalidator-modfuncreport",
- id: "linkvalidator-main",
+ $js = "var panel = new Ext.TabPanel( {
+ renderTo: 'linkvalidator-modfuncreport',
+ id: 'linkvalidator-main',
plain: true,
activeTab: 0,
plain: true,
activeTab: 0,
- bodyStyle: "padding:10px;",
+ bodyStyle: 'padding:10px;',
items : [
{
autoHeight: true,
items : [
{
autoHeight: true,
- title: TYPO3.lang.Report,
- html: ' . json_encode($this->flush(TRUE)) . '
+ title: TYPO3.l10n.localize('Report'),
+ html: " . json_encode($this->flush(TRUE)) . "
$this->pageRenderer->addExtOnReadyCode($js);
}
$this->pageRenderer->addExtOnReadyCode($js);
}