From 1ed2522b530cdd492fc6c1e2db710e9e4a360a6f Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 13 Nov 2017 23:23:32 +0100 Subject: [PATCH] tweak can't save in this format warning message with suggestion from Burkhard --- part.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/part.cpp b/part.cpp index 14ba0212f..2f34d4a46 100644 --- a/part.cpp +++ b/part.cpp @@ -2516,8 +2516,8 @@ bool Part::saveAs( const QUrl & saveUrl, SaveAsFlags flags ) if ( !listOfwontSaves.isEmpty() ) { const QString warningMessage = m_document->canSwapBackingFile() ? - i18n( "The following elements cannot be saved in this format.
If you want to preserve them, please use the Okular document archive format." ) : - i18n( "The following elements cannot be saved in this format and will be lost (as well as the undo/redo stack).
If you want to preserve them, please use the Okular document archive format." ); + i18n( "You are about to save changes, but the current file format does not support saving the following elements. Please use the Okular document archive format to preserve them. Click Continue to save ignoring these elements." ) : + i18n( "You are about to save changes, but the current file format does not support saving the following elements. Please use the Okular document archive format to preserve them. Click Continue to save but you will lose these elements (as well as the undo/redo history)." ); const QString continueMessage = m_document->canSwapBackingFile() ? i18n( "Continue" ) : i18n( "Continue losing changes" );