mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -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):
|
||||
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 @@ class WebView(RestartingWebEngineView):
|
||||
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…
x
Reference in New Issue
Block a user