From 3273a5335860604d81e75bef5bc1b9450f11425b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Oct 2018 08:52:44 +0530 Subject: [PATCH] String changes --- src/calibre/gui2/library/views.py | 2 +- src/calibre/gui2/metadata/single.py | 2 +- src/calibre/gui2/preferences/save_template.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/calibre/gui2/library/views.py b/src/calibre/gui2/library/views.py index 4eba04bfbe..7a221c3229 100644 --- a/src/calibre/gui2/library/views.py +++ b/src/calibre/gui2/library/views.py @@ -444,7 +444,7 @@ class BooksView(QTableView): # {{{ col_font = self._model.styled_columns.get(col) m = ans.addMenu(_('Change font style for %s') % name) for x, t, f in ( - ('normal', _('Normal font'), None), ('bold', _('Bold Font'), self._model.bold_font), + ('normal', _('Normal font'), None), ('bold', _('Bold font'), self._model.bold_font), ('italic', _('Italic font'), self._model.italic_font), ('bi', _('Bold and Italic font'), self._model.bi_font), ): a = m.addAction(t, partial(handler, action='font_' + x)) diff --git a/src/calibre/gui2/metadata/single.py b/src/calibre/gui2/metadata/single.py index 97c7562e59..d1c4131302 100644 --- a/src/calibre/gui2/metadata/single.py +++ b/src/calibre/gui2/metadata/single.py @@ -363,7 +363,7 @@ class MetadataSingleDialogBase(QDialog): _("You've changed the metadata for this book." " Edit book is set to update embedded metadata when opened." " You need to save your changes for them to be included."), - yes_text=_('&Save'), no_text=_("&Don't Save"), + yes_text=_('&Save'), no_text=_("&Don't save"), yes_icon='dot_green.png', no_icon='dot_red.png', default_yes=True, skip_dialog_name='edit-metadata-save-before-edit-format'): if self.apply_changes(): diff --git a/src/calibre/gui2/preferences/save_template.py b/src/calibre/gui2/preferences/save_template.py index 9159b1c759..237dc25045 100644 --- a/src/calibre/gui2/preferences/save_template.py +++ b/src/calibre/gui2/preferences/save_template.py @@ -28,8 +28,8 @@ class SaveTemplate(QWidget, Ui_Form): def initialize(self, name, default, help, field_metadata): variables = sorted(FORMAT_ARG_DESCS.keys()) if name == 'send_to_device': - self.help_label.setText(self.orig_help_text + _( - ' This setting can be overridden for individual devices,' + self.help_label.setText(self.orig_help_text + ' ' + _( + 'This setting can be overridden for individual devices,' ' by clicking the device icon and choosing "Configure this device".')) rows = [] for var in variables: