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

@ -3,7 +3,7 @@
<a href="#" id="add-show-close" class="icon-link"><span class="ui-icon ui-icon-circle-close"></span><? echo _("Close") ?></a>
<button data-action="<?php echo isset($this->action) ? $this->action : "add-show" ?>" aria-disabled="false" role="button" class="add-show-submit right-floated ui-button ui-widget ui-state-default ui-button-text-icon-primary">
<span class="ui-icon ui-icon-plusthick"></span>
<span class="ui-button-text"><?php echo ($this->addNewShow ? "Add this show" : "Update show"); ?></span>
<span class="ui-button-text"><?php echo ($this->addNewShow ? _("Add this show") : _("Update show")); ?></span>
</button>
</div>
<div class="clear"></div>
@ -20,7 +20,7 @@
<div id="live-stream-override" class="collapsible-content">
<?php echo $this->live; ?>
</div>
<h3 class="collapsible-header"><span class="arrow-icon"></span>Record & Rebroadcast</h3>
<h3 class="collapsible-header"><span class="arrow-icon"></span><? echo _("Record & Rebroadcast")?></h3>
<div id="schedule-record-rebroadcast" class="collapsible-content">
<?php echo $this->rr; ?>
<?php echo $this->absoluteRebroadcast; ?>
@ -37,7 +37,7 @@
<div class="button-bar bottom">
<button data-action="<?php echo isset($this->action) ? $this->action : "add-show" ?>" aria-disabled="false" role="button" class="add-show-submit right-floated ui-button ui-widget ui-state-default ui-button-text-icon-primary">
<span class="ui-icon ui-icon-plusthick"></span>
<span class="ui-button-text"><?php echo ($this->addNewShow ? "Add this show" : "Update show"); ?></span>
<span class="ui-button-text"><?php echo ($this->addNewShow ? _("Add this show") : _("Update show")); ?></span>
</button>
</div>
</div>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("addShow"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("cancelCurrentShow"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("cancelShow"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("clearShow"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("deleteShow"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("eventFeed"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("makeContextMenu"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("moveShow"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("removeGroup"); ?></b></center>

View file

@ -1 +0,0 @@
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Schedule") ?></b><? echo _(" and script/action name "); ?><b><? echo _("resizeShow"); ?></b></center>