[LyX/master] Escape single quotes in bformat string
Juergen Spitzmueller
spitz at lyx.org
Wed Feb 15 09:44:28 UTC 2023
commit bfab8f943554d97ecb60e3a3f3702397aff43863
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Wed Feb 15 11:45:16 2023 +0100
Escape single quotes in bformat string
---
src/frontends/qt/GuiPrefs.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp
index 7e67440..70fe86a 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));
More information about the lyx-cvs
mailing list