diff --git a/airtime_mvc/application/views/scripts/airtime-recorder/index.phtml b/airtime_mvc/application/views/scripts/airtime-recorder/index.phtml index 0a04fb79c..28044500a 100644 --- a/airtime_mvc/application/views/scripts/airtime-recorder/index.phtml +++ b/airtime_mvc/application/views/scripts/airtime-recorder/index.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>AirtimeRecorder</b> and script/action name <b>index</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("AirtimeRecorder") ?></b> and script/action name <b>index</b></center> diff --git a/airtime_mvc/application/views/scripts/audiopreview/audio-preview.phtml b/airtime_mvc/application/views/scripts/audiopreview/audio-preview.phtml index f76249b9f..789be01b3 100644 --- a/airtime_mvc/application/views/scripts/audiopreview/audio-preview.phtml +++ b/airtime_mvc/application/views/scripts/audiopreview/audio-preview.phtml @@ -19,19 +19,19 @@ <div class="jp-gui jp-interface"> <ul class="jp-controls"> <li class="ui-state-default ui-corner-all jp-previous"> - <span class="ui-icon ui-icon-seek-prev" tabindex="1">previous</span> + <span class="ui-icon ui-icon-seek-prev" tabindex="1"><? echo _("previous") ?></span> </li> <li class="ui-state-default ui-corner-all jp-play"> - <span class="ui-icon ui-icon-play" tabindex="1">play</span> + <span class="ui-icon ui-icon-play" tabindex="1"><? echo _("play") ?></span> </li> <li class="ui-state-default ui-corner-all jp-pause"> - <span class="ui-icon ui-icon-pause" tabindex="1">pause</span> + <span class="ui-icon ui-icon-pause" tabindex="1"><? echo _("pause") ?></span> </li> <li class="ui-state-default ui-corner-all jp-next"> - <span class="ui-icon ui-icon-seek-next" tabindex="1">next</span> + <span class="ui-icon ui-icon-seek-next" tabindex="1"><? echo _("next") ?></span> </li> <li class="ui-state-default ui-corner-all jp-stop"> - <span class="ui-icon ui-icon-stop" tabindex="1">stop</span> + <span class="ui-icon ui-icon-stop" tabindex="1"><? echo _("stop") ?></span> </li> </ul> <div class="jp-time-block"> @@ -47,16 +47,16 @@ </div> <div class="jp-volume-block"> <div class="jp-mute"> - <span class="ui-icon" tabindex="1" title="mute">mute</span> + <span class="ui-icon" tabindex="1" title="mute"><? echo _("mute") ?></span> </div> <div class="jp-unmute"> - <span class="ui-icon" tabindex="1" title="unmute">unmute</span> + <span class="ui-icon" tabindex="1" title="unmute"><? echo _("unmute") ?></span> </div> <div class="jp-volume-bar"> <div class="jp-volume-bar-value"></div> </div> <div class="jp-volume-max"> - <span class="ui-icon" tabindex="1" title="max volume">max volume</span> + <span class="ui-icon" tabindex="1" title="max volume"><? echo _("max volume") ?></span> </div> </div> </div> @@ -66,8 +66,8 @@ </ul> </div> <div class="jp-no-solution"> - <span>Update Required</span> - To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>. + <span><? echo _("Update Required") ?></span> + To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank"><? echo _("Flash plugin") ?></a>. </div> </div> </div> diff --git a/airtime_mvc/application/views/scripts/dashboard/about.phtml b/airtime_mvc/application/views/scripts/dashboard/about.phtml index b2ce0cb38..5a5ac1ace 100644 --- a/airtime_mvc/application/views/scripts/dashboard/about.phtml +++ b/airtime_mvc/application/views/scripts/dashboard/about.phtml @@ -1,8 +1,8 @@ <div class="text-content"> - <h2>About</h2> + <h2><? echo _("About") ?></h2> <p> -<a href="http://airtime.sourcefabric.org" target="_blank">Airtime</a> <?php echo $this->airtime_version ?>, the open radio software for scheduling and remote station management.<br> -© 2012 <a href="http://www.sourcefabric.org" target="_blank">Sourcefabric</a> o.p.s. Airtime is distributed under the <a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html" target="_blank">GNU GPL v.3</a> +<a href="http://airtime.sourcefabric.org" target="_blank"><? echo _("Airtime") ?></a> <?php echo $this->airtime_version ?>, the open radio software for scheduling and remote station management.<br> +© 2012 <a href="http://www.sourcefabric.org" target="_blank"><? echo _("Sourcefabric") ?></a> o.p.s. Airtime is distributed under the <a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html" target="_blank">GNU GPL v.3</a> </p> </div> <br> diff --git a/airtime_mvc/application/views/scripts/dashboard/help.phtml b/airtime_mvc/application/views/scripts/dashboard/help.phtml index 3e5d68553..425d04568 100644 --- a/airtime_mvc/application/views/scripts/dashboard/help.phtml +++ b/airtime_mvc/application/views/scripts/dashboard/help.phtml @@ -10,6 +10,6 @@ <li>Select your media from the left pane and drag them to your show in the right pane.</li> </ol> <p><strong>Then you're good to go!</strong><br /> -For more detailed help, read the <a href="http://www.sourcefabric.org/en/airtime/manuals/" target="_blank">user manual</a>.</p> +For more detailed help, read the <a href="http://www.sourcefabric.org/en/airtime/manuals/" target="_blank"><? echo _("user manual") ?></a>.</p> </div> diff --git a/airtime_mvc/application/views/scripts/dashboard/index.phtml b/airtime_mvc/application/views/scripts/dashboard/index.phtml index e5b885fc7..abb67f7f4 100644 --- a/airtime_mvc/application/views/scripts/dashboard/index.phtml +++ b/airtime_mvc/application/views/scripts/dashboard/index.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Dashboard</b> and script/action name <b>index</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Dashboard") ?></b> and script/action name <b>index</b></center> diff --git a/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml b/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml index ce4faa068..dbf5d052e 100644 --- a/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml +++ b/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml @@ -1,5 +1,5 @@ <div id="content" class="jp-container"> -<h1>Live stream</h1> +<h1><? echo _("Live stream") ?></h1> <?php $ids = Application_Model_StreamSetting::getEnabledStreamIds(); ?> <script> function setjPlayer(url, type, serverType){ @@ -73,8 +73,8 @@ $(document).ready(function(){ <div class="jp-type-single"> <div id="jp_interface_1" class="jp-gui jp-interface"> <ul class="jp-controls"> - <li><a title="mute" tabindex="1" class="jp-mute" href="javascript:;">mute</a></li> - <li><a title="unmute" tabindex="1" class="jp-unmute" href="javascript:;">unmute</a></li> + <li><a title="mute" tabindex="1" class="jp-mute" href="javascript:;"><? echo _("mute") ?></a></li> + <li><a title="unmute" tabindex="1" class="jp-unmute" href="javascript:;"><? echo _("unmute") ?></a></li> </ul> <div class="jp-volume-bar"> <div class="jp-volume-bar-value"></div> diff --git a/airtime_mvc/application/views/scripts/error/denied.phtml b/airtime_mvc/application/views/scripts/error/denied.phtml index 5a133fec6..23baf0661 100644 --- a/airtime_mvc/application/views/scripts/error/denied.phtml +++ b/airtime_mvc/application/views/scripts/error/denied.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Error</b> and script/action name <b>denied</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Error") ?></b> and script/action name <b>denied</b></center> diff --git a/airtime_mvc/application/views/scripts/error/error.phtml b/airtime_mvc/application/views/scripts/error/error.phtml index f3c889b1c..a58862e11 100644 --- a/airtime_mvc/application/views/scripts/error/error.phtml +++ b/airtime_mvc/application/views/scripts/error/error.phtml @@ -3,14 +3,14 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>Zend Framework Default Application</title> + <title><? echo _("Zend Framework Default Application") ?></title> </head> <body> <div class="error-content"> <h2>Page not found!</h2> <p>Looks like the page you were looking for doesn't exist!</p> <div class="button-bar"> - <a class="toggle-button" href="<?php echo $this->baseUrl('dashboard/help'); ?>">Help</a> + <a class="toggle-button" href="<?php echo $this->baseUrl('dashboard/help'); ?>"><? echo _("Help") ?></a> </div> </div> </body> diff --git a/airtime_mvc/application/views/scripts/form/add-show-rebroadcast-absolute.phtml b/airtime_mvc/application/views/scripts/form/add-show-rebroadcast-absolute.phtml index af562738a..0e1dd34a1 100644 --- a/airtime_mvc/application/views/scripts/form/add-show-rebroadcast-absolute.phtml +++ b/airtime_mvc/application/views/scripts/form/add-show-rebroadcast-absolute.phtml @@ -15,7 +15,7 @@ <?php if($i > 1): ?> <a class="ui-button ui-button-icon-only ui-widget ui-state-default" id="remove_rebroadcast_absolute_<?php echo $i ?>"> <span class="ui-icon ui-icon-closethick"></span> - <span class="ui-button-text">Remove</span> + <span class="ui-button-text"><? echo _("Remove") ?></span> </a> <?php endif; ?> <?php if(($this->element->getElement('add_show_rebroadcast_date_absolute_'.$i)->hasErrors()) @@ -37,7 +37,7 @@ </ul> <a class="ui-button ui-button-icon-only ui-widget ui-state-default add_absolute_rebroadcast_day"> <span class="ui-icon ui-icon-plusthick"></span> - <span class="ui-button-text">Add</span> + <span class="ui-button-text"><? echo _("Add") ?></span> </a> </dd> </dl> diff --git a/airtime_mvc/application/views/scripts/form/add-show-rebroadcast.phtml b/airtime_mvc/application/views/scripts/form/add-show-rebroadcast.phtml index 41a4fce79..960074d3d 100644 --- a/airtime_mvc/application/views/scripts/form/add-show-rebroadcast.phtml +++ b/airtime_mvc/application/views/scripts/form/add-show-rebroadcast.phtml @@ -15,7 +15,7 @@ <?php if($i > 1): ?> <a class="ui-button ui-button-icon-only ui-widget ui-state-default" id="remove_rebroadcast_<?php echo $i ?>"> <span class="ui-icon ui-icon-closethick"></span> - <span class="ui-button-text">Remove</span> + <span class="ui-button-text"><? echo _("Remove") ?></span> </a> <?php endif; ?> <?php if(($this->element->getElement('add_show_rebroadcast_date_'.$i)->hasErrors()) @@ -38,7 +38,7 @@ </ul> <a class="ui-button ui-button-icon-only ui-widget ui-state-default add_absolute_rebroadcast_day"> <span class="ui-icon ui-icon-plusthick"></span> - <span class="ui-button-text">Add</span> + <span class="ui-button-text"><? echo _("Add") ?></span> </a> </dd> </dl> diff --git a/airtime_mvc/application/views/scripts/form/login.phtml b/airtime_mvc/application/views/scripts/form/login.phtml index 87510201a..ab8431f0d 100644 --- a/airtime_mvc/application/views/scripts/form/login.phtml +++ b/airtime_mvc/application/views/scripts/form/login.phtml @@ -22,7 +22,7 @@ <?php if (Application_Model_Preference::GetEnableSystemEmail()): ?> <dt id="reset-label" class="hidden"> </dt> <dd id="reset-element" class="text-right"> - <a href="<?php echo $this->baseUrl('login/password-restore'); ?>" class="link reset">Reset password</a> + <a href="<?php echo $this->baseUrl('login/password-restore'); ?>" class="link reset"><? echo _("Reset password") ?></a> </dd> <?php endif; ?> <?php echo $this->element->getElement('captcha') ?> @@ -32,4 +32,4 @@ </dd> </dl> -</form> \ No newline at end of file +</form> diff --git a/airtime_mvc/application/views/scripts/form/preferences.phtml b/airtime_mvc/application/views/scripts/form/preferences.phtml index cac7af2b2..6cfea7722 100644 --- a/airtime_mvc/application/views/scripts/form/preferences.phtml +++ b/airtime_mvc/application/views/scripts/form/preferences.phtml @@ -7,7 +7,7 @@ <?php echo $this->element->getSubform('preferences_email_server') ?> </div> - <h3 class="collapsible-header" id="soundcloud-heading"><span class="arrow-icon"></span>SoundCloud Settings</h3> + <h3 class="collapsible-header" id="soundcloud-heading"><span class="arrow-icon"></span><? echo _("SoundCloud Settings") ?></h3> <div class="collapsible-content" id="soundcloud-settings"> <?php echo $this->element->getSubform('preferences_soundcloud') ?> diff --git a/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml b/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml index 62339e137..807221e10 100644 --- a/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml +++ b/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml @@ -1,5 +1,5 @@ <fieldset class="padded stream-setting-global" style="margin-top: 15px"> - <legend>Input Stream Settings</legend> + <legend><? echo _("Input Stream Settings") ?></legend> <dl class="zend_form"> <dt id="auto_transition-label"> <label class="optional" for="auto_transition"><?php echo $this->element->getElement('auto_transition')->getLabel() ?> : @@ -111,12 +111,12 @@ <dd id="master_dj_connection_url-element"> <span id="stream_url"><?php echo $this->element->getElement('master_dj_connection_url')->setValue($this->master_dj_connection_url) ?></span> <?php if(!$this->isDemo){?> - <a href=# id="connection_url_override" style="font-size: 12px;">Override</a> + <a href=# id="connection_url_override" style="font-size: 12px;"><? echo _("Override") ?></a> <span class="override_help_icon"> </span><br> <?php } ?> <div id="master_dj_connection_url_actions" style="display:none"> - <a href=# id="ok" style="font-size: 12px;">OK</a> <a href=# id="reset" style="font-size: 12px;">RESET</a> + <a href=# id="ok" style="font-size: 12px;"><? echo _("OK") ?></a> <a href=# id="reset" style="font-size: 12px;">RESET</a> </div> </dd> <dt id="dj_harbor_input_port-label"> @@ -154,12 +154,12 @@ <dd id="live_dj_connection_url-element"> <span id="stream_url"><?php echo $this->element->getElement('live_dj_connection_url')->setValue($this->live_dj_connection_url) ?></span> <?php if( !$this->isDemo ){?> - <a href=# id="connection_url_override" style="font-size: 12px;">Override</a> + <a href=# id="connection_url_override" style="font-size: 12px;"><? echo _("Override") ?></a> <span class="override_help_icon"> </span><br> <?php } ?> <div id="live_dj_connection_url_actions" style="display:none"> - <a href=# id="ok" style="font-size: 12px;">OK</a> <a href=# id="reset" style="font-size: 12px;">RESET</a> + <a href=# id="ok" style="font-size: 12px;"><? echo _("OK") ?></a> <a href=# id="reset" style="font-size: 12px;">RESET</a> </div> </dd> </dl> diff --git a/airtime_mvc/application/views/scripts/form/register-dialog.phtml b/airtime_mvc/application/views/scripts/form/register-dialog.phtml index b4c9630bb..cddd440a9 100644 --- a/airtime_mvc/application/views/scripts/form/register-dialog.phtml +++ b/airtime_mvc/application/views/scripts/form/register-dialog.phtml @@ -161,7 +161,7 @@ <div id="show_what_sending" style="display: block;"> <fieldset class="display_field toggle closed"> - <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>Show me what I am sending </legend> + <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span><? echo _("Show me what I am sending ") ?></legend> <dl> <?php echo $this->element->getElement('SendInfo') ?> </dl> @@ -175,7 +175,7 @@ <?php echo $this->element->getElement('Privacy')->getLabel() ?> </label> <?php }else{?> - <a id="link_to_terms_and_condition" href="http://www.sourcefabric.org/en/about/policy/" onclick="window.open(this.href); return false;">Terms and Conditions</a> + <a id="link_to_terms_and_condition" href="http://www.sourcefabric.org/en/about/policy/" onclick="window.open(this.href); return false;"><? echo _("Terms and Conditions") ?></a> <?php }?> </div> </form> diff --git a/airtime_mvc/application/views/scripts/form/showbuilder.phtml b/airtime_mvc/application/views/scripts/form/showbuilder.phtml index a0193b664..49d482d69 100644 --- a/airtime_mvc/application/views/scripts/form/showbuilder.phtml +++ b/airtime_mvc/application/views/scripts/form/showbuilder.phtml @@ -4,7 +4,7 @@ <?php echo $this->element->getElement('sb_time_end'); ?> <a id="sb_submit" class="btn btn-small" href="#" title="Display shows in the specified date and time range"> - <i class="icon-white icon-search"></i> Find Shows</a> + <i class="icon-white icon-search"></i><? echo _(" Find Shows") ?></a> <div class="sb-advanced-options"> <fieldset class="padded display_field push-down-8 closed"> <legend style="cursor: pointer;"> diff --git a/airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml b/airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml index 1e95b6e04..962a9c491 100644 --- a/airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml +++ b/airtime_mvc/application/views/scripts/form/smart-block-criteria.phtml @@ -1,6 +1,6 @@ <form id="smart-block-form" method="post" action=""> <fieldset class='toggle <?php echo $this->openOption ? "" : "closed"?> sb-criteria-fieldset' id='smart_block_options'> -<legend style='cursor: pointer;'><span class='ui-icon ui-icon-triangle-2-n-s'></span>Smart Block Options</legend> +<legend style='cursor: pointer;'><span class='ui-icon ui-icon-triangle-2-n-s'></span><? echo _("Smart Block Options") ?></legend> <dl class='zend_form search-criteria'> <div class='btn-toolbar clearfix'> diff --git a/airtime_mvc/application/views/scripts/form/support-setting.phtml b/airtime_mvc/application/views/scripts/form/support-setting.phtml index ad15671f6..e056f03bf 100644 --- a/airtime_mvc/application/views/scripts/form/support-setting.phtml +++ b/airtime_mvc/application/views/scripts/form/support-setting.phtml @@ -154,7 +154,7 @@ </dl> <div id="show_what_sending" style="display: block;"> <fieldset class="display_field toggle closed"> - <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>Show me what I am sending </legend> + <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span><? echo _("Show me what I am sending ") ?></legend> <dl> <?php echo $this->element->getElement('SendInfo') ?> </dl> @@ -176,7 +176,7 @@ </ul> <?php endif; ?> <?php }else{?> - <a id="link_to_terms_and_condition" href="http://www.sourcefabric.org/en/about/policy/" onclick="window.open(this.href); return false;">Sourcefabric Privacy Policy</a> + <a id="link_to_terms_and_condition" href="http://www.sourcefabric.org/en/about/policy/" onclick="window.open(this.href); return false;"><? echo _("Sourcefabric Privacy Policy") ?></a> <?php }?> </div> </fieldset> diff --git a/airtime_mvc/application/views/scripts/index/display.phtml b/airtime_mvc/application/views/scripts/index/display.phtml index d2cfe08b7..95651f8a9 100644 --- a/airtime_mvc/application/views/scripts/index/display.phtml +++ b/airtime_mvc/application/views/scripts/index/display.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Index</b> and script/action name <b>display</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Index") ?></b> and script/action name <b>display</b></center> diff --git a/airtime_mvc/application/views/scripts/index/main.phtml b/airtime_mvc/application/views/scripts/index/main.phtml index 6d10563ec..e90f29c6f 100644 --- a/airtime_mvc/application/views/scripts/index/main.phtml +++ b/airtime_mvc/application/views/scripts/index/main.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Index</b> and script/action name <b>main</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Index") ?></b> and script/action name <b>main</b></center> diff --git a/airtime_mvc/application/views/scripts/index/newfield.phtml b/airtime_mvc/application/views/scripts/index/newfield.phtml index d1935f51f..4c5d95a86 100644 --- a/airtime_mvc/application/views/scripts/index/newfield.phtml +++ b/airtime_mvc/application/views/scripts/index/newfield.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Index</b> and script/action name <b>newfield</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Index") ?></b> and script/action name <b>newfield</b></center> diff --git a/airtime_mvc/application/views/scripts/library/edit-file-md.phtml b/airtime_mvc/application/views/scripts/library/edit-file-md.phtml index bdead9832..3c1d28675 100644 --- a/airtime_mvc/application/views/scripts/library/edit-file-md.phtml +++ b/airtime_mvc/application/views/scripts/library/edit-file-md.phtml @@ -1,5 +1,5 @@ <div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong"> - <h2>Edit Metadata</h2> + <h2><? echo _("Edit Metadata") ?></h2> <?php //$this->form->setAction($this->url()); echo $this->form; ?> diff --git a/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml b/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml index ad65f2417..53adc86e0 100644 --- a/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml +++ b/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml @@ -36,10 +36,10 @@ <?php if ($this->type == "playlist") { ?> <div class='file-md-qtip-legend'> -<span class='webstream'>o</span> <span>Web Stream</span><br /> -<span class='dynamic'>o</span> <span>Dynamic Smart Block</span><br /> -<span class='static'>o</span> <span>Static Smart Block</span><br /> -<span>o</span> <span>Audio Track</span> +<span class='webstream'><? echo _("o") ?></span> <span>Web Stream</span><br /> +<span class='dynamic'><? echo _("o") ?></span> <span>Dynamic Smart Block</span><br /> +<span class='static'><? echo _("o") ?></span> <span>Static Smart Block</span><br /> +<span><? echo _("o") ?></span> <span>Audio Track</span> </div> <?php } ?> @@ -115,7 +115,7 @@ <?php endforeach; ?> <?php endforeach; ?> <tr> - <td>Limit to </td> + <td><? echo _("Limit to ") ?></td> <td><?php echo $this->contents["limit"]["value"] ?> <?php echo $this->contents["limit"]["modifier"] ?></td> </tr> </table> diff --git a/airtime_mvc/application/views/scripts/library/library.phtml b/airtime_mvc/application/views/scripts/library/library.phtml index 709770016..fe0e2eae2 100644 --- a/airtime_mvc/application/views/scripts/library/library.phtml +++ b/airtime_mvc/application/views/scripts/library/library.phtml @@ -1,7 +1,7 @@ <?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?> <div id="import_status" class="library_import" style="display:none">File import in progress...<img src=<?php echo $baseUrl . "/css/images/file_import_loader.gif"?>></img></div> <fieldset class="toggle closed" id="filter_options"> - <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>Advanced Search Options</legend> + <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span><? echo _("Advanced Search Options") ?></legend> <div id="advanced_search" class="advanced_search form-horizontal"></div> </fieldset> <table id="library_display" cellpadding="0" cellspacing="0" class="datatable"> diff --git a/airtime_mvc/application/views/scripts/login/index.phtml b/airtime_mvc/application/views/scripts/login/index.phtml index 7aba40c29..dbd598058 100644 --- a/airtime_mvc/application/views/scripts/login/index.phtml +++ b/airtime_mvc/application/views/scripts/login/index.phtml @@ -1,6 +1,6 @@ <div class="login_box"> <div class="logobox"> </div> - <h2>Login</h2> + <h2><? echo _("Login") ?></h2> <div id="login" class="login-content clearfix"> <?php if(isset($this->demo) && $this->demo == 1){?> <p style="font-weight:bold">Welcome to the online Airtime demo! You can log in using the username 'admin' and the password 'admin'.</p> diff --git a/airtime_mvc/application/views/scripts/login/logout.phtml b/airtime_mvc/application/views/scripts/login/logout.phtml index 35e6f2b8a..e3a1a389c 100644 --- a/airtime_mvc/application/views/scripts/login/logout.phtml +++ b/airtime_mvc/application/views/scripts/login/logout.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Login</b> and script/action name <b>logout</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Login") ?></b> and script/action name <b>logout</b></center> diff --git a/airtime_mvc/application/views/scripts/login/password-change.phtml b/airtime_mvc/application/views/scripts/login/password-change.phtml index 8be481cea..84ebac12a 100644 --- a/airtime_mvc/application/views/scripts/login/password-change.phtml +++ b/airtime_mvc/application/views/scripts/login/password-change.phtml @@ -1,9 +1,9 @@ <div class="login_box"> <div class="logobox"> </div> - <h2>New password</h2> + <h2><? echo _("New password") ?></h2> <div id="login" class="login-content clearfix"> <p class="light">Please enter and confirm your new password in the fields below.</p> <?php echo $this->form; ?> </div> -</div> \ No newline at end of file +</div> diff --git a/airtime_mvc/application/views/scripts/login/password-restore-after.phtml b/airtime_mvc/application/views/scripts/login/password-restore-after.phtml index d5da4327e..19ebd6daf 100644 --- a/airtime_mvc/application/views/scripts/login/password-restore-after.phtml +++ b/airtime_mvc/application/views/scripts/login/password-restore-after.phtml @@ -1,9 +1,9 @@ <div class="login_box"> <div class="logobox"> </div> - <h2>Email sent</h2> + <h2><? echo _("Email sent") ?></h2> <div id="login" class="login-content clearfix"> - <p class="light">An email has been sent</p> - <p><a class="link" href="<?php echo $this->baseUrl('login'); ?>">Back to login screen</a></p> + <p class="light"><? echo _("An email has been sent") ?></p> + <p><a class="link" href="<?php echo $this->baseUrl('login'); ?>"><? echo _("Back to login screen") ?></a></p> </div> </div> diff --git a/airtime_mvc/application/views/scripts/login/password-restore.phtml b/airtime_mvc/application/views/scripts/login/password-restore.phtml index bf65b2114..53385c636 100644 --- a/airtime_mvc/application/views/scripts/login/password-restore.phtml +++ b/airtime_mvc/application/views/scripts/login/password-restore.phtml @@ -1,6 +1,6 @@ <div class="login_box"> <div class="logobox"> </div> - <h2>Reset password</h2> + <h2><? echo _("Reset password") ?></h2> <div id="login" class="login-content clearfix"> <p class="light">Please enter your account e-mail address. You will receive a link to create a new password via e-mail.</p> diff --git a/airtime_mvc/application/views/scripts/partialviews/header.phtml b/airtime_mvc/application/views/scripts/partialviews/header.phtml index b325e3fb6..3d32c4f4e 100644 --- a/airtime_mvc/application/views/scripts/partialviews/header.phtml +++ b/airtime_mvc/application/views/scripts/partialviews/header.phtml @@ -3,7 +3,7 @@ <div class="text-row"><strong>Previous:</strong> <span id='previous'></span> <span id='prev-length'></span></div> <div class="now-playing-info song"> <div class="time-flow"><span class="time-elapsed" id="time-elapsed"></span><span class="time-remaining" id="time-remaining"></span></div> - <span id='current'></span> <span class="length" id="song-length"></span> </div> + <span id='current'></span> <span class="length" id="song-length"></span><? echo _(" ") ?></div> <div class="progressbar"> <div class="progress-song" id="progress-bar" style="width:0%;"></div> </div> @@ -21,7 +21,7 @@ </div> </div> <div class="source-info-block"> - <h3>Source Streams</h3> + <h3><? echo _("Source Streams") ?></h3> <ul> <li> <div id="master_dj_div" class="source-label"> @@ -42,7 +42,7 @@ <div class="line-to-on-air"></div> </li> <li> - <div id="scheduled_play_div" class="source-label"> Scheduled Play</div> + <div id="scheduled_play_div" class="source-label"><? echo _(" Scheduled Play") ?></div> <div class="line-to-switch"></div> <a href="#" id="scheduled_play" class="source-switch-button" onclick="setSwitchListener(this);"><span><?php echo $this->scheduled_play_switch?></span></a> <div class="line-to-on-air"></div> @@ -51,12 +51,12 @@ </div> <div class="on-air-block"> <h3> </h3> - <div class="on-air-info off" id="on-air-info">ON AIR</div> - <a href="#" class="listen-control-button"><span>Listen</span></a> + <div class="on-air-info off" id="on-air-info"><? echo _("ON AIR") ?></div> + <a href="#" class="listen-control-button"><span><? echo _("Listen") ?></span></a> </div> <div class="time-info-block pull-right"> <ul> - <li>Station time</li> + <li><? echo _("Station time") ?></li> <li class="time" id="time"></li> <li class="time-zone"><span id="time-zone"></span></li> </ul> diff --git a/airtime_mvc/application/views/scripts/partialviews/trialBox.phtml b/airtime_mvc/application/views/scripts/partialviews/trialBox.phtml index 7fb28258a..38c50ba56 100644 --- a/airtime_mvc/application/views/scripts/partialviews/trialBox.phtml +++ b/airtime_mvc/application/views/scripts/partialviews/trialBox.phtml @@ -1,12 +1,12 @@ <?php if($this->trial_remain != '' && $this->trial_remain != "Trial expired."){?> <div class="trial-box"> - <p>Your trial expires in</p> + <p><? echo _("Your trial expires in") ?></p> <div class="trial-box-calendar"> <span class="trial-box-calendar-white"><?php echo $this->trial_remain?></span> - <div class="trial-box-calendar-gray">days</div> + <div class="trial-box-calendar-gray"><? echo _("days") ?></div> </div> <div class="trial-box-button"> - <a title="Purchase your copy of Airtime" href="https://account.sourcefabric.com/clientarea.php" target="_blank">My Account</a> + <a title="Purchase your copy of Airtime" href="https://account.sourcefabric.com/clientarea.php" target="_blank"><? echo _("My Account") ?></a> </div> </div> -<?php }?> \ No newline at end of file +<?php }?> diff --git a/airtime_mvc/application/views/scripts/playlist/playlist.phtml b/airtime_mvc/application/views/scripts/playlist/playlist.phtml index d287abaec..94c13b747 100644 --- a/airtime_mvc/application/views/scripts/playlist/playlist.phtml +++ b/airtime_mvc/application/views/scripts/playlist/playlist.phtml @@ -10,9 +10,9 @@ if (isset($this->obj)) { New <span class="caret"></span> </button> <ul class="dropdown-menu"> - <li id='lib-new-pl'><a href="#">New Playlist</a></li> - <li id='lib-new-bl'><a href="#">New Smart Block</a></li> - <li id='lib-new-ws'><a href="#">New Webstream</a></li> + <li id='lib-new-pl'><a href="#"><? echo _("New Playlist") ?></a></li> + <li id='lib-new-bl'><a href="#"><? echo _("New Smart Block") ?></a></li> + <li id='lib-new-ws'><a href="#"><? echo _("New Webstream") ?></a></li> </ul> </div> <?php if (isset($this->obj)) : ?> @@ -20,14 +20,14 @@ if (isset($this->obj)) { <button class="btn btn-inverse" title='Shuffle playlist' type="button" id="playlist_shuffle_button">Shuffle</button> </div> <div class='btn-group pull-right'> - <button class="btn btn-inverse" title='Save playlist' type="button" id="save_button">Save</button> + <button class="btn btn-inverse" title='Save playlist' type="button" id="save_button"><? echo _("Save") ?></button> </div> <div class='btn-group pull-right'> - <button id="spl_delete" class="btn" role="button" aria-disabled="false">Delete</button> + <button id="spl_delete" class="btn" role="button" aria-disabled="false"><? echo _("Delete") ?></button> </div> <div class='btn-group pull-right'> <a href="#" id="spl_crossfade" class="btn crossfade-main-button" style="display:<?php echo $count > 0 ?"block;":"none;"?>"> - <i class='crossfade-main-icon'></i><span class="ui-button-text">Playlist crossfade</span> + <i class='crossfade-main-icon'></i><span class="ui-button-text"><? echo _("Playlist crossfade") ?></span> </a> </div> <?php endif; ?> @@ -48,7 +48,7 @@ if (isset($this->obj)) { <fieldset class="toggle closed" id="fieldset-metadate_change"> <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>View / edit description</legend> <dl class="zend_form"> - <dt id="description-label"><label for="description">Description</label></dt> + <dt id="description-label"><label for="description"><? echo _("Description") ?></label></dt> <dd id="description-element"> <textarea cols="80" rows="24" id="description" name="description"><?php echo $this->obj->getDescription(); ?></textarea> </dd> @@ -78,5 +78,5 @@ if (isset($this->obj)) { </div> <?php else : ?> - <div>No open playlist</div> + <div><? echo _("No open playlist") ?></div> <?php endif; ?> diff --git a/airtime_mvc/application/views/scripts/playlist/smart-block.phtml b/airtime_mvc/application/views/scripts/playlist/smart-block.phtml index dd36ffbfc..23b28f28b 100644 --- a/airtime_mvc/application/views/scripts/playlist/smart-block.phtml +++ b/airtime_mvc/application/views/scripts/playlist/smart-block.phtml @@ -10,21 +10,21 @@ if (isset($this->obj)) { New <span class="caret"></span> </button> <ul class="dropdown-menu"> - <li id='lib-new-pl'><a href="#">New Playlist</a></li> - <li id='lib-new-bl'><a href="#">New Smart Block</a></li> - <li id='lib-new-ws'><a href="#">New Webstream</a></li> + <li id='lib-new-pl'><a href="#"><? echo _("New Playlist") ?></a></li> + <li id='lib-new-bl'><a href="#"><? echo _("New Smart Block") ?></a></li> + <li id='lib-new-ws'><a href="#"><? echo _("New Webstream") ?></a></li> </ul> </div> <?php if (isset($this->obj)) : ?> <div class='btn-group pull-right'> - <button class="btn btn-inverse" title='Save smart block's title, description, and criteria' type="button" id="save_button">Save</button> + <button class="btn btn-inverse" title='Save smart block's title, description, and criteria' type="button" id="save_button"><? echo _("Save") ?></button> </div> <div class='btn-group pull-right'> - <button id="spl_delete" class="btn" role="button" aria-disabled="false">Delete</button> + <button id="spl_delete" class="btn" role="button" aria-disabled="false"><? echo _("Delete") ?></button> </div> <div class='btn-group pull-right'> <a href="#" id="spl_crossfade" class="btn crossfade-main-button" style="display:<?php echo ($this->obj->isStatic() && $count > 0) ?"block;":"none;"?>"> - <i class='crossfade-main-icon'></i><span class="ui-button-text">Playlist crossfade</span> + <i class='crossfade-main-icon'></i><span class="ui-button-text"><? echo _("Playlist crossfade") ?></span> </a> </div> <?php endif; ?> @@ -50,7 +50,7 @@ if (isset($this->obj)) { <fieldset class="toggle closed" id="fieldset-metadate_change"> <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>View / edit description</legend> <dl class="zend_form"> - <dt id="description-label"><label for="description">Description</label></dt> + <dt id="description-label"><label for="description"><? echo _("Description") ?></label></dt> <dd id="description-element"> <textarea cols="80" rows="24" id="description" name="description"><?php if (isset($this->unsavedDesc)) echo $this->unsavedDesc; @@ -83,5 +83,5 @@ if (isset($this->obj)) { </div> <?php else : ?> - <div>No open smart block</div> + <div><? echo _("No open smart block") ?></div> <?php endif; ?> diff --git a/airtime_mvc/application/views/scripts/plupload/upload.phtml b/airtime_mvc/application/views/scripts/plupload/upload.phtml index 69977aa4c..481a0106c 100644 --- a/airtime_mvc/application/views/scripts/plupload/upload.phtml +++ b/airtime_mvc/application/views/scripts/plupload/upload.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Library</b> and script/action name <b>upload</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Library") ?></b> and script/action name <b>upload</b></center> diff --git a/airtime_mvc/application/views/scripts/preference/directory-config.phtml b/airtime_mvc/application/views/scripts/preference/directory-config.phtml index bdda1c46e..23b9919fa 100644 --- a/airtime_mvc/application/views/scripts/preference/directory-config.phtml +++ b/airtime_mvc/application/views/scripts/preference/directory-config.phtml @@ -1,4 +1,4 @@ <div id="watched-folder-section" class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong manage-folders"> -<h2>Manage Media Folders</h2> +<h2><? echo _("Manage Media Folders") ?></h2> <?php echo $this->form; ?> </div> diff --git a/airtime_mvc/application/views/scripts/preference/index.phtml b/airtime_mvc/application/views/scripts/preference/index.phtml index 782b655a0..2e0635067 100644 --- a/airtime_mvc/application/views/scripts/preference/index.phtml +++ b/airtime_mvc/application/views/scripts/preference/index.phtml @@ -1,9 +1,9 @@ <div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong preferences"> -<h2 style="float:left">Preferences</h2> +<h2 style="float:left"><? echo _("Preferences") ?></h2> <?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?> <form method="post" id="pref_form" enctype="application/x-www-form-urlencoded"> - <button name="pref_save" id="pref_save" type="button" class="btn btn-small right-floated">Save</button> + <button name="pref_save" id="pref_save" type="button" class="btn btn-small right-floated"><? echo _("Save") ?></button> <div style="clear:both"></div> <?php @@ -11,6 +11,6 @@ echo $this->form; ?> <br /> - <button name="pref_save" id="pref_save" type="button" class="btn btn-small right-floated">Save</button> + <button name="pref_save" id="pref_save" type="button" class="btn btn-small right-floated"><? echo _("Save") ?></button> </form> </div> diff --git a/airtime_mvc/application/views/scripts/preference/stream-setting.phtml b/airtime_mvc/application/views/scripts/preference/stream-setting.phtml index 086089689..60e4988e9 100644 --- a/airtime_mvc/application/views/scripts/preference/stream-setting.phtml +++ b/airtime_mvc/application/views/scripts/preference/stream-setting.phtml @@ -1,15 +1,15 @@ <div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong stream-config"> - <h2 <?php if($this->enable_stream_conf == "true"){?>style="float:left"<?php }?>>Stream Settings</h2> + <h2 <?php if($this->enable_stream_conf == "true"){?>style="float:left"<?php }?>><? echo _("Stream Settings") ?></h2> <?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?> <?php if($this->enable_stream_conf == "true"){?> <form method="post" id="stream_form" enctype="application/x-www-form-urlencoded"> - <button name="stream_save" id="stream_save" type="button" class="btn btn-small right-floated">Save</button> + <button name="stream_save" id="stream_save" type="button" class="btn btn-small right-floated"><? echo _("Save") ?></button> <div style="clear:both"></div> <?php }?> <?php echo $this->statusMsg;?> <div style="float: left; margin-right: 10px; width: 490px; overflow: auto;"> <fieldset class="padded stream-setting-global"> - <legend>Global Settings</legend> + <legend><? echo _("Global Settings") ?></legend> <dl class="zend_form"> <?php if($this->form->getElement('output_sound_device') != null){?> <dt id="hardwareOut-label"> @@ -69,7 +69,7 @@ </div> <div style="float: left; width: 600px;"> <fieldset class="padded"> - <legend>Output Stream Settings</legend> + <legend><? echo _("Output Stream Settings") ?></legend> <?php for($i=1;$i<=$this->num_stream;$i++){ echo $this->form->getSubform("s".$i."_subform"); @@ -78,7 +78,7 @@ </fieldset> <?php if($this->enable_stream_conf == "true"){?> <br /> - <button name="stream_save" id="stream_save" type="button" class="btn btn-small right-floated">Save</button> + <button name="stream_save" id="stream_save" type="button" class="btn btn-small right-floated"><? echo _("Save") ?></button> <?php }?> </div> </form> diff --git a/airtime_mvc/application/views/scripts/recorder/get-show-schedule.phtml b/airtime_mvc/application/views/scripts/recorder/get-show-schedule.phtml index 72a5d839b..cb045855c 100644 --- a/airtime_mvc/application/views/scripts/recorder/get-show-schedule.phtml +++ b/airtime_mvc/application/views/scripts/recorder/get-show-schedule.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Recorder</b> and script/action name <b>getShowSchedule</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Recorder") ?></b> and script/action name <b>getShowSchedule</b></center> diff --git a/airtime_mvc/application/views/scripts/recorder/index.phtml b/airtime_mvc/application/views/scripts/recorder/index.phtml index 60ca18d3a..e3b8657a6 100644 --- a/airtime_mvc/application/views/scripts/recorder/index.phtml +++ b/airtime_mvc/application/views/scripts/recorder/index.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Recorder</b> and script/action name <b>index</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Recorder") ?></b> and script/action name <b>index</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml b/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml index c83ccbc26..1255adb3f 100644 --- a/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml +++ b/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml @@ -1,22 +1,22 @@ <div id="schedule-add-show" class="tabs ui-widget ui-widget-content block-shadow alpha-block padded"> <div class="button-bar"> - <a href="#" id="add-show-close" class="icon-link"><span class="ui-icon ui-icon-circle-close"></span>Close</a> + <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> </button> </div> <div class="clear"></div> - <h3 class="collapsible-header"><span class="arrow-icon"></span>What</h3> + <h3 class="collapsible-header"><span class="arrow-icon"></span><? echo _("What") ?></h3> <div id="schedule-show-what" class="collapsible-content"> <?php echo $this->what; ?> </div> - <h3 class="collapsible-header"><span class="arrow-icon"></span>When</h3> + <h3 class="collapsible-header"><span class="arrow-icon"></span><? echo _("When") ?></h3> <div id="schedule-show-when" class="collapsible-content"> <?php echo $this->when; ?> <?php echo $this->repeats; ?> </div> - <h3 class="collapsible-header"><span class="arrow-icon"></span>Live Stream Input</h3> + <h3 class="collapsible-header"><span class="arrow-icon"></span><? echo _("Live Stream Input") ?></h3> <div id="live-stream-override" class="collapsible-content"> <?php echo $this->live; ?> </div> @@ -26,11 +26,11 @@ <?php echo $this->absoluteRebroadcast; ?> <?php echo $this->rebroadcast; ?> </div> - <h3 class="collapsible-header"><span class="arrow-icon"></span>Who</h3> + <h3 class="collapsible-header"><span class="arrow-icon"></span><? echo _("Who") ?></h3> <div id="schedule-show-who" class="collapsible-content"> <?php echo $this->who; ?> </div> - <h3 class="collapsible-header"><span class="arrow-icon"></span>Style</h3> + <h3 class="collapsible-header"><span class="arrow-icon"></span><? echo _("Style") ?></h3> <div id="schedule-show-style" class="collapsible-content"> <?php echo $this->style; ?> </div> diff --git a/airtime_mvc/application/views/scripts/schedule/add-show.phtml b/airtime_mvc/application/views/scripts/schedule/add-show.phtml index 9802bc860..537169d2f 100644 --- a/airtime_mvc/application/views/scripts/schedule/add-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/add-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>addShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>addShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/cancel-current-show.phtml b/airtime_mvc/application/views/scripts/schedule/cancel-current-show.phtml index 837c66731..893a7b716 100644 --- a/airtime_mvc/application/views/scripts/schedule/cancel-current-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/cancel-current-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>cancelCurrentShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>cancelCurrentShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/cancel-show.phtml b/airtime_mvc/application/views/scripts/schedule/cancel-show.phtml index 1f2c21d35..576970be8 100644 --- a/airtime_mvc/application/views/scripts/schedule/cancel-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/cancel-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>cancelShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>cancelShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/clear-show.phtml b/airtime_mvc/application/views/scripts/schedule/clear-show.phtml index 839707d86..316bcaa16 100644 --- a/airtime_mvc/application/views/scripts/schedule/clear-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/clear-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>clearShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>clearShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/delete-show.phtml b/airtime_mvc/application/views/scripts/schedule/delete-show.phtml index ecfbea529..0dc01a16d 100644 --- a/airtime_mvc/application/views/scripts/schedule/delete-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/delete-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>deleteShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>deleteShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/event-feed.phtml b/airtime_mvc/application/views/scripts/schedule/event-feed.phtml index 09f20573d..bf7cca988 100644 --- a/airtime_mvc/application/views/scripts/schedule/event-feed.phtml +++ b/airtime_mvc/application/views/scripts/schedule/event-feed.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>eventFeed</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>eventFeed</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/make-context-menu.phtml b/airtime_mvc/application/views/scripts/schedule/make-context-menu.phtml index 0d6716767..3bbf52e1a 100644 --- a/airtime_mvc/application/views/scripts/schedule/make-context-menu.phtml +++ b/airtime_mvc/application/views/scripts/schedule/make-context-menu.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>makeContextMenu</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>makeContextMenu</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/move-show.phtml b/airtime_mvc/application/views/scripts/schedule/move-show.phtml index e84d55e80..5a2cb9450 100644 --- a/airtime_mvc/application/views/scripts/schedule/move-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/move-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>moveShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>moveShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/remove-group.phtml b/airtime_mvc/application/views/scripts/schedule/remove-group.phtml index 4311a14bc..2582d891c 100644 --- a/airtime_mvc/application/views/scripts/schedule/remove-group.phtml +++ b/airtime_mvc/application/views/scripts/schedule/remove-group.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>removeGroup</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>removeGroup</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/resize-show.phtml b/airtime_mvc/application/views/scripts/schedule/resize-show.phtml index 57f7c63be..25c4e42b5 100644 --- a/airtime_mvc/application/views/scripts/schedule/resize-show.phtml +++ b/airtime_mvc/application/views/scripts/schedule/resize-show.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>Schedule</b> and script/action name <b>resizeShow</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("Schedule") ?></b> and script/action name <b>resizeShow</b></center> diff --git a/airtime_mvc/application/views/scripts/schedule/show-content-dialog.phtml b/airtime_mvc/application/views/scripts/schedule/show-content-dialog.phtml index a935f3f99..09aadb4d8 100644 --- a/airtime_mvc/application/views/scripts/schedule/show-content-dialog.phtml +++ b/airtime_mvc/application/views/scripts/schedule/show-content-dialog.phtml @@ -2,12 +2,12 @@ <div><?php echo $this->additionalShowInfo; ?></div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable"> <tr> - <th>Start</th> - <th>Title</th> - <th>Creator</th> - <th>Album</th> - <th>Length</th> - <th>Genre</th> + <th><? echo _("Start") ?></th> + <th><? echo _("Title") ?></th> + <th><? echo _("Creator") ?></th> + <th><? echo _("Album") ?></th> + <th><? echo _("Length") ?></th> + <th><? echo _("Genre") ?></th> </tr> <?php $i=0; ?> <?php foreach($this->showContent as $row): ?> diff --git a/airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml b/airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml index 46ce9488e..45ad6c1c6 100644 --- a/airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml +++ b/airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml @@ -2,7 +2,7 @@ <div id="library_content" class="lib-content tabs ui-widget ui-widget-content block-shadow alpha-block padded"> <div id="import_status" style="display:none">File import in progress...</div> <fieldset class="toggle closed" id="filter_options"> - <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>Advanced Search Options</legend> + <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span><? echo _("Advanced Search Options") ?></legend> <div id="advanced_search" class="advanced_search form-horizontal"></div> </fieldset> <table id="library_display" cellpadding="0" cellspacing="0" class="datatable"></table> @@ -10,4 +10,4 @@ <div id="show_builder" class="sb-content ui-widget ui-widget-content block-shadow omega-block padded"> <table id="show_builder_table" cellpadding="0" cellspacing="0" class="datatable"></table> </div> -</div> \ No newline at end of file +</div> diff --git a/airtime_mvc/application/views/scripts/systemstatus/index.phtml b/airtime_mvc/application/views/scripts/systemstatus/index.phtml index d8fe2b940..901f790b2 100644 --- a/airtime_mvc/application/views/scripts/systemstatus/index.phtml +++ b/airtime_mvc/application/views/scripts/systemstatus/index.phtml @@ -1,17 +1,17 @@ <table width="60%" cellpadding="0" cellspacing="0" border="0" class="statustable"> <thead> <tr class="ui-state-default strong"> - <td>Service</td> - <td>Status</td> - <td>Uptime</td> - <td>CPU</td> - <td>Memory</td> + <td><? echo _("Service") ?></td> + <td><? echo _("Status") ?></td> + <td><? echo _("Uptime") ?></td> + <td><? echo _("CPU") ?></td> + <td><? echo _("Memory") ?></td> </tr> </thead> <tbody> <!-- <tr class="odd"> - <td>Airtime Version</td> + <td><? echo _("Airtime Version") ?></td> <td>1.9.3</td> <td> </td> </tr> @@ -27,7 +27,7 @@ </tr> <?php endforeach; ?> <tr id="partitions" class="even"> - <th colspan="5">Disk Space</th> + <th colspan="5"><? echo _("Disk Space") ?></th> </tr> </tbody> </table> diff --git a/airtime_mvc/application/views/scripts/user/add-user.phtml b/airtime_mvc/application/views/scripts/user/add-user.phtml index 023da880e..efc9cabd9 100644 --- a/airtime_mvc/application/views/scripts/user/add-user.phtml +++ b/airtime_mvc/application/views/scripts/user/add-user.phtml @@ -1,6 +1,6 @@ <div class="ui-widget ui-widget-content block-shadow clearfix padded-strong user-management"> - <h2>Manage Users</h2> + <h2><? echo _("Manage Users") ?></h2> <div class="user-list-wrapper"> <div id="users_wrapper" class="dataTables_wrapper"> @@ -14,8 +14,8 @@ <table cellspacing="0" cellpadding="0" style="" id="users_datatable" class="datatable"> <thead> <tr> - <th>id</th> - <th>Username</th> + <th><? echo _("id") ?></th> + <th><? echo _("Username") ?></th> <th>First Name</th> <th>Last Name</th> <th>User Type</th> diff --git a/airtime_mvc/application/views/scripts/user/get-hosts.phtml b/airtime_mvc/application/views/scripts/user/get-hosts.phtml index 1bee582a8..65452c1a1 100644 --- a/airtime_mvc/application/views/scripts/user/get-hosts.phtml +++ b/airtime_mvc/application/views/scripts/user/get-hosts.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>User</b> and script/action name <b>getHosts</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("User") ?></b> and script/action name <b>getHosts</b></center> diff --git a/airtime_mvc/application/views/scripts/user/get-user-data-table-info.phtml b/airtime_mvc/application/views/scripts/user/get-user-data-table-info.phtml index 64b099bc2..607cfe6a2 100644 --- a/airtime_mvc/application/views/scripts/user/get-user-data-table-info.phtml +++ b/airtime_mvc/application/views/scripts/user/get-user-data-table-info.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>User</b> and script/action name <b>getUserDataTableInfo</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("User") ?></b> and script/action name <b>getUserDataTableInfo</b></center> diff --git a/airtime_mvc/application/views/scripts/user/index.phtml b/airtime_mvc/application/views/scripts/user/index.phtml index e53548c2c..6f0bbec25 100644 --- a/airtime_mvc/application/views/scripts/user/index.phtml +++ b/airtime_mvc/application/views/scripts/user/index.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>User</b> and script/action name <b>index</b></center> \ No newline at end of file +<br /><br /><center>View script for controller <b><? echo _("User") ?></b> and script/action name <b>index</b></center> diff --git a/airtime_mvc/application/views/scripts/webstream/webstream.phtml b/airtime_mvc/application/views/scripts/webstream/webstream.phtml index eb9574ffe..e282056b4 100644 --- a/airtime_mvc/application/views/scripts/webstream/webstream.phtml +++ b/airtime_mvc/application/views/scripts/webstream/webstream.phtml @@ -4,18 +4,18 @@ New <span class="caret"></span> </button> <ul class="dropdown-menu"> - <li id='lib-new-pl'><a href="#">New Playlist</a></li> - <li id='lib-new-bl'><a href="#">New Smart Block</a></li> - <li id='lib-new-ws'><a href="#">New Webstream</a></li> + <li id='lib-new-pl'><a href="#"><? echo _("New Playlist") ?></a></li> + <li id='lib-new-bl'><a href="#"><? echo _("New Smart Block") ?></a></li> + <li id='lib-new-ws'><a href="#"><? echo _("New Webstream") ?></a></li> </ul> </div> <?php if (isset($this->obj)) : ?> <div class="btn-group pull-right"> - <button class="btn btn-inverse" type="submit" id="webstream_save" name="submit">Save</button> + <button class="btn btn-inverse" type="submit" id="webstream_save" name="submit"><? echo _("Save") ?></button> </div> <div class="btn-group pull-right"> - <button id="ws_delete" class="btn" <?php if ($this->action == "new"): ?>style="display:none;"<?php endif; ?>aria-disabled="false">Delete</button> + <button id="ws_delete" class="btn" <?php if ($this->action == "new"): ?>style="display:none;"<?php endif; ?>aria-disabled="false"><? echo _("Delete") ?></button> </div> <?php endif; ?> </div> @@ -37,7 +37,7 @@ <fieldset class="toggle" id="fieldset-metadate_change"> <legend style="cursor: pointer;"><span class="ui-icon ui-icon-triangle-2-n-s"></span>View / edit description</legend> <dl class="zend_form"> - <dt id="description-label"><label for="description">Description</label></dt> + <dt id="description-label"><label for="description"><? echo _("Description") ?></label></dt> <dd id="description-element"> <textarea cols="80" rows="24" id="description" name="description"><?php echo $this->obj->getDescription(); ?></textarea> </dd> @@ -60,5 +60,5 @@ </dl> <?php else : ?> - <div>No webstream</div> + <div><? echo _("No webstream") ?></div> <?php endif; ?>