aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-05-27 13:30:34 +0000
committerstuconnolly <stuart02@gmail.com>2009-05-27 13:30:34 +0000
commit4cb9f0b6ab99875d487ae9c2c438595978222a3e (patch)
treebe63b305825ba346a73f5bb267bd7113150b61a2 /Source/TableSource.m
parentde6f4edd315c319bd7fbc37907176d665aa454dc (diff)
downloadsequelpro-4cb9f0b6ab99875d487ae9c2c438595978222a3e.tar.gz
sequelpro-4cb9f0b6ab99875d487ae9c2c438595978222a3e.tar.bz2
sequelpro-4cb9f0b6ab99875d487ae9c2c438595978222a3e.zip
Redesigned table information pane.
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r--Source/TableSource.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m
index 8a09b0ab..afadf50e 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -413,8 +413,9 @@ reloads the table (performing a new mysql-query)
[tableDataInstance resetColumnData];
} else {
[sender selectItemWithTitle:tableType];
- NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil,
- [NSString stringWithFormat:NSLocalizedString(@"Couldn't change table type.\nMySQL said: %@", @"message of panel when table type cannot be removed"), [mySQLConnection getLastErrorMessage]]);
+ NSBeginAlertSheet(NSLocalizedString(@"Error changing table type", @"error changing table type message"),
+ NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil,
+ [NSString stringWithFormat:NSLocalizedString(@"An error occurred when trying to change the table to '%@' from '%@'.\n\nMySQL said: %@", @"error changing table type informative message"), selectedItem, tableType, [mySQLConnection getLastErrorMessage]]);
}
}
}