mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1888901 [[Enhancement] Show number of books being edited in window title](https://bugs.launchpad.net/calibre/+bug/1888901)
This commit is contained in:
parent
68f624addd
commit
0bf542b17b
@ -482,9 +482,9 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
||||
self.ids = [self.db.id(r) for r in rows]
|
||||
self.first_title = self.db.title(self.ids[0], index_is_id=True)
|
||||
self.cover_clone.setToolTip(unicode_type(self.cover_clone.toolTip()) + ' (%s)' % self.first_title)
|
||||
self.box_title.setText('<p>' +
|
||||
_('Editing meta information for <b>%d books</b>') %
|
||||
len(rows))
|
||||
self.setWindowTitle(ngettext(
|
||||
'Editing metadata for one book',
|
||||
'Editing metadata for {} books', len(rows)).format(len(rows)))
|
||||
self.write_series = False
|
||||
self.changed = False
|
||||
self.refresh_books = refresh_books
|
||||
|
@ -18,16 +18,6 @@
|
||||
<normaloff>:/images/edit_input.png</normaloff>:/images/edit_input.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<item>
|
||||
<widget class="QLabel" name="box_title">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTabWidget" name="central_widget">
|
||||
<property name="currentIndex">
|
||||
@ -49,7 +39,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>935</width>
|
||||
<height>639</height>
|
||||
<height>660</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
@ -705,8 +695,8 @@ for e.g., EPUB to EPUB, calibre saves the original EPUB
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>935</width>
|
||||
<height>639</height>
|
||||
<width>100</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
@ -726,7 +716,7 @@ for e.g., EPUB to EPUB, calibre saves the original EPUB
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>777</width>
|
||||
<width>804</width>
|
||||
<height>388</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user