mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed TimeField validation _t() entity name (from r107787)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112695 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
171fdd6050
commit
61012967cf
@ -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…
Reference in New Issue
Block a user