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 torrent = torrents[0];
var header = 'Remove ' + torrent.name() + '?'; var header = 'Remove ' + torrent.name() + '?';
var message = 'The transfer is active'; var message += 'Once removed, continuing the transfer will require the torrent file. Are you sure you want to remove it?';
if( torrent._error_message && torrent._error_message != '' ) message += ', but reporting an error';
message += '. Are you sure you want to remove it?';
dialog.confirm( header, message, 'Remove', 'transmission.removeTorrents', torrents ); dialog.confirm( header, message, 'Remove', 'transmission.removeTorrents', torrents );
} }
else else
{ {
var header = 'Remove ' + torrents.length + ' Torrents?'; var header = 'Remove ' + torrents.length + ' transfers?';
var message = 'Really remove these '+torrents.length+' torrents?'; 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 ); dialog.confirm( header, message, 'Remove', 'transmission.removeTorrents', torrents );
} }
}, },