mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
for now just show "remaining time unknown" for not available downloads
This commit is contained in:
parent
05ddd5f2ee
commit
adbee53efa
1 changed files with 2 additions and 2 deletions
|
@ -1835,10 +1835,10 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
|||
{
|
||||
switch (eta)
|
||||
{
|
||||
case TR_ETA_NOT_AVAIL:
|
||||
//return NSLocalizedString(@"full download not available", "Torrent -> eta string");
|
||||
case TR_ETA_UNKNOWN:
|
||||
return NSLocalizedString(@"remaining time unknown", "Torrent -> eta string");
|
||||
case TR_ETA_NOT_AVAIL:
|
||||
return NSLocalizedString(@"full download not available", "Torrent -> eta string");
|
||||
default:
|
||||
return [NSString stringWithFormat: NSLocalizedString(@"%@ remaining", "Torrent -> eta string"),
|
||||
[NSString timeString: eta showSeconds: YES maxDigits: 2]];
|
||||
|
|
Loading…
Reference in a new issue