mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f58ca4bff4
commit
b66c02b2ca
@ -601,7 +601,7 @@ class NewFileDialog(QDialog): # {{{
|
|||||||
self.l = l = QVBoxLayout()
|
self.l = l = QVBoxLayout()
|
||||||
self.setLayout(l)
|
self.setLayout(l)
|
||||||
self.la = la = QLabel(_(
|
self.la = la = QLabel(_(
|
||||||
'Choose a name for the new file'))
|
'Choose a name for the new (blank) file'))
|
||||||
self.setWindowTitle(_('Choose file'))
|
self.setWindowTitle(_('Choose file'))
|
||||||
l.addWidget(la)
|
l.addWidget(la)
|
||||||
self.name = n = QLineEdit(self)
|
self.name = n = QLineEdit(self)
|
||||||
|
@ -246,7 +246,8 @@ class Main(MainWindow):
|
|||||||
self.addAction(ac)
|
self.addAction(ac)
|
||||||
return ac
|
return ac
|
||||||
|
|
||||||
self.action_new_file = reg('document-new.png', _('&New file'), self.boss.add_file, 'new-file', (), _('Create a new file in the current book'))
|
self.action_new_file = reg('document-new.png', _('&New file (images/fonts/HTML/etc.)'), self.boss.add_file,
|
||||||
|
'new-file', (), _('Create a new file in the current book'))
|
||||||
self.action_open_book = reg('document_open.png', _('Open &book'), self.boss.open_book, 'open-book', 'Ctrl+O', _('Open a new book'))
|
self.action_open_book = reg('document_open.png', _('Open &book'), self.boss.open_book, 'open-book', 'Ctrl+O', _('Open a new book'))
|
||||||
self.action_global_undo = reg('back.png', _('&Revert to before'), self.boss.do_global_undo, 'global-undo', 'Ctrl+Left',
|
self.action_global_undo = reg('back.png', _('&Revert to before'), self.boss.do_global_undo, 'global-undo', 'Ctrl+Left',
|
||||||
_('Revert book to before the last action (Undo)'))
|
_('Revert book to before the last action (Undo)'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user