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 a69ff167d4
commit e5f67c8b05
78 changed files with 481 additions and 423 deletions

View file

@ -29,7 +29,8 @@
<?php echo $this->element->getElement('bitrate')?>
</dd>
<dt id="outputServer-label">
<label for="outputServer"><?php echo $this->element->getElement('host')->getLabel()?><span class="info-text-small">(Required)</span> :</label>
<label for="outputServer"><?php echo $this->element->getElement('host')->getLabel()?><span class="info-text-small">
<?php echo _("(Required)")?></span> :</label>
</dt>
<dd id="outputServer-element">
<?php echo $this->element->getElement('host')?>
@ -42,7 +43,8 @@
<?php endif; ?>
</dd>
<dt id="outputPort-label">
<label for="outputPort"><?php echo $this->element->getElement('port')->getLabel()?><span class="info-text-small">(Required)</span> :</label>
<label for="outputPort"><?php echo $this->element->getElement('port')->getLabel()?><span class="info-text-small">
<?php echo _("(Required)")?></span> :</label>
</dt>
<dd id="outputPort-element">
<?php echo $this->element->getElement('port')?>
@ -71,7 +73,7 @@
<fieldset class="padded top-margin display_field toggle closed" id="output_setting">
<legend style="cursor: pointer;">
<span class="ui-icon ui-icon-triangle-2-n-s"></span>
Additional Options
<?php echo _("Additional Options")?>
</legend>
<dl class="zend_form">
<dt id="outputUser-label">
@ -103,7 +105,7 @@
<?php endif; ?>
</dd>
<dt class="block-display info-block">
The following info will be displayed to listeners in their media player:
<?php echo _("The following info will be displayed to listeners in their media player:")?>
</dt>
<dt id="stationName-label">
<label for="stationName"><?php echo $this->element->getElement('name')->getLabel()?> :</label>