diff --git a/src/calibre/gui2/widgets.py b/src/calibre/gui2/widgets.py index dc57fc8004..2e2dae3b44 100644 --- a/src/calibre/gui2/widgets.py +++ b/src/calibre/gui2/widgets.py @@ -107,7 +107,7 @@ class FilenamePattern(QWidget, Ui_Form): # {{{ ext = os.path.splitext(fname)[1][1:].lower() if ext not in BOOK_EXTENSIONS: return warning_dialog(self, _('Test name invalid'), - _('The name %r does not appear to end with a' + _('The name %s does not appear to end with a' ' file extension. The name must end with a file ' ' extension like .epub or .mobi')%fname, show=True)