mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
i18n for report table title (see #7798)
This commit is contained in:
parent
59546ccf11
commit
8442ed0ecd
@ -163,7 +163,7 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
|||||||
$gridField = new GridField('Reports',false, $this->Reports(), $gridFieldConfig);
|
$gridField = new GridField('Reports',false, $this->Reports(), $gridFieldConfig);
|
||||||
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
|
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
|
||||||
$columns->setDisplayFields(array(
|
$columns->setDisplayFields(array(
|
||||||
'title' => 'Title',
|
'title' => _t('ReportAdmin.ReportTitle', 'Title'),
|
||||||
));
|
));
|
||||||
$columns->setFieldFormatting(array(
|
$columns->setFieldFormatting(array(
|
||||||
'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value</a>'
|
'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value</a>'
|
||||||
|
@ -237,6 +237,8 @@ en:
|
|||||||
REDIRECTTOPAGE: 'A page on your website'
|
REDIRECTTOPAGE: 'A page on your website'
|
||||||
SINGULARNAME: 'Redirector Page'
|
SINGULARNAME: 'Redirector Page'
|
||||||
YOURPAGE: 'Page on your website'
|
YOURPAGE: 'Page on your website'
|
||||||
|
ReportAdmin:
|
||||||
|
ReportTitle: Title
|
||||||
ReportAdminForm:
|
ReportAdminForm:
|
||||||
FILTERBY: 'Filter by'
|
FILTERBY: 'Filter by'
|
||||||
SearchForm:
|
SearchForm:
|
||||||
|
Loading…
Reference in New Issue
Block a user