mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
String changes
This commit is contained in:
parent
cc073015f5
commit
5847f36df9
@ -107,7 +107,7 @@ class TweakEpubAction(InterfaceAction):
|
||||
fmts = [x.upper().strip() for x in fmts.split(',')]
|
||||
tweakable_fmts = set(fmts).intersection(SUPPORTED)
|
||||
if not tweakable_fmts:
|
||||
return error_dialog(self.gui, _('Cannot Edit book'),
|
||||
return error_dialog(self.gui, _('Cannot edit book'),
|
||||
_('The book must be in the %s formats to edit.'
|
||||
'\n\nFirst convert the book to one of these formats.') % (_(' or ').join(SUPPORTED)),
|
||||
show=True)
|
||||
|
@ -203,7 +203,7 @@ class ViewAction(InterfaceAction):
|
||||
def _view_check(self, num, max_=3):
|
||||
if num <= max_:
|
||||
return True
|
||||
return question_dialog(self.gui, _('Multiple Books Selected'),
|
||||
return question_dialog(self.gui, _('Multiple books selected'),
|
||||
_('You are attempting to open %d books. Opening too many '
|
||||
'books at once can be slow and have a negative effect on the '
|
||||
'responsiveness of your computer. Once started the process '
|
||||
|
@ -14,7 +14,7 @@ from PyQt5.Qt import QWidget, QListWidgetItem
|
||||
|
||||
class PluginWidget(QWidget, Ui_Form):
|
||||
|
||||
TITLE = _('BibTeX Options')
|
||||
TITLE = _('BibTeX options')
|
||||
HELP = _('Options specific to')+' BibTeX '+_('output')
|
||||
OPTION_FIELDS = [('bib_cit','{authors}{id}'),
|
||||
('bib_entry', 0), # mixed
|
||||
|
@ -13,7 +13,7 @@ from PyQt5.Qt import QWidget, QListWidgetItem, Qt, QVBoxLayout, QLabel, QListWid
|
||||
|
||||
class PluginWidget(QWidget):
|
||||
|
||||
TITLE = _('CSV/XML Options')
|
||||
TITLE = _('CSV/XML options')
|
||||
HELP = _('Options specific to')+' CSV/XML '+_('output')
|
||||
sync_enabled = False
|
||||
formats = set(['csv', 'xml'])
|
||||
@ -46,7 +46,7 @@ class PluginWidget(QWidget):
|
||||
if x == 'isbn':
|
||||
return 'ISBN'
|
||||
if x == 'library_name':
|
||||
return _('Library Name')
|
||||
return _('Library name')
|
||||
if x.endswith('_index'):
|
||||
return name(x[:-len('_index')]) + ' ' + _('Number')
|
||||
return fm[x].get('name') or x
|
||||
|
@ -448,7 +448,7 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Custom column containing additional content to be merged with Comments metadata in Descriptions section.</string>
|
||||
<string>Custom column containing additional content to be merged with comments metadata in the descriptions section.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -462,7 +462,7 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
||||
<item>
|
||||
<widget class="QRadioButton" name="merge_before">
|
||||
<property name="toolTip">
|
||||
<string>Merge additional content before Comments in Descriptions section.</string>
|
||||
<string>Merge additional content before comments in descriptions section.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Before</string>
|
||||
@ -475,7 +475,7 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
||||
<item>
|
||||
<widget class="QRadioButton" name="merge_after">
|
||||
<property name="toolTip">
|
||||
<string>Merge additional content after Comments in Descriptions section.</string>
|
||||
<string>Merge additional content after comments in descriptions section.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&After</string>
|
||||
@ -495,10 +495,10 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
||||
<item>
|
||||
<widget class="QCheckBox" name="include_hr">
|
||||
<property name="toolTip">
|
||||
<string>Separate Comments metadata and additional content with a horizontal rule in Descriptions section.</string>
|
||||
<string>Separate comments metadata and additional content with a horizontal rule in the descriptions section.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Include &Separator</string>
|
||||
<string>Include &separator</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -519,7 +519,7 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Merge with Comments:</string>
|
||||
<string>&Merge with comments:</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
|
@ -117,7 +117,7 @@ class EditorWidget(QWebView): # {{{
|
||||
('Indent', 'indent', 'format-indent-more',
|
||||
_('Increase indentation'), False),
|
||||
('Outdent', 'outdent', 'format-indent-less',
|
||||
_('Decrease Indentation'), False),
|
||||
_('Decrease indentation'), False),
|
||||
('SelectAll', 'select_all', 'edit-select-all',
|
||||
_('Select all'), False),
|
||||
]:
|
||||
|
@ -78,7 +78,7 @@ class BulkConfig(Config):
|
||||
return cls(self.stack, self.plumber.get_option_by_name,
|
||||
self.plumber.get_option_help, self.db)
|
||||
|
||||
self.setWindowTitle(_('Bulk Convert'))
|
||||
self.setWindowTitle(_('Bulk convert'))
|
||||
lf = widget_factory(LookAndFeelWidget)
|
||||
hw = widget_factory(HeuristicsWidget)
|
||||
sr = widget_factory(SearchAndReplaceWidget)
|
||||
@ -142,5 +142,3 @@ class BulkConfig(Config):
|
||||
gprefs['convert_bulk_dialog_geom'] = \
|
||||
bytearray(self.saveGeometry())
|
||||
return QDialog.done(self, r)
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@ from calibre.gui2.convert import Widget
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('Comic Input')
|
||||
TITLE = _('Comic input')
|
||||
HELP = _('Options specific to')+' comic '+_('input')
|
||||
COMMIT_NAME = 'comic_input'
|
||||
ICON = I('mimetypes/png.png')
|
||||
@ -32,5 +32,3 @@ class PluginWidget(Widget, Ui_Form):
|
||||
self.initialize_options(get_option, get_help, db, book_id)
|
||||
self.opt_no_process.toggle()
|
||||
self.opt_no_process.toggle()
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ from calibre.gui2.convert import Widget
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('DOCX Input')
|
||||
TITLE = _('DOCX input')
|
||||
HELP = _('Options specific to')+' DOCX '+_('input')
|
||||
COMMIT_NAME = 'docx_input'
|
||||
ICON = I('mimetypes/docx.png')
|
||||
@ -21,4 +21,3 @@ class PluginWidget(Widget, Ui_Form):
|
||||
Widget.__init__(self, parent,
|
||||
['docx_no_cover', 'docx_no_pagebreaks_between_notes', 'docx_inline_subsup'])
|
||||
self.initialize_options(get_option, get_help, db, book_id)
|
||||
|
||||
|
@ -14,7 +14,7 @@ orientation_model = None
|
||||
|
||||
class PluginWidget(Widget):
|
||||
|
||||
TITLE = _('DOCX Output')
|
||||
TITLE = _('DOCX output')
|
||||
HELP = _('Options specific to')+' DOCX '+_('output')
|
||||
COMMIT_NAME = 'docx_output'
|
||||
ICON = I('mimetypes/docx.png')
|
||||
|
@ -13,7 +13,7 @@ from calibre.gui2.convert import Widget
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('EPUB Output')
|
||||
TITLE = _('EPUB output')
|
||||
HELP = _('Options specific to')+' EPUB '+_('output')
|
||||
COMMIT_NAME = 'epub_output'
|
||||
ICON = I('mimetypes/epub.png')
|
||||
@ -29,4 +29,3 @@ class PluginWidget(Widget, Ui_Form):
|
||||
self.opt_no_svg_cover.toggle()
|
||||
self.db, self.book_id = db, book_id
|
||||
self.initialize_options(get_option, get_help, db, book_id)
|
||||
|
||||
|
@ -12,7 +12,7 @@ format_model = None
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('FB2 Output')
|
||||
TITLE = _('FB2 output')
|
||||
HELP = _('Options specific to')+' FB2 '+_('output')
|
||||
COMMIT_NAME = 'fb2_output'
|
||||
ICON = I('mimetypes/fb2.png')
|
||||
|
@ -269,8 +269,8 @@ class ImageDropMixin(object): # {{{
|
||||
|
||||
def build_context_menu(self):
|
||||
cm = QMenu(self)
|
||||
paste = cm.addAction(_('Paste Cover'))
|
||||
copy = cm.addAction(_('Copy Cover'))
|
||||
paste = cm.addAction(_('Paste cover'))
|
||||
copy = cm.addAction(_('Copy cover'))
|
||||
if not QApplication.instance().clipboard().mimeData().hasImage():
|
||||
paste.setEnabled(False)
|
||||
copy.triggered.connect(self.copy_to_clipboard)
|
||||
|
Loading…
x
Reference in New Issue
Block a user