From 075985d9c9d8954cf8c4359eccadbcd3a6d281ef Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 15 Aug 2018 16:42:14 +1200 Subject: [PATCH] Add translation to "Submitter" field label --- code/Model/Submission/SubmittedForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Model/Submission/SubmittedForm.php b/code/Model/Submission/SubmittedForm.php index ace4ed0..11203e7 100755 --- a/code/Model/Submission/SubmittedForm.php +++ b/code/Model/Submission/SubmittedForm.php @@ -89,7 +89,7 @@ class SubmittedForm extends DataObject //replace scaffolded field with readonly submitter $fields->replaceField( 'SubmittedByID', - ReadonlyField::create('Submitter', 'Submitter', $submitter) + ReadonlyField::create('Submitter', _t(__CLASS__ . '.SUBMITTER', 'Submitter'), $submitter) ->addExtraClass('form-field--no-divider') );