From 9c93e74165fd4e75eb2c7389c438169f4d46de99 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 20 Apr 2010 12:09:36 +0000 Subject: Localize 'Edit Favorites...' popup button menu item. --- Resources/English.lproj/Localizable.strings | Bin 148618 -> 148970 bytes Source/SPPreferenceController.m | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings index ad7722c9..95041621 100644 Binary files a/Resources/English.lproj/Localizable.strings and b/Resources/English.lproj/Localizable.strings differ diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index d068064a..dc6433df 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -1083,9 +1083,9 @@ // Add item to switch to edit favorites pane [[defaultFavoritePopup menu] addItem:[NSMenuItem separatorItem]]; - [defaultFavoritePopup addItemWithTitle:@"Edit Favorites…"]; - [[[defaultFavoritePopup menu] itemWithTitle:@"Edit Favorites…"] setAction:@selector(displayFavoritePreferences:)]; - [[[defaultFavoritePopup menu] itemWithTitle:@"Edit Favorites…"] setTarget:self]; + [defaultFavoritePopup addItemWithTitle:NSLocalizedString(@"Edit Favorites…", @"edit favorites menu item")]; + [[[defaultFavoritePopup menu] itemWithTitle:NSLocalizedString(@"Edit Favorites…", @"edit favorites menu item")] setAction:@selector(displayFavoritePreferences:)]; + [[[defaultFavoritePopup menu] itemWithTitle:NSLocalizedString(@"Edit Favorites…", @"edit favorites menu item")] setTarget:self]; // Select the default favorite from prefs if (![prefs boolForKey:SPSelectLastFavoriteUsed]) { -- cgit v1.2.3