mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
localize the filter bar
This commit is contained in:
parent
e5b0de31a6
commit
89175bea5f
1 changed files with 14 additions and 2 deletions
|
@ -49,7 +49,20 @@
|
|||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
#warning localize every thing
|
||||
//localizations
|
||||
[fNoFilterButton setTitle: NSLocalizedString(@"All", "Filter Bar -> filter button")];
|
||||
[fActiveFilterButton setTitle: NSLocalizedString(@"Active", "Filter Bar -> filter button")];
|
||||
[fDownloadFilterButton setTitle: NSLocalizedString(@"Downloading", "Filter Bar -> filter button")];
|
||||
[fSeedFilterButton setTitle: NSLocalizedString(@"Seeding", "Filter Bar -> filter button")];
|
||||
[fPauseFilterButton setTitle: NSLocalizedString(@"Paused", "Filter Bar -> filter button")];
|
||||
|
||||
[[[[fSearchField cell] searchMenuTemplate] itemWithTag: FILTER_TYPE_TAG_NAME] setTitle:
|
||||
NSLocalizedString(@"Name", "Filter Bar -> filter menu")];
|
||||
[[[[fSearchField cell] searchMenuTemplate] itemWithTag: FILTER_TYPE_TAG_TRACKER] setTitle:
|
||||
NSLocalizedString(@"Tracker", "Filter Bar -> filter menu")];
|
||||
|
||||
[[[fGroupsButton menu] itemWithTag: GROUP_FILTER_ALL_TAG] setTitle:
|
||||
NSLocalizedString(@"All Groups", "Filter Bar -> group filter menu")];
|
||||
|
||||
[self resizeBar];
|
||||
|
||||
|
@ -74,7 +87,6 @@
|
|||
}
|
||||
[currentFilterButton setState: NSOnState];
|
||||
|
||||
|
||||
//set filter search type
|
||||
NSString * filterSearchType = [[NSUserDefaults standardUserDefaults] stringForKey: @"FilterSearchType"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue