aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-02-06 17:41:13 +0000
committerstuconnolly <stuart02@gmail.com>2010-02-06 17:41:13 +0000
commit8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2 (patch)
tree703915a7751bbd5a1e5a711c54b15b07482fc6c0
parent71ece9db51ee88ecdd760079e86e3a5ff6decbba (diff)
downloadsequelpro-8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2.tar.gz
sequelpro-8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2.tar.bz2
sequelpro-8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2.zip
Localize delete relation context menu item, update Localizable.strings and use of multiple keys.
-rw-r--r--Interfaces/English.lproj/Localizable.stringsbin114188 -> 121118 bytes
-rw-r--r--Source/SPTableRelations.m2
-rw-r--r--Source/SPUserManager.m4
3 files changed, 3 insertions, 3 deletions
diff --git a/Interfaces/English.lproj/Localizable.strings b/Interfaces/English.lproj/Localizable.strings
index 7bc1b594..d0174b15 100644
--- a/Interfaces/English.lproj/Localizable.strings
+++ b/Interfaces/English.lproj/Localizable.strings
Binary files differ
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];