Changeset 11225


Ignore:
Timestamp:
Sep 18, 2010, 7:49:34 PM (12 years ago)
Author:
livings124
Message:

one less localizable string

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r11178 r11225  
    987987                                    [NSString stringForFileSize: [self haveTotal]]];
    988988            else
    989                 downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@ (%@)", "Torrent -> progress string"),
    990                                     [NSString stringForFileSize: [self haveTotal]], [NSString stringForFileSize: [self size]],
     989            {
     990                downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@", "Torrent -> progress string"),
     991                                    [NSString stringForFileSize: [self haveTotal]], [NSString stringForFileSize: [self size]]];
     992                downloadString = [downloadString stringByAppendingFormat: @" (%@)",
    991993                                    [NSString percentString: [self progress] longDecimals: YES]];
     994            }
    992995        }
    993996        else
  • trunk/macosx/en.lproj/Localizable.strings

    r11224 r11225  
    66   Torrent -> progress string */
    77"%@ of %@" = "%1$@ of %2$@";
    8 
    9 /* Torrent -> progress string */
    10 "%@ of %@ (%@)" = "%1$@ of %2$@ (%3$@)";
    118
    129/* Torrent -> progress string */
Note: See TracChangeset for help on using the changeset viewer.