From c23d0507ae60317b5f53fd3bb819086be1e6a585 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Tue, 12 Jul 2016 10:53:48 +0200 Subject: [PATCH] Change button title to Save when asking user about encoding --- Frameworks/document/src/OakDocument.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/document/src/OakDocument.mm b/Frameworks/document/src/OakDocument.mm index 272cfcfa..44866560 100644 --- a/Frameworks/document/src/OakDocument.mm +++ b/Frameworks/document/src/OakDocument.mm @@ -905,7 +905,7 @@ private: return; [[NSNotificationCenter defaultCenter] postNotificationName:OakDocumentWillShowAlertNotification object:_document]; - NSAlert* alert = [NSAlert tmAlertWithMessageText:[NSString stringWithFormat:@"Unable to save “%@” using “%@” as encoding.", _document.displayName, to_ns(charset)] informativeText:@"Please choose another encoding:" buttons:@"Retry", @"Cancel", nil]; + NSAlert* alert = [NSAlert tmAlertWithMessageText:[NSString stringWithFormat:@"Unable to save “%@” using “%@” as encoding.", _document.displayName, to_ns(charset)] informativeText:@"Please choose another encoding:" buttons:@"Save", @"Cancel", nil]; OakEncodingPopUpButton* encodingPopUp = [OakEncodingPopUpButton new]; [alert setAccessoryView:encodingPopUp]; OakShowAlertForWindow(alert, _window, ^(NSInteger returnCode){