Merge pull request #308 from xabispacebiker/translation-fixes

Translation fixes + Spanish airtime.po
This commit is contained in:
Lucas Bickel 2017-09-29 10:20:24 +02:00 committed by GitHub
commit ef66ad3609
4 changed files with 568 additions and 521 deletions

View File

@ -51,6 +51,7 @@ final class LocaleController extends Zend_Controller_Action
"Please select a cursor position on timeline." => _("Please select a cursor position on timeline."), "Please select a cursor position on timeline." => _("Please select a cursor position on timeline."),
"You haven't added any tracks" => _("You haven't added any tracks"), "You haven't added any tracks" => _("You haven't added any tracks"),
"You haven't added any playlists" => _("You haven't added any playlists"), "You haven't added any playlists" => _("You haven't added any playlists"),
"You haven't added any podcasts" => _("You haven't added any podcasts"),
"You haven't added any smart blocks" => _("You haven't added any smart blocks"), "You haven't added any smart blocks" => _("You haven't added any smart blocks"),
"You haven't added any webstreams" => _("You haven't added any webstreams"), "You haven't added any webstreams" => _("You haven't added any webstreams"),
"Learn about tracks" => _("Learn about tracks"), "Learn about tracks" => _("Learn about tracks"),
@ -434,7 +435,8 @@ final class LocaleController extends Zend_Controller_Action
"On Air" => _("On Air"), "On Air" => _("On Air"),
"Off Air" => _("Off Air"), "Off Air" => _("Off Air"),
"Offline" => _("Offline"), "Offline" => _("Offline"),
"Nothing scheduled" => _("Nothing scheduled") "Nothing scheduled" => _("Nothing scheduled"),
"Click 'Add' to create one now." => _("Click 'Add' to create one now.")
); );
$this->view->layout()->disableLayout(); $this->view->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true); $this->_helper->viewRenderer->setNoRender(true);

View File

@ -21,8 +21,8 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
$startNow->setRequired(false) $startNow->setRequired(false)
->setLabel(_('Start Time:')) ->setLabel(_('Start Time:'))
->addMultiOptions(array( ->addMultiOptions(array(
'now' => 'Now', 'now' => _('Now'),
'future' => 'In the Future:' 'future' => _('In the Future:')
)) ))
->setValue('future') ->setValue('future')
->setDecorators(array('ViewHelper')); ->setDecorators(array('ViewHelper'));

File diff suppressed because it is too large Load Diff

View File

@ -103,7 +103,7 @@ var AIRTIME = (function(AIRTIME) {
opts = AIRTIME.library.placeholder(mediaType); opts = AIRTIME.library.placeholder(mediaType);
img.addClass("empty_placeholder_image icon-white " + opts.icon); img.addClass("empty_placeholder_image icon-white " + opts.icon);
wrapper.find('.empty_placeholder_text').html( wrapper.find('.empty_placeholder_text').html(
$.i18n._("You haven't added any " + opts.media + ".") $.i18n._("You haven't added any " + opts.media)
+ "<br/>" + $.i18n._(opts.subtext) + "<br/>" + $.i18n._(opts.subtext)
+ "<br/><a target='_blank' href='" + opts.href + "'>" + $.i18n._("Learn about " + opts.media) + "</a>" + "<br/><a target='_blank' href='" + opts.href + "'>" + $.i18n._("Learn about " + opts.media) + "</a>"
); );