aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-11-11 21:55:18 +0000
committerstuconnolly <stuart02@gmail.com>2010-11-11 21:55:18 +0000
commit18167b0fa0d58aaf12490c34a663fa661be8ec3e (patch)
tree57028df964c524dbd442d273091f5996770b10d1 /Source/SPFavoritesController.m
parente7afbbbfa7e36146acae973d14a51faf9fbcf5ec (diff)
downloadsequelpro-18167b0fa0d58aaf12490c34a663fa661be8ec3e.tar.gz
sequelpro-18167b0fa0d58aaf12490c34a663fa661be8ec3e.tar.bz2
sequelpro-18167b0fa0d58aaf12490c34a663fa661be8ec3e.zip
Make sure the root favorite has a name key and value. Also, update string files.
Diffstat (limited to 'Source/SPFavoritesController.m')
-rw-r--r--Source/SPFavoritesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPFavoritesController.m b/Source/SPFavoritesController.m
index 08df59c8..d66f9b72 100644
--- a/Source/SPFavoritesController.m
+++ b/Source/SPFavoritesController.m
@@ -182,7 +182,7 @@ static SPFavoritesController *sharedFavoritesController = nil;
favorites = [[NSDictionary alloc] initWithContentsOfFile:favoritesFile];
}
else {
- NSDictionary *newFavorites = [NSDictionary dictionaryWithObject:[NSDictionary dictionaryWithObject:[NSArray array] forKey:SPFavoriteChildrenKey] forKey:SPFavoritesRootKey];
+ NSDictionary *newFavorites = [NSDictionary dictionaryWithObject:[NSDictionary dictionaryWithObjectsAndKeys:NSLocalizedString(@"Favorites", @"favorites label"), SPFavoritesGroupNameKey, [NSArray array], SPFavoriteChildrenKey, nil] forKey:SPFavoritesRootKey];
NSError *error = nil;
NSString *errorString = nil;