mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
8018891656
commit
3273a53358
@ -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))
|
||||
|
@ -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():
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user