mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix translation warnings
Apparently msgfmt does not like unicode
This commit is contained in:
parent
7f0469e044
commit
523850de45
@ -231,7 +231,7 @@ class EbookViewer(MainWindow):
|
|||||||
def load_ebook(self, pathtoebook, open_at=None, reload_book=False):
|
def load_ebook(self, pathtoebook, open_at=None, reload_book=False):
|
||||||
if open_at:
|
if open_at:
|
||||||
self.pending_open_at = 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.web_view.show_preparing_message()
|
||||||
self.save_annotations()
|
self.save_annotations()
|
||||||
self.current_book_data = {}
|
self.current_book_data = {}
|
||||||
|
@ -444,7 +444,7 @@ class WebView(RestartingWebEngineView):
|
|||||||
self.pending_bridge_ready_actions[action] = args
|
self.pending_bridge_ready_actions[action] = args
|
||||||
|
|
||||||
def show_preparing_message(self):
|
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)
|
self.execute_when_ready('show_preparing_message', msg)
|
||||||
|
|
||||||
def goto_toc_node(self, node_id):
|
def goto_toc_node(self, node_id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user