aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-04-20 12:09:36 +0000
committerstuconnolly <stuart02@gmail.com>2010-04-20 12:09:36 +0000
commit9c93e74165fd4e75eb2c7389c438169f4d46de99 (patch)
tree9fcf5c4fa22a89fa32299d9e1c665a4fd1991ff0
parent6af633648d5d145393e39af9a62d3582d5fa543f (diff)
downloadsequelpro-9c93e74165fd4e75eb2c7389c438169f4d46de99.tar.gz
sequelpro-9c93e74165fd4e75eb2c7389c438169f4d46de99.tar.bz2
sequelpro-9c93e74165fd4e75eb2c7389c438169f4d46de99.zip
Localize 'Edit Favorites...' popup button menu item.
-rw-r--r--Resources/English.lproj/Localizable.stringsbin148618 -> 148970 bytes
-rw-r--r--Source/SPPreferenceController.m6
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
--- a/Resources/English.lproj/Localizable.strings
+++ b/Resources/English.lproj/Localizable.strings
Binary files 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]) {