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
ddd56f5c47
commit
b3a3859dd8
@ -132,7 +132,7 @@ class EPUBInput(InputFormatPlugin):
|
||||
if titlepage_href is None:
|
||||
titlepage_href, titlepage_id = guide_titlepage_href, guide_titlepage_id
|
||||
if titlepage_href is not None:
|
||||
self.set_guide_type(opf, 'titlepage', titlepage_href, 'Title Page')
|
||||
self.set_guide_type(opf, 'titlepage', titlepage_href, 'Title page')
|
||||
spine = list(opf.iterspine())
|
||||
if len(spine) > 1:
|
||||
for item in spine:
|
||||
@ -227,7 +227,7 @@ class EPUBInput(InputFormatPlugin):
|
||||
f.write(renderer)
|
||||
|
||||
# Set the titlepage guide entry
|
||||
self.set_guide_type(opf, 'titlepage', guide_cover, 'Title Page')
|
||||
self.set_guide_type(opf, 'titlepage', guide_cover, 'Title page')
|
||||
return removed
|
||||
|
||||
def find_opf(self):
|
||||
|
@ -163,7 +163,7 @@ class CoverManager(object):
|
||||
if item is not None:
|
||||
self.oeb.spine.insert(0, item, True)
|
||||
if 'cover' not in self.oeb.guide.refs:
|
||||
self.oeb.guide.add('cover', 'Title Page', 'a')
|
||||
self.oeb.guide.add('cover', 'Title page', 'a')
|
||||
self.oeb.guide.refs['cover'].href = item.href
|
||||
if 'titlepage' in self.oeb.guide.refs:
|
||||
self.oeb.guide.refs['titlepage'].href = item.href
|
||||
|
@ -288,7 +288,7 @@ class TagCategories(QDialog, Ui_TagCategories):
|
||||
|
||||
def del_category(self):
|
||||
if self.current_cat_name is not None:
|
||||
if not confirm('<p>'+_('The current user category will be '
|
||||
if not confirm('<p>'+_('The current User category will be '
|
||||
'<b>permanently deleted</b>. Are you sure?') +
|
||||
'</p>', 'tag_category_delete', self):
|
||||
return
|
||||
|
@ -121,7 +121,7 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QToolButton" name="delete_category_button">
|
||||
<property name="toolTip">
|
||||
<string>Delete the current user category</string>
|
||||
<string>Delete the current User category</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
@ -225,7 +225,7 @@
|
||||
<item row="3" column="1">
|
||||
<widget class="QToolButton" name="apply_button">
|
||||
<property name="toolTip">
|
||||
<string>Apply tags to current tag category</string>
|
||||
<string>Apply items to current category</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
@ -259,7 +259,7 @@
|
||||
<item row="3" column="3">
|
||||
<widget class="QToolButton" name="unapply_button">
|
||||
<property name="toolTip">
|
||||
<string>Unapply (remove) selected tags from current tag category</string>
|
||||
<string>Unapply (remove) selected items from current category</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
|
@ -506,7 +506,7 @@ class Restrictions(QWidget):
|
||||
v.addLayout(h)
|
||||
self.rla = QLabel(_('Restrict to') + ': ')
|
||||
h.addWidget(self.rla)
|
||||
la = QLabel(_('Types:'))
|
||||
la = QLabel(_('Type:'))
|
||||
h.addWidget(la)
|
||||
self.types_box = tb = QComboBox(self)
|
||||
tb.la = la
|
||||
|
@ -803,7 +803,7 @@ class InsertSemantics(Dialog):
|
||||
def create_known_type_map(self):
|
||||
_ = lambda x: x
|
||||
self.known_type_map = {
|
||||
'title-page': _('Title Page'),
|
||||
'title-page': _('Title page'),
|
||||
'toc': _('Table of Contents'),
|
||||
'index': _('Index'),
|
||||
'glossary': _('Glossary'),
|
||||
|
@ -134,7 +134,7 @@ View an e-book.
|
||||
'If you want to match a substring, use the form toc-href-contains:something. '
|
||||
'The form ref:something will use Reference mode references.'))
|
||||
a('--continue', default=False, action='store_true', dest='continue_reading',
|
||||
help=_('Continue reading at the previously opened book'))
|
||||
help=_('Continue reading the previously opened book'))
|
||||
|
||||
setup_gui_option_parser(parser)
|
||||
return parser
|
||||
|
Loading…
x
Reference in New Issue
Block a user