This commit is contained in:
Kovid Goyal 2011-05-30 22:53:15 -06:00
parent 32bcac2147
commit 775c63bd39
2 changed files with 3 additions and 2 deletions

View File

@ -152,7 +152,8 @@ class DeleteAction(InterfaceAction):
if not ids: if not ids:
return return
fmts = self._get_selected_formats( fmts = self._get_selected_formats(
'<p>'+_('Choose formats <b>not</b> to be deleted'), ids) '<p>'+_('Choose formats <b>not</b> to be deleted.<p>Note that '
'this will never remove all formats from a book.'), ids)
if fmts is None: if fmts is None:
return return
for id in ids: for id in ids:

View File

@ -44,7 +44,7 @@ class SelectFormats(QDialog):
self.setLayout(self._l) self.setLayout(self._l)
self.setWindowTitle(_('Choose formats')) self.setWindowTitle(_('Choose formats'))
self._m = QLabel(msg) self._m = QLabel(msg)
self._m.setWordWrap = True self._m.setWordWrap(True)
self._l.addWidget(self._m) self._l.addWidget(self._m)
self.formats = Formats(fmt_list) self.formats = Formats(fmt_list)
self.fview = QListView(self) self.fview = QListView(self)