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
6b010bc61c
commit
92e25aa70f
@ -105,7 +105,7 @@ class KOBO(USBMS):
|
|||||||
' e-book file itself. With this option, calibre will send a '
|
' e-book file itself. With this option, calibre will send a '
|
||||||
'separate cover image to the reader, useful if you '
|
'separate cover image to the reader, useful if you '
|
||||||
'have modified the cover.'),
|
'have modified the cover.'),
|
||||||
_('Upload black and white Covers'),
|
_('Upload black and white covers'),
|
||||||
_('Show expired books') +
|
_('Show expired books') +
|
||||||
':::'+_('A bug in an earlier version left non kepubs book records'
|
':::'+_('A bug in an earlier version left non kepubs book records'
|
||||||
' in the database. With this option calibre will show the '
|
' in the database. With this option calibre will show the '
|
||||||
|
@ -277,7 +277,7 @@ class CoversGroupBox(DeviceOptionsGroupBox):
|
|||||||
self.setToolTip(wrap_msg(_('Upload cover images from the calibre library when sending books to the device.')))
|
self.setToolTip(wrap_msg(_('Upload cover images from the calibre library when sending books to the device.')))
|
||||||
|
|
||||||
self.upload_grayscale_checkbox = create_checkbox(
|
self.upload_grayscale_checkbox = create_checkbox(
|
||||||
_('Upload black and white Covers'),
|
_('Upload black and white covers'),
|
||||||
_('Convert covers to black and white when uploading'),
|
_('Convert covers to black and white when uploading'),
|
||||||
device.get_pref('upload_grayscale')
|
device.get_pref('upload_grayscale')
|
||||||
)
|
)
|
||||||
|
@ -65,8 +65,8 @@ class Polish(QDialog): # {{{
|
|||||||
'<p>If the e-book file does not have'
|
'<p>If the e-book file does not have'
|
||||||
' an identifiable cover, a new cover is inserted.</p>'
|
' an identifiable cover, a new cover is inserted.</p>'
|
||||||
),
|
),
|
||||||
'jacket':_('<h3>Book Jacket</h3>%s')%HELP['jacket'],
|
'jacket':_('<h3>Book jacket</h3>%s')%HELP['jacket'],
|
||||||
'remove_jacket':_('<h3>Remove Book Jacket</h3>%s')%HELP['remove_jacket'],
|
'remove_jacket':_('<h3>Remove Book jacket</h3>%s')%HELP['remove_jacket'],
|
||||||
'remove_unused_css':_('<h3>Remove unused CSS rules</h3>%s')%HELP['remove_unused_css'],
|
'remove_unused_css':_('<h3>Remove unused CSS rules</h3>%s')%HELP['remove_unused_css'],
|
||||||
'compress_images': _('<h3>Losslessly compress images</h3>%s') % HELP['compress_images'],
|
'compress_images': _('<h3>Losslessly compress images</h3>%s') % HELP['compress_images'],
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ class Catalog(QDialog, Ui_Dialog):
|
|||||||
|
|
||||||
# Display the last-used title
|
# Display the last-used title
|
||||||
self.title.setText(dynamic.get('catalog_last_used_title',
|
self.title.setText(dynamic.get('catalog_last_used_title',
|
||||||
_('My Books')))
|
_('My books')))
|
||||||
|
|
||||||
self.fmts, self.widgets = [], []
|
self.fmts, self.widgets = [], []
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ def create_msg_label(self):
|
|||||||
f.um_label = la = QLabel(_(
|
f.um_label = la = QLabel(_(
|
||||||
"<p>You can also perform other kinds of advanced searches, for example checking"
|
"<p>You can also perform other kinds of advanced searches, for example checking"
|
||||||
' for books that have no covers, combining multiple search expression using Boolean'
|
' for books that have no covers, combining multiple search expression using Boolean'
|
||||||
' operators and so on. See the <a href=\"%s\">The search interface</a> for more information.'
|
' operators and so on. See <a href=\"%s\">The search interface</a> for more information.'
|
||||||
) % localize_user_manual_link('https://manual.calibre-ebook.com/gui.html#the-search-interface'))
|
) % localize_user_manual_link('https://manual.calibre-ebook.com/gui.html#the-search-interface'))
|
||||||
la.setMinimumSize(QSize(150, 0))
|
la.setMinimumSize(QSize(150, 0))
|
||||||
la.setWordWrap(True)
|
la.setWordWrap(True)
|
||||||
|
@ -211,7 +211,7 @@ class MainTab(QWidget): # {{{
|
|||||||
fl.addRow(options['port'].shortdoc + ':', sb)
|
fl.addRow(options['port'].shortdoc + ':', sb)
|
||||||
l.addSpacing(25)
|
l.addSpacing(25)
|
||||||
self.opt_auth = cb = QCheckBox(
|
self.opt_auth = cb = QCheckBox(
|
||||||
_('Require &username/password to access the content server')
|
_('Require &username and password to access the content server')
|
||||||
)
|
)
|
||||||
l.addWidget(cb)
|
l.addWidget(cb)
|
||||||
self.auth_desc = la = QLabel(self)
|
self.auth_desc = la = QLabel(self)
|
||||||
|
@ -163,7 +163,7 @@ class EditorSettings(BasicSettings):
|
|||||||
fc = FontFamilyChooser(self)
|
fc = FontFamilyChooser(self)
|
||||||
self('editor_font_family', widget=fc, getter=attrgetter('font_family'), setter=lambda x, val: setattr(x, 'font_family', val))
|
self('editor_font_family', widget=fc, getter=attrgetter('font_family'), setter=lambda x, val: setattr(x, 'font_family', val))
|
||||||
fc.family_changed.connect(self.emit_changed)
|
fc.family_changed.connect(self.emit_changed)
|
||||||
l.addRow(_('Editor font &family:'), fc)
|
l.addRow(_('Editor font family:'), fc)
|
||||||
|
|
||||||
fs = self('editor_font_size')
|
fs = self('editor_font_size')
|
||||||
fs.setMinimum(8), fs.setSuffix(' pt'), fs.setMaximum(50)
|
fs.setMinimum(8), fs.setSuffix(' pt'), fs.setMaximum(50)
|
||||||
@ -180,7 +180,7 @@ class EditorSettings(BasicSettings):
|
|||||||
|
|
||||||
tw = self('editor_tab_stop_width')
|
tw = self('editor_tab_stop_width')
|
||||||
tw.setMinimum(2), tw.setSuffix(_(' characters')), tw.setMaximum(20)
|
tw.setMinimum(2), tw.setSuffix(_(' characters')), tw.setMaximum(20)
|
||||||
l.addRow(_('Width of &tabs:'), tw)
|
l.addRow(_('W&idth of tabs:'), tw)
|
||||||
|
|
||||||
self.tb = b = QPushButton(_('Change &templates'))
|
self.tb = b = QPushButton(_('Change &templates'))
|
||||||
l.addRow(_('&Templates for new files:'), b)
|
l.addRow(_('&Templates for new files:'), b)
|
||||||
@ -199,7 +199,7 @@ class EditorSettings(BasicSettings):
|
|||||||
l.addRow(lw)
|
l.addRow(lw)
|
||||||
|
|
||||||
lw = self('auto_close_tags')
|
lw = self('auto_close_tags')
|
||||||
lw.setText(_('Auto &close tags when typing </'))
|
lw.setText(_('Auto close t&ags when typing </'))
|
||||||
lw.setToolTip('<p>' + prepare_string_for_xml(_(
|
lw.setToolTip('<p>' + prepare_string_for_xml(_(
|
||||||
'With this option, every time you type </ the current HTML closing tag is auto-completed')))
|
'With this option, every time you type </ the current HTML closing tag is auto-completed')))
|
||||||
l.addRow(lw)
|
l.addRow(lw)
|
||||||
@ -314,8 +314,8 @@ class MainWindowSettings(BasicSettings):
|
|||||||
'horizontal':{'top':_('Top'), 'bottom':_('Bottom')}[v]}
|
'horizontal':{'top':_('Top'), 'bottom':_('Bottom')}[v]}
|
||||||
name = 'dock_%s_%s' % (v, h)
|
name = 'dock_%s_%s' % (v, h)
|
||||||
w = self.choices_widget(name, choices, 'horizontal', 'horizontal')
|
w = self.choices_widget(name, choices, 'horizontal', 'horizontal')
|
||||||
cn = {('top', 'left'): _('The top-left corner'), ('top', 'right'):_('The top-right corner'),
|
cn = {('top', 'left'): _('The &top-left corner'), ('top', 'right'):_('The top-&right corner'),
|
||||||
('bottom', 'left'):_('The bottom-left corner'), ('bottom', 'right'):_('The bottom-right corner')}[(v, h)]
|
('bottom', 'left'):_('The &bottom-left corner'), ('bottom', 'right'):_('The bottom-ri&ght corner')}[(v, h)]
|
||||||
l.addRow(cn + ':', w)
|
l.addRow(cn + ':', w)
|
||||||
nd = self('restore_book_state')
|
nd = self('restore_book_state')
|
||||||
nd.setText(_('Restore &state of previously edited book when opening it again'))
|
nd.setText(_('Restore &state of previously edited book when opening it again'))
|
||||||
@ -354,7 +354,7 @@ class PreviewSettings(BasicSettings):
|
|||||||
l.addRow(_('Font family for &%s:') % text, w)
|
l.addRow(_('Font family for &%s:') % text, w)
|
||||||
|
|
||||||
w = self.choices_widget('preview_standard_font_family', families, 'serif', 'serif')
|
w = self.choices_widget('preview_standard_font_family', families, 'serif', 'serif')
|
||||||
l.addRow(_('&Style for standard text:'), w)
|
l.addRow(_('Style for standard &text:'), w)
|
||||||
|
|
||||||
w = self('preview_base_font_size')
|
w = self('preview_base_font_size')
|
||||||
w.setMinimum(8), w.setMaximum(100), w.setSuffix(' px')
|
w.setMinimum(8), w.setMaximum(100), w.setSuffix(' px')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user