aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorPreferencePane.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-01-30 16:32:11 +0000
committerstuconnolly <stuart02@gmail.com>2011-01-30 16:32:11 +0000
commit3ffb14a65c91b48ebd146516145b80c483bd3b96 (patch)
treea6f82aaa40013c2613eeaa1a21b1a45bc3d56f6e /Source/SPEditorPreferencePane.m
parentfeca4191773700887c4279390f94d6a8c65d399c (diff)
downloadsequelpro-3ffb14a65c91b48ebd146516145b80c483bd3b96.tar.gz
sequelpro-3ffb14a65c91b48ebd146516145b80c483bd3b96.tar.bz2
sequelpro-3ffb14a65c91b48ebd146516145b80c483bd3b96.zip
Improve unsaved theme warning message.
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r--Source/SPEditorPreferencePane.m13
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m
index 6176c742..3b9d8c9c 100644
--- a/Source/SPEditorPreferencePane.m
+++ b/Source/SPEditorPreferencePane.m
@@ -38,7 +38,6 @@
@end
-
@implementation SPEditorPreferencePane
#pragma mark -
@@ -738,12 +737,16 @@
[[NSColorPanel sharedColorPanel] close];
SPBeginWaitingAlertSheet(@"title",
- NSLocalizedString(@"Proceed", @"proceed button"), NSLocalizedString(@"Cancel", @"cancel button"), nil,
- NSWarningAlertStyle, [[self view] window], self,
+ NSLocalizedString(@"Proceed", @"proceed button"),
+ NSLocalizedString(@"Cancel", @"cancel button"),
+ nil,
+ NSWarningAlertStyle,
+ [[self view] window],
+ self,
@selector(checkForUnsavedThemeDidEndSheet:returnCode:contextInfo:),
nil,
- NSLocalizedString(@"Warning", @"warning"),
- NSLocalizedString(@"Current color theme is unsaved. Do you want to proceed without saving it?", @"Current color theme is unsaved. Do you want to proceed without saving it message"),
+ NSLocalizedString(@"Unsaved Theme", @"unsaved theme message"),
+ NSLocalizedString(@"The current color theme is unsaved. Do you want to proceed without saving it?", @"unsaved theme informative message"),
checkForUnsavedThemeSheetStatus
);