mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
removed extra 0 on times that weren't working with localization anyway
This commit is contained in:
parent
5aa4e9a664
commit
a4fe974a38
1 changed files with 2 additions and 2 deletions
|
@ -370,10 +370,10 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
if (eta < 60)
|
||||
[remainingTimeString appendFormat: NSLocalizedString(@"%d sec", "Torrent -> remaining time"), eta];
|
||||
else if (eta < 3600) //60 * 60
|
||||
[remainingTimeString appendFormat: NSLocalizedString(@"%d min %02d sec", "Torrent -> remaining time"),
|
||||
[remainingTimeString appendFormat: NSLocalizedString(@"%d min %d sec", "Torrent -> remaining time"),
|
||||
eta / 60, eta % 60];
|
||||
else if (eta < 86400) //24 * 60 * 60
|
||||
[remainingTimeString appendFormat: NSLocalizedString(@"%d hr %02d min", "Torrent -> remaining time"),
|
||||
[remainingTimeString appendFormat: NSLocalizedString(@"%d hr %d min", "Torrent -> remaining time"),
|
||||
eta / 3600, (eta / 60) % 60];
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue