mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed TimeField validation _t() entity name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@107787 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
16fd95bd8f
commit
2a81458134
@ -146,7 +146,7 @@ class TimeField extends TextField {
|
||||
if(!Zend_Date::isDate($this->value, $this->getConfig('timeformat'), $this->locale)) {
|
||||
$validator->validationError(
|
||||
$this->name,
|
||||
_t('TimeField.VALIDDATEFORMAT', sprintf("Please enter a valid time format (%s)", $this->getConfig('timeformat'))),
|
||||
_t('TimeField.VALIDATEFORMAT', sprintf("Please enter a valid time format (%s)", $this->getConfig('timeformat'))),
|
||||
"validation",
|
||||
false
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user