diff --git a/nw/gui/about.py b/nw/gui/about.py
index c0615d7c..fd87fc9f 100644
--- a/nw/gui/about.py
+++ b/nw/gui/about.py
@@ -222,7 +222,7 @@ class GuiAbout(QDialog):
"%s
" % self.tr("{0}: {1}").format(
self.tr("Author"), theTheme.syntaxAuthor
),
- "%s
" % self.tr("{0} {1}").format(
+ "%s
" % self.tr("{0}: {1}").format(
self.tr("Credit"), theTheme.syntaxCredit
),
self.tr("{0}: {1}").format(
diff --git a/nw/gui/build.py b/nw/gui/build.py
index 1ddf7b3d..0d11674b 100644
--- a/nw/gui/build.py
+++ b/nw/gui/build.py
@@ -331,16 +331,24 @@ class GuiBuildNovel(QDialog):
self.fileGroup.setLayout(self.fileForm)
self.novelFiles = QSwitch(width=wS, height=hS)
- self.novelFiles.setToolTip(self.tr(
- "Include files with layouts 'Book', 'Page', 'Partition', "
- "'Chapter', 'Unnumbered', and 'Scene'."
+ self.novelFiles.setToolTip(self.tr("Include files with layouts {0}.").format(
+ self.locale().createSeparatedList([
+ self.locale().quoteString(self.tr('Book')),
+ self.locale().quoteString(self.tr('Page')),
+ self.locale().quoteString(self.tr('Partition')),
+ self.locale().quoteString(self.tr('Chapter')),
+ self.locale().quoteString(self.tr('Unnumbered')),
+ self.locale().quoteString(self.tr('Scene')),
+ ])
))
self.novelFiles.setChecked(
self.optState.getBool("GuiBuildNovel", "addNovel", True)
)
self.noteFiles = QSwitch(width=wS, height=hS)
- self.noteFiles.setToolTip(self.tr("Include files with layout 'Note'."))
+ self.noteFiles.setToolTip(self.tr("Include files with layout {0}.").format(
+ self.locale().quoteString(self.tr("Note"))
+ ))
self.noteFiles.setChecked(
self.optState.getBool("GuiBuildNovel", "addNotes", False)
)