mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
9173f47b1f
commit
d7e17d1899
@ -603,7 +603,7 @@ class HTMLConverter(object):
|
||||
hasattr(target.parent, 'objId'):
|
||||
self.book.addTocEntry(ascii_text, tb)
|
||||
else:
|
||||
self.log.debug(_("Cannot add link %s to TOC")%ascii_text)
|
||||
self.log.debug("Cannot add link %s to TOC"%ascii_text)
|
||||
|
||||
def get_target_block(fragment, targets):
|
||||
'''Return the correct block for the <a name> element'''
|
||||
|
@ -427,10 +427,10 @@ class ToolbarSettings(QWidget):
|
||||
gl2.addWidget(self.ub, 0, 1), gl2.addWidget(self.db, 2, 1)
|
||||
gb2.setLayout(gl2)
|
||||
self.lb = b = QToolButton(self)
|
||||
b.setToolTip(_('Add selected actions to toolbar')), b.setIcon(QIcon(I('forward.png')))
|
||||
b.setToolTip(_('Add selected actions to the toolbar')), b.setIcon(QIcon(I('forward.png')))
|
||||
l.addWidget(b, 1, 1), b.clicked.connect(self.add_action)
|
||||
self.rb = b = QToolButton(self)
|
||||
b.setToolTip(_('Remove selected actions from toolbar')), b.setIcon(QIcon(I('back.png')))
|
||||
b.setToolTip(_('Remove selected actions from the toolbar')), b.setIcon(QIcon(I('back.png')))
|
||||
l.addWidget(b, 3, 1), b.clicked.connect(self.remove_action)
|
||||
self.si = QSpacerItem(20, 10, hPolicy=QSizePolicy.Preferred, vPolicy=QSizePolicy.Expanding)
|
||||
l.setRowStretch(0, 10), l.setRowStretch(2, 10), l.setRowStretch(4, 10)
|
||||
|
Loading…
x
Reference in New Issue
Block a user