diff --git a/code/Model/EditableFormField/EditableMemberListField.php b/code/Model/EditableFormField/EditableMemberListField.php index 33f0590..e7afc24 100644 --- a/code/Model/EditableFormField/EditableMemberListField.php +++ b/code/Model/EditableFormField/EditableMemberListField.php @@ -34,11 +34,12 @@ class EditableMemberListField extends EditableFormField $fields->removeByName('Default'); $fields->removeByName('Validation'); + /** @skipUpgrade */ $fields->addFieldToTab( 'Root.Main', DropdownField::create( 'GroupID', - _t('SilverStripe\\UserForms\\Model\\EditableFormField.GROUP', Group::class), + _t('SilverStripe\\UserForms\\Model\\EditableFormField.GROUP', 'Group'), Group::get()->map() )->setEmptyString(' ') ); diff --git a/code/Model/Recipient/EmailRecipient.php b/code/Model/Recipient/EmailRecipient.php index a2159b5..111e533 100644 --- a/code/Model/Recipient/EmailRecipient.php +++ b/code/Model/Recipient/EmailRecipient.php @@ -109,7 +109,8 @@ class EmailRecipient extends DataObject { $fields = parent::summaryFields(); if (isset($fields['EmailAddress'])) { - $fields['EmailAddress'] = _t('SilverStripe\\UserForms\\Model\\UserDefinedForm.EMAILADDRESS', Email::class); + /** @skipUpgrade */ + $fields['EmailAddress'] = _t('SilverStripe\\UserForms\\Model\\UserDefinedForm.EMAILADDRESS', 'Email'); } if (isset($fields['EmailSubject'])) { $fields['EmailSubject'] = _t('SilverStripe\\UserForms\\Model\\UserDefinedForm.EMAILSUBJECT', 'Subject');