diff options
author | stuconnolly <stuart02@gmail.com> | 2010-02-06 17:41:13 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-02-06 17:41:13 +0000 |
commit | 8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2 (patch) | |
tree | 703915a7751bbd5a1e5a711c54b15b07482fc6c0 /Source | |
parent | 71ece9db51ee88ecdd760079e86e3a5ff6decbba (diff) | |
download | sequelpro-8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2.tar.gz sequelpro-8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2.tar.bz2 sequelpro-8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2.zip |
Localize delete relation context menu item, update Localizable.strings and use of multiple keys.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableRelations.m | 2 | ||||
-rw-r--r-- | Source/SPUserManager.m | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPTableRelations.m b/Source/SPTableRelations.m index acb5c29c..10780fd1 100644 --- a/Source/SPTableRelations.m +++ b/Source/SPTableRelations.m @@ -414,7 +414,7 @@ { // Remove row if ([menuItem action] == @selector(removeRelation:)) { - [menuItem setTitle:([relationsTableView numberOfSelectedRows] > 1) ? @"Delete Relations" : @"Delete Relation"]; + [menuItem setTitle:([relationsTableView numberOfSelectedRows] > 1) ? NSLocalizedString(@"Delete Relations", @"delete relations menu item") : NSLocalizedString(@"Delete Relation", @"delete relation menu item")]; return ([relationsTableView numberOfSelectedRows] > 0); } diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index b91a019b..c5b621ef 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -685,8 +685,8 @@ if ([self.managedObjectContext hasChanges]) { NSAlert *alert = [NSAlert alertWithMessageText:@"Warning!" - defaultButton:NSLocalizedString(@"Continue", @"Continue") - alternateButton:NSLocalizedString(@"Cancel",@"Cancel") + defaultButton:NSLocalizedString(@"Continue", @"continue button") + alternateButton:NSLocalizedString(@"Cancel",@"cancel button") otherButton:nil informativeTextWithFormat:@"Window has changes. All changes will be lost!"]; [alert setAlertStyle:NSWarningAlertStyle]; |