CC-4817: I18N: "Playlist Shuffled" is not listed for translation

-fixed
This commit is contained in:
denise 2013-01-10 14:22:25 -05:00
parent a0be1c647e
commit 9f857433fa
2 changed files with 3 additions and 2 deletions

View file

@ -117,6 +117,7 @@ class LocaleController extends Zend_Controller_Action
"Dynamic block is not previewable" => _("Dynamic block is not previewable"), "Dynamic block is not previewable" => _("Dynamic block is not previewable"),
"Limit to: " => _("Limit to: "), "Limit to: " => _("Limit to: "),
"Playlist saved" => _("Playlist saved"), "Playlist saved" => _("Playlist saved"),
"Playlist shuffled" => _("Playlist shuffled"),
"Airtime is unsure about the status of this file. This can happen when the file is on a remote drive that is unaccessible or the file is in a directory that isn't 'watched' anymore." "Airtime is unsure about the status of this file. This can happen when the file is on a remote drive that is unaccessible or the file is in a directory that isn't 'watched' anymore."
=> _("Airtime is unsure about the status of this file. This can happen when the file is on a remote drive that is unaccessible or the file is in a directory that isn't 'watched' anymore."), => _("Airtime is unsure about the status of this file. This can happen when the file is on a remote drive that is unaccessible or the file is in a directory that isn't 'watched' anymore."),
//listenerstat/listenerstat.js //listenerstat/listenerstat.js

View file

@ -641,7 +641,7 @@ var AIRTIME = (function(AIRTIME){
$pl.on("click", 'button[id="playlist_shuffle_button"]', function(){ $pl.on("click", 'button[id="playlist_shuffle_button"]', function(){
obj_id = $('input[id="obj_id"]').val(); obj_id = $('input[id="obj_id"]').val();
url = "/Playlist/shuffle"; url = baseUrl+"/Playlist/shuffle";
enableLoadingIcon(); enableLoadingIcon();
$.post(url, {format: "json", obj_id: obj_id}, function(data){ $.post(url, {format: "json", obj_id: obj_id}, function(data){
var json = $.parseJSON(data) var json = $.parseJSON(data)
@ -651,7 +651,7 @@ var AIRTIME = (function(AIRTIME){
} }
AIRTIME.playlist.fnOpenPlaylist(json); AIRTIME.playlist.fnOpenPlaylist(json);
if (json.result == "0") { if (json.result == "0") {
$pl.find('.success').text('Playlist shuffled'); $pl.find('.success').text($.i18n._('Playlist shuffled'));
$pl.find('.success').show(); $pl.find('.success').show();
} }
disableLoadingIcon(); disableLoadingIcon();