CC-1960: Internationalize Airtime / Support translations

-added gettext wrapper functions for all strings in view/scripts, and forms
This commit is contained in:
denise 2012-11-15 10:59:06 -05:00
parent f0e2d5d295
commit b173b6dda4
78 changed files with 481 additions and 423 deletions

View file

@ -11,7 +11,7 @@ class Application_Form_PasswordChange extends Zend_Form
));
$this->addElement('password', 'password', array(
'label' => 'Password',
'label' => _('Password'),
'required' => true,
'filters' => array('stringTrim'),
'validators' => array(
@ -23,7 +23,7 @@ class Application_Form_PasswordChange extends Zend_Form
));
$this->addElement('password', 'password_confirm', array(
'label' => 'Confirm new password',
'label' => _('Confirm new password'),
'required' => true,
'filters' => array('stringTrim'),
'validators' => array(
@ -38,7 +38,7 @@ class Application_Form_PasswordChange extends Zend_Form
));
$this->addElement('submit', 'submit', array(
'label' => 'Get new password',
'label' => _('Get new password'),
'ignore' => true,
'class' => 'ui-button ui-widget ui-state-default ui-button-text-only center',
'decorators' => array(