From bfab8f943554d97ecb60e3a3f3702397aff43863 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 15 Feb 2023 11:45:16 +0100 Subject: [PATCH] Escape single quotes in bformat string --- src/frontends/qt/GuiPrefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp index 7e6744053a..70fe86aeb3 100644 --- a/src/frontends/qt/GuiPrefs.cpp +++ b/src/frontends/qt/GuiPrefs.cpp @@ -2779,7 +2779,7 @@ void PrefDocHandling::updateRC(LyXRC const & rc) docstring const tip = bformat(_("If this is checked, a backup of the document is created " "in the backup directory (%1$s). " "The backup file has the full original path and name as file name " - "and the suffix '.lyx~' (e.g., mydir!filename.lyx~). " + "and the suffix \'.lyx~\' (e.g., mydir!filename.lyx~). " "Note that these files are hidden by default by some file managers."), FileName(rc.backupdir_path).absoluteFilePath()); backupCB->setToolTip(toqstr(tip)); -- 2.39.5