From 3318febd0c42968c2ea6e3f927276becc8fcbb6b Mon Sep 17 00:00:00 2001 From: Daniel Ramoeller Date: Fri, 8 Sep 2023 06:35:20 +0200 Subject: [PATCH] Improve Open External Target dialog text Fix for #12897 --- src/frontends/qt/qt_helpers.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt/qt_helpers.cpp b/src/frontends/qt/qt_helpers.cpp index bf2dd6fecd..3f6e6c0f23 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());