Changeset 5599


Ignore:
Timestamp:
Apr 12, 2008, 5:52:37 PM (14 years ago)
Author:
livings124
Message:

string folding ftw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r5558 r5599  
    10791079    if (have == 0)
    10801080        [fHaveField setStringValue: [NSString stringForFileSize: 0]];
    1081     else if (have == haveVerified)
    1082         [fHaveField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ verified",
    1083                 "Inspector -> Activity tab -> have"), [NSString stringForFileSize: haveVerified]]];
    10841081    else
    1085         [fHaveField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ (%@ verified)",
    1086                 "Inspector -> Activity tab -> have"), [NSString stringForFileSize: have], [NSString stringForFileSize: haveVerified]]];
     1082    {
     1083        NSString * verifiedString = [NSString stringWithFormat: NSLocalizedString(@"%@ verified", "Inspector -> Activity tab -> have"),
     1084                                        [NSString stringForFileSize: haveVerified]];
     1085        if (have == haveVerified)
     1086            [fHaveField setStringValue: verifiedString];
     1087        else
     1088            [fHaveField setStringValue: [NSString stringWithFormat: @"%@ (%@)", [NSString stringForFileSize: have], verifiedString]];
     1089    }
    10871090   
    10881091    [fDownloadedTotalField setStringValue: [NSString stringForFileSize: downloadedTotal]];
Note: See TracChangeset for help on using the changeset viewer.