Skip to content
This repository
Browse code

i18n for report table title (see #7798)

  • Loading branch information...
commit 8442ed0ecdbee17c714a36e11116d5b0d93d538c 1 parent 59546cc
Ingo Schommer authored August 26, 2012
2  code/controllers/ReportAdmin.php
@@ -163,7 +163,7 @@ public function getEditForm($id = null, $fields = null) {
163 163
 			$gridField = new GridField('Reports',false, $this->Reports(), $gridFieldConfig);
164 164
 			$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
165 165
 			$columns->setDisplayFields(array(
166  
-				'title' => 'Title',
  166
+				'title' => _t('ReportAdmin.ReportTitle', 'Title'),
167 167
 			));
168 168
 			$columns->setFieldFormatting(array(
169 169
 				'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value</a>'
2  lang/en.yml
@@ -237,6 +237,8 @@ en:
237 237
     REDIRECTTOPAGE: 'A page on your website'
238 238
     SINGULARNAME: 'Redirector Page'
239 239
     YOURPAGE: 'Page on your website'
  240
+  ReportAdmin:
  241
+    ReportTitle: Title
240 242
   ReportAdminForm:
241 243
     FILTERBY: 'Filter by'
242 244
   SearchForm:

0 notes on commit 8442ed0

Please sign in to comment.
Something went wrong with that request. Please try again.