From c9e9a6a1c8d8c9d0e40a45a2ce2d5d95cf1dafba Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 3 Feb 2010 10:34:33 +0000 Subject: =?UTF-8?q?=E2=80=A2=20field=20mapping=20sheet=20is=20now=20docume?= =?UTF-8?q?nt-modal=20instead=20of=20blocking=20SP=20entirely=20=E2=80=A2?= =?UTF-8?q?=20if=20an=20error=20occurred=20while=20retrieving=20column=20o?= =?UTF-8?q?r=20index=20data=20in=20Structure=20pane=20reset=20Structure=20?= =?UTF-8?q?pane=20to=20a=20stable=20status,=20display=20the=20error=20mess?= =?UTF-8?q?age,=20and=20reload=20Tables=20List=20table=20due=20to=20the=20?= =?UTF-8?q?fact=20the=20it's=20very=20likely=20that=20SP=20tries=20to=20re?= =?UTF-8?q?trieve=20data=20from=20a=20table=20which=20doesn't=20exist=20an?= =?UTF-8?q?ymore=20=E2=80=A2=20fixed=20spelling=20of=20"occurred"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: NOT YET DONE: if in Structure view the actual underlying table was deleted or renamed by an other mysql event and the user tries to add/change a field do suppress this attempt safely --- Source/SPTableData.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPTableData.m') diff --git a/Source/SPTableData.m b/Source/SPTableData.m index 1c00758a..9dffd962 100644 --- a/Source/SPTableData.m +++ b/Source/SPTableData.m @@ -668,7 +668,7 @@ if ([mySQLConnection isConnected]) { SPBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [NSApp mainWindow], self, nil, nil, nil, - [NSString stringWithFormat:NSLocalizedString(@"An error occured while retrieving view information.\nMySQL said: %@", @"message of panel when retrieving view information failed"), + [NSString stringWithFormat:NSLocalizedString(@"An error occurred while retrieving information.\nMySQL said: %@", @"message of panel when retrieving information failed"), [mySQLConnection getLastErrorMessage]]); } return nil; @@ -686,7 +686,7 @@ if ([mySQLConnection isConnected]) { SPBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [NSApp mainWindow], self, nil, nil, nil, - [NSString stringWithFormat:NSLocalizedString(@"An error occured while retrieving view information.\nMySQL said: %@", @"message of panel when retrieving view information failed"), + [NSString stringWithFormat:NSLocalizedString(@"An error occurred while retrieving information.\nMySQL said: %@", @"message of panel when retrieving information failed"), [mySQLConnection getLastErrorMessage]]); } return nil; -- cgit v1.2.3