i18n for report table title (see #7798)

This commit is contained in:
Ingo Schommer 2012-08-26 23:17:07 +02:00
parent 59546ccf11
commit 8442ed0ecd
2 changed files with 3 additions and 1 deletions

View File

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

View File

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