diff options
author | stuconnolly <stuart02@gmail.com> | 2010-04-20 12:09:36 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-04-20 12:09:36 +0000 |
commit | 9c93e74165fd4e75eb2c7389c438169f4d46de99 (patch) | |
tree | 9fcf5c4fa22a89fa32299d9e1c665a4fd1991ff0 /Source/SPPreferenceController.m | |
parent | 6af633648d5d145393e39af9a62d3582d5fa543f (diff) | |
download | sequelpro-9c93e74165fd4e75eb2c7389c438169f4d46de99.tar.gz sequelpro-9c93e74165fd4e75eb2c7389c438169f4d46de99.tar.bz2 sequelpro-9c93e74165fd4e75eb2c7389c438169f4d46de99.zip |
Localize 'Edit Favorites...' popup button menu item.
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r-- | Source/SPPreferenceController.m | 6 |
1 files changed, 3 insertions, 3 deletions
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]) { |