mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Add translation to "Submitter" field label
This commit is contained in:
parent
ba9bbfaed5
commit
075985d9c9
@ -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')
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user