1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

for now just show "remaining time unknown" for not available downloads

This commit is contained in:
Mitchell Livingston 2008-04-07 04:05:57 +00:00
parent 05ddd5f2ee
commit adbee53efa

View file

@ -1835,10 +1835,10 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
{ {
switch (eta) switch (eta)
{ {
case TR_ETA_NOT_AVAIL:
//return NSLocalizedString(@"full download not available", "Torrent -> eta string");
case TR_ETA_UNKNOWN: case TR_ETA_UNKNOWN:
return NSLocalizedString(@"remaining time unknown", "Torrent -> eta string"); return NSLocalizedString(@"remaining time unknown", "Torrent -> eta string");
case TR_ETA_NOT_AVAIL:
return NSLocalizedString(@"full download not available", "Torrent -> eta string");
default: default:
return [NSString stringWithFormat: NSLocalizedString(@"%@ remaining", "Torrent -> eta string"), return [NSString stringWithFormat: NSLocalizedString(@"%@ remaining", "Torrent -> eta string"),
[NSString timeString: eta showSeconds: YES maxDigits: 2]]; [NSString timeString: eta showSeconds: YES maxDigits: 2]];