From 4cb9f0b6ab99875d487ae9c2c438595978222a3e Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 27 May 2009 13:30:34 +0000 Subject: Redesigned table information pane. --- Source/TableSource.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/TableSource.m') 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]]); } } } -- cgit v1.2.3