CC-1960: Internationalize Airtime / Support translations
-added gettext wrapper function to all strings missing it -i18n of jquery timepicker and datepicker -i18n of jquery datatables columnFilter input place holder labels
This commit is contained in:
parent
f3fe05c014
commit
dd0e71efcc
16 changed files with 136 additions and 64 deletions
|
@ -45,8 +45,8 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
$third_party_api = new Zend_Form_Element_Radio('thirdPartyApi');
|
||||
$third_party_api->setLabel(
|
||||
sprintf(_('Allow Remote Websites To Access "Schedule" Info?%s (Enable this to make front-end widgets work.'), '<br>'));
|
||||
$third_party_api->setMultiOptions(array("Disabled",
|
||||
"Enabled"));
|
||||
$third_party_api->setMultiOptions(array(_("Disabled"),
|
||||
_("Enabled")));
|
||||
$third_party_api->setValue(Application_Model_Preference::GetAllow3rdPartyApi());
|
||||
$third_party_api->setDecorators(array('ViewHelper'));
|
||||
$this->addElement($third_party_api);
|
||||
|
@ -105,13 +105,13 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
private function getWeekStartDays()
|
||||
{
|
||||
$days = array(
|
||||
'Sunday',
|
||||
'Monday',
|
||||
'Tuesday',
|
||||
'Wednesday',
|
||||
'Thursday',
|
||||
'Friday',
|
||||
'Saturday'
|
||||
_('Sunday'),
|
||||
_('Monday'),
|
||||
_('Tuesday'),
|
||||
_('Wednesday'),
|
||||
_('Thursday'),
|
||||
_('Friday'),
|
||||
_('Saturday')
|
||||
);
|
||||
|
||||
return $days;
|
||||
|
@ -120,7 +120,7 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
private function getLocales()
|
||||
{
|
||||
$locales = array(
|
||||
'en_CA' => 'English'
|
||||
'en_CA' => _('English')
|
||||
);
|
||||
|
||||
return $locales;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue