CC-1960: Internationalize Airtime / Support translations
-dashboard was missing a translation - fixed
This commit is contained in:
parent
4804685dfd
commit
c6a5db4a78
|
@ -33,6 +33,7 @@ class LocaleController extends Zend_Controller_Action
|
||||||
"Live Stream" => _("Live Stream"),
|
"Live Stream" => _("Live Stream"),
|
||||||
"Nothing Scheduled" => _("Nothing Scheduled"),
|
"Nothing Scheduled" => _("Nothing Scheduled"),
|
||||||
"Current Show:" => _("Current Show:"),
|
"Current Show:" => _("Current Show:"),
|
||||||
|
"Current" => _("Current"),
|
||||||
//dashboard/versiontooltip.js
|
//dashboard/versiontooltip.js
|
||||||
"You are running the latest version" => _("You are running the latest version"),
|
"You are running the latest version" => _("You are running the latest version"),
|
||||||
"New version available: " => _("New version available: "),
|
"New version available: " => _("New version available: "),
|
||||||
|
|
|
@ -149,18 +149,18 @@ function updatePlaybar(){
|
||||||
}else{
|
}else{
|
||||||
if (master_dj_on_air) {
|
if (master_dj_on_air) {
|
||||||
if (showName) {
|
if (showName) {
|
||||||
$('#current').html("Current: <span style='color:red; font-weight:bold'>"+showName+" - "+$.i18n._("Master Stream")+"</span>");
|
$('#current').html($.i18n._("Current")+": <span style='color:red; font-weight:bold'>"+showName+" - "+$.i18n._("Master Stream")+"</span>");
|
||||||
} else {
|
} else {
|
||||||
$('#current').html("Current: <span style='color:red; font-weight:bold'>"+$.i18n._("Master Stream")+"</span>");
|
$('#current').html($.i18n._("Current")+": <span style='color:red; font-weight:bold'>"+$.i18n._("Master Stream")+"</span>");
|
||||||
}
|
}
|
||||||
} else if (live_dj_on_air) {
|
} else if (live_dj_on_air) {
|
||||||
if (showName) {
|
if (showName) {
|
||||||
$('#current').html("Current: <span style='color:red; font-weight:bold'>"+showName+" - "+$.i18n._("Live Stream")+"</span>");
|
$('#current').html($.i18n._("Current")+": <span style='color:red; font-weight:bold'>"+showName+" - "+$.i18n._("Live Stream")+"</span>");
|
||||||
} else {
|
} else {
|
||||||
$('#current').html("Current: <span style='color:red; font-weight:bold'>"+$.i18n._("Live Stream")+"</span>");
|
$('#current').html($.i18n._("Current")+": <span style='color:red; font-weight:bold'>"+$.i18n._("Live Stream")+"</span>");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$('#current').html("Current: <span style='color:red; font-weight:bold'>"+$.i18n._("Nothing Scheduled")+"</span>");
|
$('#current').html($.i18n._("Current")+": <span style='color:red; font-weight:bold'>"+$.i18n._("Nothing Scheduled")+"</span>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue