CC-1960: Internationalize Airtime / Support translations
-added gettext wrapper functions for all strings in view/scripts, and forms
This commit is contained in:
parent
f0e2d5d295
commit
b173b6dda4
78 changed files with 481 additions and 423 deletions
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("AirtimeRecorder") ?></b><? echo _(" and script/action name "); ?><b><? echo _("index"); ?></b></center>
|
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
<div class="jp-time-holder">
|
||||
<div class="jp-current-time"></div>
|
||||
<?php if ($this->type == "audioclip"): ?><div class="jp-duration"></div><? echo _(" "); ?><?php endif;?>
|
||||
<?php if ($this->type == "audioclip"): ?><div class="jp-duration"></div><?php endif;?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jp-volume-block">
|
||||
|
@ -67,7 +67,9 @@
|
|||
</div>
|
||||
<div class="jp-no-solution">
|
||||
<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>.
|
||||
<? sprintf(_("To play the media you will need to either update your browser to a recent version or update your %sFlash plugin%s."),
|
||||
"<a href='http://get.adobe.com/flashplayer/' target='_blank'>",
|
||||
"</a>") ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,8 +1,21 @@
|
|||
<div class="text-content">
|
||||
<h2><? echo _("About") ?></h2>
|
||||
<p>
|
||||
<a href="http://airtime.sourcefabric.org" target="_blank"><? echo _("Airtime") ?></a><? echo _(" "); ?><?php echo $this->airtime_version ?><? echo _(", the open radio software for scheduling and remote station management."); ?><br>
|
||||
© 2012 <a href="http://www.sourcefabric.org" target="_blank"><? echo _("Sourcefabric") ?></a><? echo _(" 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>
|
||||
<?php
|
||||
echo sprintf(_("%sAirtime%s %s, , the open radio software for scheduling and remote station management. %s"),
|
||||
"<a href='http://airtime.sourcefabric.org' target='_blank'>",
|
||||
"</a>",
|
||||
$this->airtime_version,
|
||||
"<br />")
|
||||
?>
|
||||
<br>© 2012
|
||||
<?php
|
||||
echo sprintf(_("%sSourcefabric%s o.p.s. Airtime is distributed under the %sGNU GPL v.3%s"),
|
||||
"<a href='http://www.sourcefabric.org' target='_blank'>",
|
||||
"</a>",
|
||||
"<a href='http://www.gnu.org/licenses/gpl-3.0-standalone.html' target='_blank'>",
|
||||
"</a>")
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<br>
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
<div class="gray-logo"></div>
|
||||
<div class="text-content">
|
||||
<h2>Welcome to Airtime!</h2>
|
||||
<p>Here's how you can get started using Airtime to automate your broadcasts: </p>
|
||||
<h2><?php echo _("Welcome to Airtime!") ?></h2>
|
||||
<p><?php echo _("Here's how you can get started using Airtime to automate your broadcasts: ")?></p>
|
||||
|
||||
<ol>
|
||||
<li>Begin by adding your files to the library using the "Add Media" menu button. You can drag and drop your files to this window too.</li>
|
||||
<li>Create a show by going to "Calendar" in the menu bar, and then clicking the "+ Show" icon. This can be either a one-time or repeating show. Only admins and program managers can add shows.</li>
|
||||
<li>Add media to the show by going to your show in the Schedule calendar, left-clicking on it and selecting "Add / Remove Content".</li>
|
||||
<li><? echo _("Select your media from the left pane and drag them to your show in the right pane."); ?></li>
|
||||
<li><?php echo _("Begin by adding your files to the library using the 'Add Media' menu button. You can drag and drop your files to this window too.")?></li>
|
||||
<li><?php echo _("Create a show by going to 'Calendar' in the menu bar, and then clicking the '+ Show' icon. This can be either a one-time or repeating show. Only admins and program managers can add shows.")?></li>
|
||||
<li><?php echo _("Add media to the show by going to your show in the Schedule calendar, left-clicking on it and selecting 'Add / Remove Content'")?>.</li>
|
||||
<li><?php echo _("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"><? echo _("user manual") ?></a><? echo _("."); ?></p>
|
||||
<p><strong><?php echo _("Then you're good to go!")?></strong><br />
|
||||
<?php echo sprintf(_("For more detailed help, read the %suser manual%s."),
|
||||
"<a href='http://www.sourcefabric.org/en/airtime/manuals/' target='_blank'>",
|
||||
"</a>") ?></p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Dashboard") ?></b><? echo _(" and script/action name "); ?><b><? echo _("index"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Error") ?></b><? echo _(" and script/action name "); ?><b><? echo _("denied"); ?></b></center>
|
|
@ -7,8 +7,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="error-content">
|
||||
<h2>Page not found!</h2>
|
||||
<p>Looks like the page you were looking for doesn't exist!</p>
|
||||
<h2><?php echo _("Page not found!")?></h2>
|
||||
<p><?php echo _("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'); ?>"><? echo _("Help") ?></a>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<?php echo $this->element->getElement('his_time_start') ?>
|
||||
<?php echo $this->element->getElement('his_date_end') ?>
|
||||
<?php echo $this->element->getElement('his_time_end') ?>
|
||||
<div id="his_submit" class="ui-button ui-state-default" title="Filter History">
|
||||
<div id="his_submit" class="ui-button ui-state-default" title="<?php echo _("Filter History")?>">
|
||||
<span class="ui-icon ui-icon-search"></span>
|
||||
</div>
|
||||
</div>
|
|
@ -105,7 +105,8 @@
|
|||
<?php endif; ?>
|
||||
</dd>
|
||||
<dt id="master_dj_connection_url-label">
|
||||
<label class="optional" for="master_dj_connection_url" style="white-space: nowrap">Master Source Connection URL:
|
||||
<label class="optional" for="master_dj_connection_url" style="white-space: nowrap">
|
||||
<?php echo _("Master Source Connection URL:")?>
|
||||
</label>
|
||||
</dt>
|
||||
<dd id="master_dj_connection_url-element">
|
||||
|
@ -148,7 +149,8 @@
|
|||
<?php endif; ?>
|
||||
</dd>
|
||||
<dt id="live_dj_connection_url-label">
|
||||
<label class="optional" for="live_dj_connection_url" style="white-space: nowrap">Show Source Connection URL:
|
||||
<label class="optional" for="live_dj_connection_url" style="white-space: nowrap">
|
||||
<?php echo _("Show Source Connection URL:")?>
|
||||
</label>
|
||||
</dt>
|
||||
<dd id="live_dj_connection_url-element">
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
</dd>
|
||||
<dt id="SoundCloudUser-label" class="block-display">
|
||||
<label class="optional" for="SoundCloudUser"><?php echo $this->element->getElement('SoundCloudUser')->getLabel() ?>
|
||||
<span class="info-text-small">(Required)</span> :
|
||||
<span class="info-text-small"><?php echo _("(Required)")?></span> :
|
||||
</label>
|
||||
</dt>
|
||||
<dd id="SoundCloudUser-element" class="block-display">
|
||||
|
@ -56,7 +56,7 @@
|
|||
</dd>
|
||||
<dt id="SoundCloudPassword-label" class="block-display">
|
||||
<label class="optional" for="SoundCloudPassword"><?php echo $this->element->getElement('SoundCloudPassword')->getLabel() ?>
|
||||
<span class="info-text-small">(Required)</span> :
|
||||
<span class="info-text-small"><?php echo _("(Required)")?></span> :
|
||||
</label>
|
||||
</dt>
|
||||
<dd id="SoundCloudPassword-element" class="block-display">
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
<?php foreach($watched_dirs as $watched_dir): ?>
|
||||
<dd class="block-display selected-item">
|
||||
<?php echo ($watched_dir->getExistsFlag())?"":"<span class='ui-icon-alert'><img src='/css/images/warning-icon.png'></span>"?><span id="folderPath" style="display:block; width:350px"><?php echo $watched_dir->getDirectory();?></span></span>
|
||||
<span title="Rescan watched directory (This is useful if it is network mount and may be out of sync with Airtime)" class="ui-icon ui-icon-refresh"></span>
|
||||
<span title="Remove watched directory" class="ui-icon ui-icon-close"></span>
|
||||
<span title="<?php echo _("Rescan watched directory (This is useful if it is network mount and may be out of sync with Airtime)")?> class="ui-icon ui-icon-refresh"></span>
|
||||
<span title="<?php echo _("Remove watched directory")?>" class="ui-icon ui-icon-close"></span>
|
||||
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
<fieldset>
|
||||
<dl class="zend_form">
|
||||
<dt class="block-display info-text">
|
||||
Help Airtime improve by letting us know how you are using it. This info
|
||||
will be collected regularly in order to enhance your user experience.
|
||||
<br /><br />
|
||||
Click "Yes, help Airtime" and we'll make sure the features you use are
|
||||
constantly improving.
|
||||
<?php echo sprintf(_("Help Airtime improve by letting us know how you are using it. This info "
|
||||
."will be collected regularly in order to enhance your user experience.%s"
|
||||
."Click 'Yes, help Airtime' and we'll make sure the features you use are"
|
||||
."constantly improving."), "<br /><br />") ?>
|
||||
</dt>
|
||||
<dd id="SupportFeedback-element" class="block-display">
|
||||
<label class="optional" for="SupportFeedback">
|
||||
|
@ -23,9 +22,10 @@
|
|||
<?php endif; ?>
|
||||
</dd>
|
||||
<dt class="block-display info-text">
|
||||
Click the box below to advertise your station on
|
||||
<a id="link_to_whos_using" href="http://sourcefabric.org/en/airtime/whosusing" onclick="window.open(this.href); return false"><? echo _("Sourcefabric.org"); ?></a>.
|
||||
In order to promote your station, "Send support feedback" must be enabled. This data will be collected in addition to the support feedback.
|
||||
<?php echo sprintf(_("Click the box below to advertise your station on %sSourcefabric.org%s."
|
||||
." In order to promote your station, 'Send support feedback' must be enabled. This data will be collected in addition to the support feedback."),
|
||||
"<a id='link_to_whos_using' href='http://sourcefabric.org/en/airtime/whosusing' onclick='window.open(this.href); return false'>",
|
||||
"</a>")?>
|
||||
</dt>
|
||||
<dd id="publicize-element" class="block-display">
|
||||
<label class="optional" for="Publicise">
|
||||
|
@ -44,7 +44,7 @@
|
|||
<dl id="public-info" style="display:none;">
|
||||
<dt id="stnName-label">
|
||||
<label class="optional" for="stnName"><?php echo $this->element->getElement('stnName')->getLabel() ?>
|
||||
<span class="info-text-small">(Required)</span> :
|
||||
<span class="info-text-small"><?php echo _("(Required)")?></span> :
|
||||
</label>
|
||||
</dt>
|
||||
<dd id="stnName-element">
|
||||
|
@ -62,7 +62,7 @@
|
|||
</dt>
|
||||
<dd id="Phone-element">
|
||||
<?php echo $this->element->getElement('Phone') ?>
|
||||
<span class="info-text-small">(for verification purposes only, will not be published)</span>
|
||||
<span class="info-text-small"><?php echo _("(for verification purposes only, will not be published)")?></span>
|
||||
<?php if($this->element->getElement('Phone')->hasErrors()) : ?>
|
||||
<ul class='errors'>
|
||||
<?php foreach($this->element->getElement('Phone')->getMessages() as $error): ?>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</dt>
|
||||
<dd id="Email-element">
|
||||
<?php echo $this->element->getElement('Email') ?>
|
||||
<span class="info-text-small">(for verification purposes only, will not be published)</span>
|
||||
<span class="info-text-small"><?php echo _("(for verification purposes only, will not be published)")?></span>
|
||||
<?php if($this->element->getElement('Email')->hasErrors()) : ?>
|
||||
<ul class='errors'>
|
||||
<?php foreach($this->element->getElement('Email')->getMessages() as $error): ?>
|
||||
|
@ -147,7 +147,7 @@
|
|||
<?php }?>
|
||||
|
||||
<?php echo $this->element->getElement('Logo') ?>
|
||||
<p class="info-text">Note: Anything larger than 600x600 will be resized.</p>
|
||||
<p class="info-text"><?php echo _("Note: Anything larger than 600x600 will be resized.")?></p>
|
||||
<?php if($this->element->getElement('Logo')->hasErrors()) : ?>
|
||||
<ul class='errors'>
|
||||
<?php foreach($this->element->getElement('Logo')->getMessages() as $error): ?>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<fieldset class="padded display_field push-down-8 closed">
|
||||
<legend style="cursor: pointer;">
|
||||
<span class="ui-icon ui-icon-triangle-2-n-s"></span>
|
||||
Filter By Show:
|
||||
<?php echo _("Filter By Show:")?>"
|
||||
</legend>
|
||||
|
||||
<div class="sb-options-form">
|
||||
|
|
|
@ -117,20 +117,20 @@
|
|||
if ($this->poolCount > 1) {
|
||||
echo $this->poolCount;
|
||||
?>
|
||||
files meet the criteria
|
||||
<?php echo _("files meet the criteria")?>
|
||||
</span>
|
||||
<span class='checked-icon sp-checked-icon' id='sp_pool_count_icon'></span>
|
||||
<?php
|
||||
} else if ($this->poolCount == 1) {
|
||||
echo $this->poolCount;
|
||||
?>
|
||||
file meets the criteria
|
||||
<?php echo _("file meet the criteria")?>
|
||||
</span>
|
||||
<span class='checked-icon sp-checked-icon' id='sp_pool_count_icon'></span>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
0 files meet the criteria
|
||||
0 <?php echo _(" files meet the criteria")?>
|
||||
</span>
|
||||
<span class='sp-warning-icon' id='sp_pool_count_icon'></span>
|
||||
<?php
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
<dl class="zend_form">
|
||||
<dd id="SupportFeedback-element" style="width:90%;">
|
||||
<div class="info-text">
|
||||
Help Airtime improve by letting Sourcefabric know how you are using it. This information
|
||||
will be collected regularly in order to enhance your user experience.<br />
|
||||
Click the "Send support feedback" box and we'll make sure the features you use are
|
||||
constantly improving.
|
||||
<?php echo sprintf(_("Help Airtime improve by letting Sourcefabric know how you are using it. This information"
|
||||
." will be collected regularly in order to enhance your user experience.%s"
|
||||
."Click the 'Send support feedback' box and we'll make sure the features you use are constantly improving."), "<br />")?>
|
||||
</div>
|
||||
<label class="optional" for="SupportFeedback">
|
||||
<?php echo $this->element->getElement('SupportFeedback') ?>
|
||||
|
@ -20,8 +19,10 @@
|
|||
<?php endif; ?>
|
||||
</dd>
|
||||
<dd id="publicize-element" style="width:90%;">
|
||||
<div class="info-text">Click the box below to promote your station on
|
||||
<a id="link_to_whos_using" href="http://www.sourcefabric.org/en/airtime/whosusing/" onclick="window.open(this.href); return false"><? echo _("Sourcefabric.org"); ?></a>.
|
||||
<div class="info-text">
|
||||
<?php echo sprintf(_("Click the box below to promote your station on %sSourcefabric.org%s."),
|
||||
"<a id='link_to_whos_using' href='http://www.sourcefabric.org/en/airtime/whosusing/' onclick='window.open(this.href); return false'>",
|
||||
"</a>")?>
|
||||
</div>
|
||||
<label class="optional" for="Publicise">
|
||||
<?php echo $this->element->getElement('Publicise') ?>
|
||||
|
@ -36,7 +37,9 @@
|
|||
<?php endif; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="info-text" style="clear: both;padding: 4px 0 4px 15px;">(In order to promote your station, "Send support feedback" must be enabled).<br /><br /></div>
|
||||
<div class="info-text" style="clear: both;padding: 4px 0 4px 15px;">
|
||||
<?php echo _("(In order to promote your station, 'Send support feedback' must be enabled).")?><br /><br />
|
||||
</div>
|
||||
<dl id="public-info" style="display:<?php echo "none"?>;">
|
||||
<dt id="stationName-label" class="block-display">
|
||||
<label class="required" for="stationName"><?php echo $this->element->getElement('stationName')->getLabel() ?>
|
||||
|
@ -69,7 +72,9 @@
|
|||
</dd>
|
||||
<dt id="Email-label" class="block-display">
|
||||
<label class="optional" for="Email"><?php echo $this->element->getElement('Email')->getLabel() ?></label>
|
||||
<span class="info-text-small">(for verification purposes only, will not be published)</span>
|
||||
<span class="info-text-small">
|
||||
<?php echo _("(for verification purposes only, will not be published)")?>
|
||||
</span>
|
||||
</dt>
|
||||
<dd id="Email-element" class="block-display">
|
||||
<?php echo $this->element->getElement('Email') ?>
|
||||
|
@ -142,7 +147,9 @@
|
|||
<?php }?>
|
||||
|
||||
<?php echo $this->element->getElement('Logo') ?>
|
||||
<div class="info-text"><p>Note: Anything larger than 600x600 will be resized.</p></div>
|
||||
<div class="info-text">
|
||||
<p><?php echo ("Note: Anything larger than 600x600 will be resized.")?></p>
|
||||
</div>
|
||||
<?php if($this->element->getElement('Logo')->hasErrors()) : ?>
|
||||
<ul class='errors'>
|
||||
<?php foreach($this->element->getElement('Logo')->getMessages() as $error): ?>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Index") ?></b><? echo _(" and script/action name "); ?><b><? echo _("display"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Index") ?></b><? echo _(" and script/action name "); ?><b><? echo _("main"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Index") ?></b><? echo _(" and script/action name "); ?><b><? echo _("newfield"); ?></b></center>
|
|
@ -18,7 +18,7 @@
|
|||
<tr><td><? echo _("Isrc Number:"); ?></td><td><?php echo ($this->md["MDATA_KEY_ISRC"]);?></td></tr>
|
||||
<tr><td><? echo _("Website:"); ?></td><td><?php echo ($this->md["MDATA_KEY_URL"]);?></td></tr>
|
||||
<tr><td><? echo _("Language:"); ?></td><td><?php echo ($this->md["MDATA_KEY_LANGUAGE"]);?></td></tr>
|
||||
<tr><td>File Path:</td><td><?php echo ($this->md["MDATA_KEY_FILEPATH"]);?></td></tr>
|
||||
<tr><td><? echo _("File"); ?> <? echo _("Path:"); ?></td><td><?php echo ($this->md["MDATA_KEY_FILEPATH"]);?></td></tr>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
|
||||
|
@ -36,10 +36,10 @@
|
|||
|
||||
<?php if ($this->type == "playlist") { ?>
|
||||
<div class='file-md-qtip-legend'>
|
||||
<span class='webstream'><? echo _("o") ?></span><? echo _(" "); ?><span><? echo _("Web Stream"); ?></span><br />
|
||||
<span class='dynamic'><? echo _("o") ?></span><? echo _(" "); ?><span><? echo _("Dynamic Smart Block"); ?></span><br />
|
||||
<span class='static'><? echo _("o") ?></span><? echo _(" "); ?><span><? echo _("Static Smart Block"); ?></span><br />
|
||||
<span><? echo _("o") ?></span><? echo _(" "); ?><span><? echo _("Audio Track"); ?></span>
|
||||
<span class='webstream'>o</span> <span><? echo _("Web Stream"); ?></span><br />
|
||||
<span class='dynamic'>o</span> <span><? echo _("Dynamic Smart Block"); ?></span><br />
|
||||
<span class='static'>o</span> <span><? echo _("Static Smart Block"); ?></span><br />
|
||||
<span>o</span> <span><? echo _("Audio Track"); ?></span>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
@ -116,7 +116,7 @@
|
|||
<?php endforeach; ?>
|
||||
<tr>
|
||||
<td><? echo _("Limit to ") ?></td>
|
||||
<td><?php echo $this->contents["limit"]["value"] ?><? echo _(" "); ?><?php echo $this->contents["limit"]["modifier"] ?></td>
|
||||
<td><?php echo $this->contents["limit"]["value"] ?> <?php echo $this->contents["limit"]["modifier"] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div id="listenerstat_content" class="ui-widget ui-widget-content block-shadow alpha-block padded">
|
||||
Listener Count Over Time<br>
|
||||
<?php echo _("Listener Count Over Time")?><br>
|
||||
<div id="flot_placeholder" style="width:600px;height:300px;margin:0px 50px 0px 50px"></div>
|
||||
<div id="legend" style="width:600px;height:70px;margin:0px 50px 0px 50px"></div>
|
||||
<?php echo $this->date_form; ?>
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
<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>
|
||||
<p style="font-weight:bold">
|
||||
<?php echo _("Welcome to the online Airtime demo! You can log in using the username 'admin' and the password 'admin'.")?>
|
||||
</p>
|
||||
<?php }?>
|
||||
<p class="light" style='<?php echo $this->error?"color:#902d2d;font-size:11px;padding:2px 4px;background:#c6b4b4;margin-bottom:2px;border:1px solid #c83f3f;":""?>'><?php echo $this->message; ?></p>
|
||||
<?php echo $this->form; ?>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Login") ?></b><? echo _(" and script/action name "); ?><b><? echo _("logout"); ?></b></center>
|
|
@ -3,7 +3,9 @@
|
|||
<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>
|
||||
<p class="light">
|
||||
<?php echo _("Please enter your account e-mail address. You will receive a link to create a new password via e-mail.")?>
|
||||
</p>
|
||||
<?php echo $this->form; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<div id="master-panel">
|
||||
<div class="now-playing-block">
|
||||
<div class="text-row"><strong><? echo _("Previous:"); ?></strong><? echo _(" "); ?><span id='previous'></span><? echo _(" "); ?><span id='prev-length'></span></div>
|
||||
<div class="text-row"><strong><? echo _("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><? echo _(" "); ?><span class="length" id="song-length"></span><? echo _(" ") ?></div>
|
||||
<div class="progressbar">
|
||||
<div class="progress-song" id="progress-bar" style="width:0%;"></div>
|
||||
</div>
|
||||
<div class="text-row next-song"><strong><? echo _("Next:"); ?></strong><? echo _(" "); ?><span id='next'></span><? echo _(" "); ?><span id='next-length'></span></div>
|
||||
<div class="text-row next-song"><strong><? echo _("Next:"); ?></strong> <span id='next'></span> <span id='next-length'></span></div>
|
||||
</div>
|
||||
<div class="show-block">
|
||||
<div class="text-row"> </div>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<li>
|
||||
<div id="master_dj_div" class="source-label">
|
||||
<a id="master_dj" class="source-kick-button" onclick="kickSource(this)"></a>
|
||||
Master Source
|
||||
<? echo _("Master Source") ?>
|
||||
</div>
|
||||
<div class="line-to-switch"></div>
|
||||
<a href="#" id="master_dj" class="source-switch-button" onclick="setSwitchListener(this);"><span><?php echo $this->master_dj_switch?></span></a>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<li>
|
||||
<div id="live_dj_div" class="source-label">
|
||||
<a id="live_dj" class="source-kick-button" onclick="kickSource(this)"></a>
|
||||
Show Source
|
||||
<? echo _("Show Source")?>
|
||||
</div>
|
||||
<div class="line-to-switch"></div>
|
||||
<a href="#" id="live_dj" class="source-switch-button" onclick="setSwitchListener(this);"><span><?php echo $this->live_dj_switch?></span></a>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<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"><? echo _("My Account") ?></a>
|
||||
<a title="<?php echo _("Purchase your copy of Airtime")?> href="https://account.sourcefabric.com/clientarea.php" target="_blank"><? echo _("My Account") ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
|
|
@ -7,7 +7,7 @@ if (isset($this->obj)) {
|
|||
<div class="btn-toolbar spl-no-top-margin clearfix">
|
||||
<div class="btn-group pull-left">
|
||||
<button id="spl_new" class="btn dropdown-toggle" data-toggle="dropdown" aria-disabled="false">
|
||||
New <span class="caret"></span>
|
||||
<? echo _("New")?> <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li id='lib-new-pl'><a href="#"><? echo _("New Playlist") ?></a></li>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<dl id="spl_cue_editor" class="inline-list">
|
||||
<dt><? echo _("Cue In: "); ?><span class='spl_cue_hint'>(hh:mm:ss.t)</span></dt>
|
||||
<dt><? echo _("Cue In: "); ?><span class='spl_cue_hint'><? echo _("(hh:mm:ss.t)")?></span></dt>
|
||||
<dd id="spl_cue_in_<?php echo $this->id; ?>" class="spl_cue_in">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueIn; ?></span>
|
||||
</dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<dt><? echo _("Cue Out: "); ?><span class='spl_cue_hint'>(hh:mm:ss.t)</span></dt>
|
||||
<dt><? echo _("Cue Out: "); ?><span class='spl_cue_hint'><? echo _("(hh:mm:ss.t)")?></span></dt>
|
||||
<dd id="spl_cue_out_<?php echo $this->id; ?>" class="spl_cue_out">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueOut; ?></span>
|
||||
</dd>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<dl id="spl_editor" class="inline-list">
|
||||
<?php if ($this->item1Type == 0) {?>
|
||||
<dt><? echo _("Fade out: "); ?><span class='spl_cue_hint'>(ss.t)</span></dt>
|
||||
<dt><? echo _("Fade out: "); ?><span class='spl_cue_hint'><? echo _("(ss.t)")?></span></dt>
|
||||
<dd id="spl_fade_out_<?php echo $this->item1; ?>" class="spl_fade_out">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeOut; ?></span>
|
||||
</dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<?php }
|
||||
if ($this->item2Type == 0) {?>
|
||||
<dt><? echo _("Fade in: "); ?><span class='spl_cue_hint'>(ss.t)</span></dt>
|
||||
<dt><? echo _("Fade in: "); ?><span class='spl_cue_hint'><? echo _("(ss.t)")?></span></dt>
|
||||
<dd id="spl_fade_in_<?php echo $this->item2; ?>" class="spl_fade_in">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeIn; ?></span>
|
||||
</dd>
|
||||
|
|
|
@ -7,7 +7,7 @@ if (isset($this->obj)) {
|
|||
<div class="btn-toolbar spl-no-top-margin clearfix">
|
||||
<div class="btn-group pull-left">
|
||||
<button id="spl_new" class="btn dropdown-toggle" data-toggle='dropdown' aria-disabled="false">
|
||||
New <span class="caret"></span>
|
||||
<? echo _("New")?> <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li id='lib-new-pl'><a href="#"><? echo _("New Playlist") ?></a></li>
|
||||
|
@ -65,10 +65,10 @@ if (isset($this->obj)) {
|
|||
<div id="crossfade_main" class="crossfade-main clearfix" style="display:none;">
|
||||
<span class="ui-icon ui-icon-closethick"></span>
|
||||
<dl id="spl_editor-main" class="inline-list">
|
||||
<dt><? echo _("Fade in: "); ?><span class='spl_cue_hint'>(ss.t)</span></dt>
|
||||
<dt><? echo _("Fade in: "); ?><span class='spl_cue_hint'><? echo _("(ss.t)")?></span></dt>
|
||||
<dd><span contenteditable="true" class="spl_text_input spl_main_fade_in">00</span></dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<dt><? echo _("Fade out: "); ?><span class='spl_cue_hint'>(ss.t)</span></dt>
|
||||
<dt><? echo _("Fade out: "); ?><span class='spl_cue_hint'><? echo _("(ss.t)")?></span></dt>
|
||||
<dd><span contenteditable="true" class="spl_text_input spl_main_fade_out">00</span></dd>
|
||||
<dd class="edit-error"></dd>
|
||||
</dl>
|
||||
|
|
|
@ -37,12 +37,12 @@ if ($item['type'] == 2) {
|
|||
if ($staticBlock) {?>
|
||||
<span class="spl_block_expand close" blockId="<?php echo $item["item_id"]; ?>" id="expand_block_<?php echo $item["id"]?>">
|
||||
<span class="ui-icon ui-icon-triangle-2-n-s"></span>
|
||||
Expand Static Block
|
||||
<?php echo _("Expand Static Block")?>
|
||||
</span>
|
||||
<?php } else { ?>
|
||||
<span class="spl_block_expand close" blockId="<?php echo $item["item_id"]; ?>" id="expand_block_<?php echo $item["id"]?>">
|
||||
<span class="ui-icon ui-icon-triangle-2-n-s"></span>
|
||||
Expand Dynamic Block
|
||||
<?php echo _("Expand Dynamic Block")?>
|
||||
</span>
|
||||
<?php }
|
||||
} ?>
|
||||
|
@ -95,9 +95,9 @@ if ($item['type'] == 2) {
|
|||
<li class="spl_empty">
|
||||
<?php
|
||||
if ($this->obj instanceof Application_Model_Block) {
|
||||
echo 'Empty smart block';
|
||||
echo _("Empty smart block");
|
||||
} else {
|
||||
echo 'Empty playlist';
|
||||
echo _("Empty playlist");
|
||||
}
|
||||
?>
|
||||
</li>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Library") ?></b><? echo _(" and script/action name "); ?><b><? echo _("upload"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Recorder") ?></b><? echo _(" and script/action name "); ?><b><? echo _("getShowSchedule"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("Recorder") ?></b><? echo _(" and script/action name "); ?><b><? echo _("index"); ?></b></center>
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -12,7 +12,7 @@
|
|||
<div class="sb-timerange">
|
||||
<?php if(!$this->disableLib && !$this->showLib):?>
|
||||
<a id="sb_edit" class="btn btn-small" href="#" title="Open library to add or remove content">
|
||||
Add / Remove Content
|
||||
<?php echo _("Add / Remove Content")?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->sb_form; ?>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div class="button-holder">
|
||||
<button type="button" id="add_user_button" name="search_add_group" class="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">New User</span>
|
||||
<span class="ui-button-text"><? echo _("New")?> <? echo _("User")?></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
|||
<tr>
|
||||
<th><? echo _("id") ?></th>
|
||||
<th><? echo _("Username") ?></th>
|
||||
<th>First Name</th>
|
||||
<th>Last Name</th>
|
||||
<th>User Type</th>
|
||||
<th><? echo _("First")?> <? echo _("Name")?></th>
|
||||
<th><? echo _("Last")?> <? echo _("Name")?></th>
|
||||
<th><? echo _("User")?> <? echo _("Type")?></th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("User") ?></b><? echo _(" and script/action name "); ?><b><? echo _("getHosts"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("User") ?></b><? echo _(" and script/action name "); ?><b><? echo _("getUserDataTableInfo"); ?></b></center>
|
|
@ -1 +0,0 @@
|
|||
<br /><br /><center><? echo _("View script for controller "); ?><b><? echo _("User") ?></b><? echo _(" and script/action name "); ?><b><? echo _("index"); ?></b></center>
|
|
@ -1,7 +1,7 @@
|
|||
<div class="btn-toolbar spl-no-top-margin clearfix">
|
||||
<div class="btn-group pull-left">
|
||||
<button id="ws_new" class="btn dropdown-toggle" data-toggle="dropdown" aria-disabled="false">
|
||||
New <span class="caret"></span>
|
||||
<? echo _("New")?> <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li id='lib-new-pl'><a href="#"><? echo _("New Playlist") ?></a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue