diff --git a/airtime_mvc/application/controllers/EmbedController.php b/airtime_mvc/application/controllers/EmbedController.php index 8ba168dc3..f191c1f1d 100644 --- a/airtime_mvc/application/controllers/EmbedController.php +++ b/airtime_mvc/application/controllers/EmbedController.php @@ -29,6 +29,7 @@ class EmbedController extends Zend_Controller_Action $this->view->muses_swf = Application_Common_HTTPHelper::getStationUrl() . "js/airtime/player/muses.swf"; $this->view->metadata_api_url = Application_Common_HTTPHelper::getStationUrl() . "api/live-info"; $this->view->player_title = json_encode($this->view->escape($request->getParam('title'))); + $this->view->jquery_i18n = Application_Common_HTTPHelper::getStationUrl() . "js/i18n/jquery.i18n.js?"; $styleParam = $request->getParam('style'); $player_style = isset($styleParam) ? $styleParam : "basic"; diff --git a/airtime_mvc/application/controllers/LocaleController.php b/airtime_mvc/application/controllers/LocaleController.php index 6dbcf786b..d957de10a 100644 --- a/airtime_mvc/application/controllers/LocaleController.php +++ b/airtime_mvc/application/controllers/LocaleController.php @@ -424,7 +424,12 @@ class LocaleController extends Zend_Controller_Action ": activate to sort column ascending", ": activate to sort column descending", //End of datatables - "Welcome to the new Airtime Pro!" => _("Welcome to the new Airtime Pro!") + "Welcome to the new Airtime Pro!" => _("Welcome to the new Airtime Pro!"), + //embed player + "On Air" => _("On Air"), + "Off Air" => _("Off Air"), + "Offline" => _("Offline"), + "Nothing scheduled" => _("Nothing scheduled") ); $this->view->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); diff --git a/airtime_mvc/application/views/scripts/embed/player.phtml b/airtime_mvc/application/views/scripts/embed/player.phtml index b85cb15a2..000503539 100644 --- a/airtime_mvc/application/views/scripts/embed/player.phtml +++ b/airtime_mvc/application/views/scripts/embed/player.phtml @@ -5,8 +5,12 @@ + + +