From 3cfbf1c7206ea65ec370d1651191ee723907581a Mon Sep 17 00:00:00 2001 From: keatsandyeats Date: Tue, 18 Dec 2018 20:11:59 -0500 Subject: [PATCH] Improve formatting for an infobox when editing keyboard shortcuts in viewer The box appears when the user has edited a shortcut and clicks 'OK' before the shortcut is actually created. --- src/calibre/gui2/viewer/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/viewer/config.py b/src/calibre/gui2/viewer/config.py index bd015c18c6..78fe6aceae 100644 --- a/src/calibre/gui2/viewer/config.py +++ b/src/calibre/gui2/viewer/config.py @@ -397,8 +397,8 @@ class ConfigDialog(QDialog, Ui_Dialog): if self.shortcut_config.is_editing: from calibre.gui2 import info_dialog info_dialog(self, _('Still editing'), - _('You are in the middle of editing a keyboard shortcut' - ' first complete that, by clicking outside the ' + _('You are in the middle of editing a keyboard shortcut.' + ' First complete that by clicking outside the' ' shortcut editing box.'), show=True) return self.save_options(config())