mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix translated string not being used in a couple of places
This commit is contained in:
parent
bc90617eec
commit
1558b858a6
@ -1276,7 +1276,7 @@ class Boss(QObject):
|
|||||||
if not syntax:
|
if not syntax:
|
||||||
return error_dialog(
|
return error_dialog(
|
||||||
self.gui, _('Unsupported file format'),
|
self.gui, _('Unsupported file format'),
|
||||||
_('Editing files of type %s is not supported' % mt), show=True)
|
_('Editing files of type %s is not supported') % mt, show=True)
|
||||||
editor = self.edit_file(name, syntax)
|
editor = self.edit_file(name, syntax)
|
||||||
if anchor and editor is not None:
|
if anchor and editor is not None:
|
||||||
if editor.go_to_anchor(anchor):
|
if editor.go_to_anchor(anchor):
|
||||||
@ -1603,7 +1603,7 @@ class Boss(QObject):
|
|||||||
if not syntax:
|
if not syntax:
|
||||||
return error_dialog(
|
return error_dialog(
|
||||||
self.gui, _('Unsupported file format'),
|
self.gui, _('Unsupported file format'),
|
||||||
_('Editing files of type %s is not supported' % mime), show=True)
|
_('Editing files of type %s is not supported') % mime, show=True)
|
||||||
return self.edit_file(name, syntax)
|
return self.edit_file(name, syntax)
|
||||||
|
|
||||||
def edit_next_file(self, backwards=False):
|
def edit_next_file(self, backwards=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user