String changes

This commit is contained in:
Kovid Goyal 2020-05-20 20:13:24 +05:30
parent 710dcfac54
commit 24645ef1d7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QToolButton" name="delete_category_button"> <widget class="QToolButton" name="delete_category_button">
<property name="toolTip"> <property name="toolTip">
<string>Delete this selected tag category</string> <string>Delete the current tag category</string>
</property> </property>
<property name="text"> <property name="text">
<string>...</string> <string>...</string>

View File

@ -348,7 +348,7 @@ class Main(MainWindow):
self.action_new_file = treg('document-new.png', _('&New file (images/fonts/HTML/etc.)'), self.boss.add_file, self.action_new_file = treg('document-new.png', _('&New file (images/fonts/HTML/etc.)'), self.boss.add_file,
'new-file', (), _('Create a new file in the current book')) 'new-file', (), _('Create a new file in the current book'))
self.action_import_files = treg('document-import.png', _('&Import files into book'), self.boss.add_files, 'new-files', (), _('Import files into book')) self.action_import_files = treg('document-import.png', _('&Import files into book'), self.boss.add_files, 'new-files', (), _('Import files into book'))
self.action_open_book = treg('document_open.png', _('&Open book'), self.boss.open_book, 'open-book', 'Ctrl+O', _('Open a new book')) self.action_open_book = treg('document_open.png', _('&Open book'), self.boss.open_book, 'open-book', 'Ctrl+O', _('Open a book'))
self.action_open_book_folder = treg('mimetypes/dir.png', _('Open &folder (unzipped EPUB) as book'), partial(self.boss.open_book, open_folder=True), self.action_open_book_folder = treg('mimetypes/dir.png', _('Open &folder (unzipped EPUB) as book'), partial(self.boss.open_book, open_folder=True),
'open-folder-as-book', (), _('Open a folder (unzipped EPUB) as a book')) 'open-folder-as-book', (), _('Open a folder (unzipped EPUB) as a book'))
self.action_edit_next_file = treg('arrow-down.png', _('Edit &next file'), partial(self.boss.edit_next_file, backwards=False), self.action_edit_next_file = treg('arrow-down.png', _('Edit &next file'), partial(self.boss.edit_next_file, backwards=False),

View File

@ -252,7 +252,7 @@ class MainOverlay: # {{{
forward_action = ac(_('Forward'), None, self.forward, 'arrow-right') forward_action = ac(_('Forward'), None, self.forward, 'arrow-right')
if runtime.is_standalone_viewer: if runtime.is_standalone_viewer:
reload_actions = E.ul( reload_actions = E.ul(
ac(_('Open book'), _('Open a new book'), self.overlay.open_book, 'book'), ac(_('Open book'), _('Open a book'), self.overlay.open_book, 'book'),
reload_action reload_action
) )
nav_actions = E.ul(back_action, forward_action) nav_actions = E.ul(back_action, forward_action)
@ -506,7 +506,7 @@ class OpenBook: # {{{
ui_operations.quit() ui_operations.quit()
, ,
class_='simple-link'), class_='simple-link'),
E.h2(_('Open a new book'), style='margin-left: 1rem'), E.h2(_('Open a book'), style='margin-left: 1rem'),
)) ))
create_open_book(container, self.overlay.view?.book) create_open_book(container, self.overlay.view?.book)
# }}} # }}}