[LyX/master] Improve Open External Target dialog text

Juergen Spitzmueller spitz at lyx.org
Fri Sep 8 07:23:20 UTC 2023


commit 3318febd0c42968c2ea6e3f927276becc8fcbb6b
Author: Daniel Ramoeller <d.lyx at web.de>
Date:   Fri Sep 8 06:35:20 2023 +0200

    Improve Open External Target dialog text
    
    Fix for #12897
---
 src/frontends/qt/qt_helpers.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/frontends/qt/qt_helpers.cpp b/src/frontends/qt/qt_helpers.cpp
index bf2dd6f..3f6e6c0 100644
--- a/src/frontends/qt/qt_helpers.cpp
+++ b/src/frontends/qt/qt_helpers.cpp
@@ -347,10 +347,10 @@ void showTarget(string const & target_in, Buffer const & buf)
 		QCheckBox * dontShowAgainCB = new QCheckBox();
 		dontShowAgainCB->setText(qt_("&Trust this document and do not ask me again!"));
 		dontShowAgainCB->setToolTip(qt_("If you check this, LyX will open all targets without asking for the given document in the future."));
-		docstring const warn = bformat(_("LyX wants to open the following target in an external application:\n"
-						 "%1$s\n"
-						 "Be aware that this might entail security infringements!\n"
-						 "Only do this if you trust origin of the document and the target of the link!\n"
+		docstring const warn = bformat(_("LyX wants to open the following target in an external application:\n\n"
+						 "%1$s\n\n"
+						 "Be aware that this might entail security infringements!\n\n"
+						 "Only do this if you trust the origin of the document and the target of the link!\n\n"
 						 "How do you want to proceed?"), from_utf8(target));
 		QMessageBox box(QMessageBox::Warning, qt_("Open external target?"), toqstr(warn),
 				QMessageBox::NoButton, qApp->focusWidget());


More information about the lyx-cvs mailing list