finish updating web ui inconsistent names, part 2

This commit is contained in:
Mitchell Livingston 2008-08-18 01:42:57 +00:00
parent d3abcdfefa
commit cf670a74b1
1 changed files with 3 additions and 5 deletions

View File

@ -1146,15 +1146,13 @@ Transmission.prototype =
{
var torrent = torrents[0];
var header = 'Remove ' + torrent.name() + '?';
var message = 'The transfer is active';
if( torrent._error_message && torrent._error_message != '' ) message += ', but reporting an error';
message += '. Are you sure you want to remove it?';
var message += 'Once removed, continuing the transfer will require the torrent file. Are you sure you want to remove it?';
dialog.confirm( header, message, 'Remove', 'transmission.removeTorrents', torrents );
}
else
{
var header = 'Remove ' + torrents.length + ' Torrents?';
var message = 'Really remove these '+torrents.length+' torrents?';
var header = 'Remove ' + torrents.length + ' transfers?';
var message = 'Once removed, continuing the transfers will require the torrent files. Are you sure you want to remove them?';
dialog.confirm( header, message, 'Remove', 'transmission.removeTorrents', torrents );
}
},