aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-03 14:29:53 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-03 14:29:53 +0000
commit0c303c40066f65fa0739f43b46aecca1172d2ddc (patch)
tree195e89cedf5cf295e6235711a859e15c6d5dfc2c /Source/SPUserManager.m
parentc96491888011538e6da8ed6b6dd2ef217c845f2b (diff)
downloadsequelpro-0c303c40066f65fa0739f43b46aecca1172d2ddc.tar.gz
sequelpro-0c303c40066f65fa0739f43b46aecca1172d2ddc.tar.bz2
sequelpro-0c303c40066f65fa0739f43b46aecca1172d2ddc.zip
Localise SPExtendedTableInfo.m and remove use of multiple comments for localised strings.
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r--Source/SPUserManager.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index cc4baae5..fe387422 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -497,7 +497,7 @@
if ([results count] > 1)
{
NSAlert *alert = [NSAlert alertWithMessageText:@"Duplicate User"
- defaultButton:NSLocalizedString(@"OK", @"OK")
+ defaultButton:NSLocalizedString(@"OK", @"OK button")
alternateButton:nil
otherButton:nil
informativeTextWithFormat:@"A user with that name already exists"];
@@ -514,7 +514,7 @@
if (![selectedObject isEqual:child] && [[child valueForKey:@"host"] isEqualToString:host])
{
NSAlert *alert = [NSAlert alertWithMessageText:@"Duplicate Host"
- defaultButton:NSLocalizedString(@"OK", @"OK")
+ defaultButton:NSLocalizedString(@"OK", @"OK button")
alternateButton:nil
otherButton:nil
informativeTextWithFormat:@"A user with that host already exists"];
@@ -678,7 +678,7 @@
if ([[parent valueForKey:@"children"] count] == 0)
{
NSAlert *alert = [NSAlert alertWithMessageText:@"User doesn't have any hosts."
- defaultButton:NSLocalizedString(@"OK", @"OK")
+ defaultButton:NSLocalizedString(@"OK", @"OK button")
alternateButton:nil
otherButton:nil
informativeTextWithFormat:@"This user doesn't have any hosts associated with it. User will be deleted unless one is added"];
@@ -712,8 +712,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];
@@ -1137,7 +1137,7 @@
{
if (![[self.mySqlConnection getLastErrorMessage] isEqualToString:@""]) {
NSAlert *alert = [NSAlert alertWithMessageText:@"MySQL Error"
- defaultButton:NSLocalizedString(@"OK", @"OK")
+ defaultButton:NSLocalizedString(@"OK", @"OK button")
alternateButton:nil
otherButton:nil
informativeTextWithFormat:[self.mySqlConnection getLastErrorMessage]];