fix naming of gridfield so it works with translatable.

This commit is contained in:
John Learn 2014-10-21 12:52:43 -04:00
parent fcba06c166
commit 75858dab7a

View File

@ -107,7 +107,7 @@ class UserDefinedForm extends Page {
// view the submissions // view the submissions
$submissions = new GridField( $submissions = new GridField(
"Reports", "Submissions",
_t('UserDefinedForm.SUBMISSIONS', 'Submissions'), _t('UserDefinedForm.SUBMISSIONS', 'Submissions'),
$this->Submissions()->sort('Created', 'DESC') $this->Submissions()->sort('Created', 'DESC')
); );