Changeset 9212


Ignore:
Timestamp:
Sep 28, 2009, 2:51:13 PM (13 years ago)
Author:
livings124
Message:

a little string cleanup

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TrackerNode.m

    r9209 r9212  
    8989   
    9090    if (fStat.hasAnnounced && !fStat.lastAnnounceSucceeded)
    91         dateString = [NSString stringWithFormat: @"%@: %@ - %@", NSLocalizedString(@"Announce error", "Tracker last announce"),
     91        dateString = [NSLocalizedString(@"Announce error", "Tracker last announce") stringByAppendingFormat: @": %@ - %@",
    9292                        [NSString stringWithUTF8String: fStat.lastAnnounceResult], dateString];
    9393    else
    9494    {
    95         dateString = [NSString stringWithFormat: NSLocalizedString(@"Last Announce: %@", "Tracker last announce"),
    96                         dateString];
     95        dateString = [NSLocalizedString(@"Last Announce", "Tracker last announce") stringByAppendingFormat: @": %@", dateString];
    9796        if (fStat.hasAnnounced && fStat.lastAnnounceSucceeded)
    9897        {
     
    135134    }
    136135    else
    137         dateString = NSLocalizedString(@"N/A", "Tracker last announce");
     136        dateString = NSLocalizedString(@"N/A", "Tracker last scrape");
    138137   
    139138    if (fStat.hasScraped && !fStat.lastScrapeSucceeded)
    140         dateString = [NSString stringWithFormat: @"%@: %@ - %@", NSLocalizedString(@"Scrape error", "Tracker last announce"),
     139        dateString = [NSLocalizedString(@"Scrape error", "Tracker last scrape") stringByAppendingFormat: @": %@ - %@",
    141140                        [NSString stringWithUTF8String: fStat.lastScrapeResult], dateString];
    142141    else
    143         dateString = [NSString stringWithFormat: NSLocalizedString(@"Last Scrape: %@", "Tracker last announce"), dateString];
     142        dateString = [NSLocalizedString(@"Last Scrape", "Tracker last scrape") stringByAppendingFormat: @": %@", dateString];
    144143   
    145144    return dateString;
  • trunk/macosx/en.lproj/Localizable.strings

    r9211 r9212  
    432432
    433433/* Tracker last announce */
    434 "Last Announce: %@" = "Last Announce: %@";
    435 
    436 /* Tracker last announce */
    437 "Last Scrape: %@" = "Last Scrape: %@";
     434"Last Announce" = "Last Announce";
     435
     436/* Tracker last scrape */
     437"Last Scrape" = "Last Scrape";
    438438
    439439/* Prefs -> blocklist -> message */
     
    474474   No Ratio
    475475   Prefs -> blocklist -> message
    476    Tracker last announce */
     476   Tracker last announce
     477   Tracker last scrape */
    477478"N/A" = "N/A";
    478479
     
    713714"Save" = "Save";
    714715
    715 /* Tracker last announce */
     716/* Tracker last scrape */
    716717"Scrape error" = "Scrape error";
    717718
Note: See TracChangeset for help on using the changeset viewer.