Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

i18n for report table title (see #7798)

  • Loading branch information...
commit 8442ed0ecdbee17c714a36e11116d5b0d93d538c 1 parent 59546cc
@chillu chillu authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  code/controllers/ReportAdmin.php
  2. +2 −0  lang/en.yml
View
2  code/controllers/ReportAdmin.php
@@ -163,7 +163,7 @@ public function getEditForm($id = null, $fields = null) {
$gridField = new GridField('Reports',false, $this->Reports(), $gridFieldConfig);
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
$columns->setDisplayFields(array(
- 'title' => 'Title',
+ 'title' => _t('ReportAdmin.ReportTitle', 'Title'),
));
$columns->setFieldFormatting(array(
'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value</a>'
View
2  lang/en.yml
@@ -237,6 +237,8 @@ en:
REDIRECTTOPAGE: 'A page on your website'
SINGULARNAME: 'Redirector Page'
YOURPAGE: 'Page on your website'
+ ReportAdmin:
+ ReportTitle: Title
ReportAdminForm:
FILTERBY: 'Filter by'
SearchForm:
Please sign in to comment.
Something went wrong with that request. Please try again.