mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Add missing dots in translation string references
This commit is contained in:
parent
5c64cc825f
commit
66bbe44972
@ -233,7 +233,7 @@ class EditableFormField extends DataObject
|
|||||||
$fieldClasses = $this->getEditableFieldClasses();
|
$fieldClasses = $this->getEditableFieldClasses();
|
||||||
$fields->addFieldsToTab('Root.Main', [
|
$fields->addFieldsToTab('Root.Main', [
|
||||||
DropdownField::create('ClassName', _t(__CLASS__.'.TYPE', 'Type'), $fieldClasses)
|
DropdownField::create('ClassName', _t(__CLASS__.'.TYPE', 'Type'), $fieldClasses)
|
||||||
->setEmptyString(_t(__CLASS__ . 'TYPE_EMPTY', 'Select field type'))
|
->setEmptyString(_t(__CLASS__ . '.TYPE_EMPTY', 'Select field type'))
|
||||||
]);
|
]);
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ class EditableTextField extends EditableFormField
|
|||||||
|
|
||||||
if ($this->MinLength > $this->MaxLength) {
|
if ($this->MinLength > $this->MaxLength) {
|
||||||
$result->addError(_t(
|
$result->addError(_t(
|
||||||
__CLASS__ . 'MINMAXLENGTHCHECK',
|
__CLASS__ . '.MINMAXLENGTHCHECK',
|
||||||
'Minimum length should be less than the Maximum length.'
|
'Minimum length should be less than the Maximum length.'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user