mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-03 09:35:28 +01:00
...
This commit is contained in:
parent
ec3a4fef6a
commit
f6e613df6a
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ def data(self, index, role):
|
|||
return '\n'.join(self.items[index.row()])
|
||||
if role == Qt.ToolTipRole:
|
||||
text, frag = self.items[index.row()]
|
||||
return _('Anchor: %s\nLeading text: %s') % (frag, text)
|
||||
return _('Anchor: {0}\nLeading text: {1}').format(frag, text)
|
||||
|
||||
def set_names(self, names):
|
||||
self.names = names
|
||||
|
|
|
|||
Loading…
Reference in a new issue