CC-4831: I18N: Error message of background settings when creating a show is not translated

-fixed
This commit is contained in:
denise 2013-01-14 14:13:32 -05:00
parent 8ea3aca3a0
commit 7b4693e5f9
1 changed files with 3 additions and 4 deletions

View File

@ -19,9 +19,9 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
'class' => 'big'
))));
$stringLengthValidator = Application_Form_Helper_ValidationTypes::overrideStringLengthValidator(6, 6);
$bg->setValidators(array(
'Hex',
array('stringLength', false, array(6, 6))
'Hex', $stringLengthValidator
));
// Add show color input
@ -39,8 +39,7 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
))));
$c->setValidators(array(
'Hex',
array('stringLength', false, array(6, 6))
'Hex', $stringLengthValidator
));
}