mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 08:26:13 +01:00
Fix translation warnings
Apparently msgfmt does not like unicode
This commit is contained in:
parent
7f0469e044
commit
523850de45
2 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ def continue_reading(self):
|
|||
def load_ebook(self, pathtoebook, open_at=None, reload_book=False):
|
||||
if open_at:
|
||||
self.pending_open_at = open_at
|
||||
self.setWindowTitle(_('Loading book… — {}').format(self.base_window_title))
|
||||
self.setWindowTitle(_('Loading book') + '… — {}'.format(self.base_window_title))
|
||||
self.web_view.show_preparing_message()
|
||||
self.save_annotations()
|
||||
self.current_book_data = {}
|
||||
|
|
|
|||
|
|
@ -444,7 +444,7 @@ def execute_when_ready(self, action, *args):
|
|||
self.pending_bridge_ready_actions[action] = args
|
||||
|
||||
def show_preparing_message(self):
|
||||
msg = _('Preparing book for first read, please wait…')
|
||||
msg = _('Preparing book for first read, please wait') + '…'
|
||||
self.execute_when_ready('show_preparing_message', msg)
|
||||
|
||||
def goto_toc_node(self, node_id):
|
||||
|
|
|
|||
Loading…
Reference in a new issue