commit ab42f80084d91a6127351e457480ef4e49b2cb25 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Sat Mar 1 08:33:42 2025 +0100
Fix string --- src/frontends/qt/GuiPrefs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp index 970598d2d0..b7dad61105 100644 --- a/src/frontends/qt/GuiPrefs.cpp +++ b/src/frontends/qt/GuiPrefs.cpp @@ -1498,8 +1498,8 @@ void PrefColors::removeTheme() QMessageBox msgBox(this); msgBox.setIcon(QMessageBox::Warning); msgBox.setWindowTitle(qt_("Are you sure?")); - msgBox.setText(qt_("Do you really want to remove the theme \"") + - theme_name + qt_("\"?")); + msgBox.setText(toqstr(bformat(_("Do you really want to remove the theme \"%1$s\"?"), + qstring_to_ucs4(theme_name)))); msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); msgBox.setDefaultButton(QMessageBox::No); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs