FIX Add missing dots in translation string references

This commit is contained in:
Michal Kleiner 2020-12-02 10:01:50 +13:00
parent 5c64cc825f
commit 66bbe44972
No known key found for this signature in database
GPG Key ID: CFCE9D1A56C919C0
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ class EditableFormField extends DataObject
$fieldClasses = $this->getEditableFieldClasses();
$fields->addFieldsToTab('Root.Main', [
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;
}

View File

@ -112,7 +112,7 @@ class EditableTextField extends EditableFormField
if ($this->MinLength > $this->MaxLength) {
$result->addError(_t(
__CLASS__ . 'MINMAXLENGTHCHECK',
__CLASS__ . '.MINMAXLENGTHCHECK',
'Minimum length should be less than the Maximum length.'
));
}