Changeset 11995


Ignore:
Timestamp:
Feb 20, 2011, 4:16:38 AM (11 years ago)
Author:
livings124
Message:

localize the filter bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FilterBarController.m

    r11993 r11995  
    5050- (void) awakeFromNib
    5151{
    52     #warning localize every thing
     52    //localizations
     53    [fNoFilterButton setTitle: NSLocalizedString(@"All", "Filter Bar -> filter button")];
     54    [fActiveFilterButton setTitle: NSLocalizedString(@"Active", "Filter Bar -> filter button")];
     55    [fDownloadFilterButton setTitle: NSLocalizedString(@"Downloading", "Filter Bar -> filter button")];
     56    [fSeedFilterButton setTitle: NSLocalizedString(@"Seeding", "Filter Bar -> filter button")];
     57    [fPauseFilterButton setTitle: NSLocalizedString(@"Paused", "Filter Bar -> filter button")];
     58   
     59    [[[[fSearchField cell] searchMenuTemplate] itemWithTag: FILTER_TYPE_TAG_NAME] setTitle:
     60        NSLocalizedString(@"Name", "Filter Bar -> filter menu")];
     61    [[[[fSearchField cell] searchMenuTemplate] itemWithTag: FILTER_TYPE_TAG_TRACKER] setTitle:
     62        NSLocalizedString(@"Tracker", "Filter Bar -> filter menu")];
     63   
     64    [[[fGroupsButton menu] itemWithTag: GROUP_FILTER_ALL_TAG] setTitle:
     65        NSLocalizedString(@"All Groups", "Filter Bar -> group filter menu")];
    5366   
    5467    [self resizeBar];
     
    7487    }
    7588    [currentFilterButton setState: NSOnState];
    76    
    7789   
    7890    //set filter search type
Note: See TracChangeset for help on using the changeset viewer.