CC-1960: Internationalize Airtime / Support translations
-got rid of spaces at beginning of strings -removed empty string translations -overwrote Zend_Validate_Between object error messages
This commit is contained in:
parent
9689c75bed
commit
542434d9f0
17 changed files with 52 additions and 38 deletions
|
@ -8,6 +8,7 @@ class Application_Form_SupportSettings extends Zend_Form
|
|||
public function init()
|
||||
{
|
||||
$country_list = Application_Model_Preference::GetCountryList();
|
||||
$notEmptyValidator = Application_Form_Helper_ValidationTypes::overrideNotEmptyValidator();
|
||||
|
||||
$this->setDecorators(array(
|
||||
array('ViewScript', array('viewScript' => 'form/support-setting.phtml')),
|
||||
|
@ -20,7 +21,7 @@ class Application_Form_SupportSettings extends Zend_Form
|
|||
'label' => _('Station Name'),
|
||||
'required' => true,
|
||||
'filters' => array('StringTrim'),
|
||||
'validator' => array('NotEmpty'),
|
||||
'validators' => array($notEmptyValidator),
|
||||
'value' => Application_Model_Preference::GetStationName(),
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue