From: Juergen Spitzmueller Date: Wed, 15 Feb 2023 10:45:16 +0000 (+0100) Subject: Escape single quotes in bformat string X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bfab8f943554d97ecb60e3a3f3702397aff43863;p=features.git Escape single quotes in bformat string --- 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));