From b22bba31f2757a62defc786ec69845ded6f5f2ba Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Tue, 21 Sep 2021 23:00:08 +0200 Subject: [PATCH] Improve can not overwrite message --- part/part.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/part/part.cpp b/part/part.cpp index 3cb0b52dd..295385a4e 100644 --- a/part/part.cpp +++ b/part/part.cpp @@ -2549,7 +2549,7 @@ bool Part::saveAs(const QUrl &saveUrl, SaveAsFlags flags) if (realSaveUrl.isLocalFile()) { const QFileInfo fi(realSaveUrl.toLocalFile()); if (fi.exists() && !fi.isWritable()) { - KMessageBox::information(widget(), i18n("File could not be saved in '%1'. Try to save it to another location.", realSaveUrl.toLocalFile())); + KMessageBox::information(widget(), i18n("File could not be saved in '%1' because it is read only. Save it to another location or change its permissions.", realSaveUrl.toLocalFile())); return false; } }