aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableRelations.m2
-rw-r--r--Source/SPUserManager.m4
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];