mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
String changes
This commit is contained in:
parent
84f1b98ab8
commit
a9e1c19210
@ -122,8 +122,8 @@ class DriverBase(DeviceConfig, DevicePlugin):
|
||||
|
||||
EXTRA_CUSTOMIZATION_MESSAGE = [
|
||||
_('Use Series as Category in iTunes/iBooks') +
|
||||
':::' + _('Enable to use the series name as the iTunes Genre, '
|
||||
'iBooks Category'),
|
||||
':::' + _('Enable to use the series name as the iTunes genre, '
|
||||
'iBooks category'),
|
||||
_('Cache covers from iTunes/iBooks') + ':::' + _(
|
||||
'Enable to cache and display covers from iTunes/iBooks'),
|
||||
_(u'"Copy files to iTunes Media folder %s" is enabled in iTunes Preferences|Advanced') % u'\u2026' + ':::' + _(
|
||||
|
@ -696,7 +696,7 @@ class DevicePlugin(Plugin):
|
||||
name is ignored in cases where the device uses a template to generate
|
||||
the file name, which most do. The second value in the returned tuple
|
||||
indicated whether the format is future-dated. Return True if it is,
|
||||
otherwise return False. Calibre will display a dialog to the user
|
||||
otherwise return False. calibre will display a dialog to the user
|
||||
listing all future dated books.
|
||||
|
||||
Extremely important: this method is called on the GUI thread. It must
|
||||
|
@ -130,7 +130,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="generate_genres">
|
||||
<property name="toolTip">
|
||||
<string>List of books, sorted by Genre</string>
|
||||
<string>List of books, sorted by genre</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Genres</string>
|
||||
@ -140,7 +140,7 @@
|
||||
<item>
|
||||
<widget class="QComboBox" name="genre_source_field">
|
||||
<property name="toolTip">
|
||||
<string>Field containing Genres</string>
|
||||
<string>Field containing genres</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -160,7 +160,7 @@
|
||||
<string>List of books, sorted by date added to calibre</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Recently Added</string>
|
||||
<string>&Recently added</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -276,7 +276,7 @@ class DisplayPluginModel(QAbstractTableModel):
|
||||
def __init__(self, display_plugins):
|
||||
QAbstractTableModel.__init__(self)
|
||||
self.display_plugins = display_plugins
|
||||
self.headers = map(unicode, [_('Plugin Name'), _('Donate'), _('Status'), _('Installed'),
|
||||
self.headers = map(unicode, [_('Plugin name'), _('Donate'), _('Status'), _('Installed'),
|
||||
_('Available'), _('Released'), _('calibre'), _('Author')])
|
||||
|
||||
def rowCount(self, *args):
|
||||
@ -467,7 +467,7 @@ class PluginUpdaterDialog(SizePersistedDialog):
|
||||
layout = QVBoxLayout(self)
|
||||
self.setLayout(layout)
|
||||
title_layout = ImageTitleLayout(self, 'plugins/plugin_updater.png',
|
||||
_('User Plugins'))
|
||||
_('User plugins'))
|
||||
layout.addLayout(title_layout)
|
||||
|
||||
header_layout = QHBoxLayout()
|
||||
|
@ -40,12 +40,12 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
template evaluation.</li>
|
||||
<li><b>kwargs</b>: a dictionary of metadata. Field values are in this
|
||||
dictionary.
|
||||
<li><b>mi</b>: a Metadata instance. Used to get field information.
|
||||
<li><b>mi</b>: a <i>Metadata</i> instance. Used to get field information.
|
||||
This parameter can be None in some cases, such as when evaluating
|
||||
non-book templates.</li>
|
||||
<li><b>locals</b>: the local variables assigned to by the current
|
||||
template program.</li>
|
||||
<li><b>your parameters</b>: You must supply one or more formal
|
||||
<li><b>your parameters</b>: you must supply one or more formal
|
||||
parameters. The number must match the arg count box, unless arg count is
|
||||
-1 (variable number or arguments), in which case the last argument must
|
||||
be *args. At least one argument is required, and is usually the value of
|
||||
|
@ -51,7 +51,7 @@
|
||||
<string/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Arg &count:</string>
|
||||
<string>Argument &count:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>argument_count</cstring>
|
||||
|
@ -497,7 +497,7 @@ class Main(MainWindow):
|
||||
self.action_multiple_split = treg(
|
||||
'document-split.png', _('&Split at multiple locations'), self.boss.multisplit, 'multisplit', (), _(
|
||||
'Split HTML file at multiple locations'))
|
||||
self.action_compare_book = treg('diff.png', _('&Compare to another book'), self.boss.compare_book, 'compare-book', (), _(
|
||||
self.action_compare_book = treg('diff.png', _('Compare to &another book'), self.boss.compare_book, 'compare-book', (), _(
|
||||
'Compare to another book'))
|
||||
self.action_manage_snippets = treg(
|
||||
'snippets.png', _('Manage &Snippets'), self.boss.manage_snippets, 'manage-snippets', (), _(
|
||||
|
@ -126,7 +126,7 @@ class EPUB_MOBI(CatalogPlugin):
|
||||
default=_('Tags'),
|
||||
dest='genre_source_field',
|
||||
action=None,
|
||||
help=_("Source field for Genres section.\n"
|
||||
help=_("Source field for 'Genres' section.\n"
|
||||
"Default: '%default'\n"
|
||||
"Applies to: AZW3, EPUB, MOBI output formats")),
|
||||
Option('--header-note-source-field',
|
||||
|
@ -3887,7 +3887,7 @@ class CatalogBuilder(object):
|
||||
ncx_soup (file): updated
|
||||
"""
|
||||
|
||||
self.update_progress_full_step(_("NCX for Genres"))
|
||||
self.update_progress_full_step(_("NCX for genres"))
|
||||
|
||||
if not len(self.genres):
|
||||
self.opts.log.warn(" No genres found\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user