CC-1960: Internationalize Airtime / Support translations
-added gettext wrapper functions for all strings in view/scripts, and forms
This commit is contained in:
parent
a69ff167d4
commit
e5f67c8b05
78 changed files with 481 additions and 423 deletions
|
@ -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): ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue