String changes

This commit is contained in:
Kovid Goyal 2018-10-20 08:52:44 +05:30
parent 8018891656
commit 3273a53358
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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():

View File

@ -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 <b>individual devices</b>,'
self.help_label.setText(self.orig_help_text + ' ' + _(
'This setting can be overridden for <b>individual devices</b>,'
' by clicking the device icon and choosing "Configure this device".'))
rows = []
for var in variables: