mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:13:38 +02:00
Fix translated string not being used in a couple of places
This commit is contained in:
parent
bc90617eec
commit
1558b858a6
1 changed files with 2 additions and 2 deletions
|
|
@ -1276,7 +1276,7 @@ def link_clicked(self, name, anchor, show_anchor_not_found=False):
|
|||
if not syntax:
|
||||
return error_dialog(
|
||||
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)
|
||||
if anchor and editor is not None:
|
||||
if editor.go_to_anchor(anchor):
|
||||
|
|
@ -1603,7 +1603,7 @@ def edit_file_requested(self, name, syntax=None, mime=None):
|
|||
if not syntax:
|
||||
return error_dialog(
|
||||
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)
|
||||
|
||||
def edit_next_file(self, backwards=False):
|
||||
|
|
|
|||
Loading…
Reference in a new issue