mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Remove incorrect upgrader translation operations and mark to be skipped in future
This commit is contained in:
parent
9455cf51f5
commit
317cfdeb6f
@ -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(' ')
|
||||
);
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user