mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #1031 from chrometoasters/pulls/1030-translations-dot-fix
FIX Add missing dots in translation string references
This commit is contained in:
commit
7f0e24cc79
@ -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;
|
||||
}
|
||||
|
@ -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.'
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user