From 3ffb14a65c91b48ebd146516145b80c483bd3b96 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 30 Jan 2011 16:32:11 +0000 Subject: Improve unsaved theme warning message. --- Source/SPEditorPreferencePane.m | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Source') 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 ); -- cgit v1.2.3