Changeset 5465


Ignore:
Timestamp:
Mar 31, 2008, 9:11:00 PM (14 years ago)
Author:
livings124
Message:

more string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r5463 r5465  
    10111011    {
    10121012        int eta = fStat->status == TR_STATUS_DOWNLOAD ? [self eta] : [self etaRatio];
    1013         string = eta >= 0 ? [string stringByAppendingFormat: NSLocalizedString(@" - %@ remaining", "Torrent -> progress string"),
    1014                                 [NSString timeString: eta showSeconds: YES maxDigits: 2]]
    1015             : [string stringByAppendingString: NSLocalizedString(@" - remaining time unknown", "Torrent -> progress string")];
     1013        NSString * etaString = eta >= 0 ? [NSString stringWithFormat: NSLocalizedString(@"%@ remaining", "Torrent -> progress string"),
     1014                                            [NSString timeString: eta showSeconds: YES maxDigits: 2]]
     1015                                        : NSLocalizedString(@"remaining time unknown", "Torrent -> progress string");
     1016       
     1017        string = [NSString stringWithFormat: @"%@ - %@", string, etaString];
    10161018    }
    10171019   
Note: See TracChangeset for help on using the changeset viewer.