Ignore:
Timestamp:
Dec 6, 2008, 1:18:25 AM (13 years ago)
Author:
livings124
Message:

#1395 - patch from Waldorf: Bonjour support for Web Interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r7246 r7290  
    982982       
    983983        CGFloat progress = [[peer objectForKey: @"Progress"] floatValue];
    984        
    985         NSString * seedStatus;
     984        NSString * progressString = [NSString localizedStringWithFormat: NSLocalizedString(@"Progress: %.1f%%",
     985                                        "Inspector -> Peers tab -> table row tooltip"), progress * 100.0];
    986986        if (progress < 1.0 && [[peer objectForKey: @"Seed"] boolValue])
    987             seedStatus = [NSString stringWithFormat: @" (%@)", NSLocalizedString(@"Partial Seed",
    988                             "Inspector -> Peers tab -> table row tooltip")];
    989         else
    990             seedStatus = @"";
    991        
    992         [components addObject: [NSString localizedStringWithFormat: NSLocalizedString(@"Progress: %.1f%%%@",
    993             "Inspector -> Peers tab -> table row tooltip"), progress * 100.0, seedStatus]];
     987            progressString = [progressString stringByAppendingFormat: @" (%@)", NSLocalizedString(@"Partial Seed",
     988                                "Inspector -> Peers tab -> table row tooltip")];
     989        [components addObject: progressString];
    994990       
    995991        if ([[peer objectForKey: @"Encryption"] boolValue])
Note: See TracChangeset for help on using the changeset viewer.