string changes

This commit is contained in:
Kovid Goyal 2021-07-19 20:29:49 +05:30
parent ddd56f5c47
commit b3a3859dd8
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
7 changed files with 10 additions and 10 deletions

View file

@ -132,7 +132,7 @@ def rationalize_cover3(self, opf, log):
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 @@ def rationalize_cover2(self, opf, log):
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):

View file

@ -163,7 +163,7 @@ def insert_cover(self):
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

View file

@ -288,7 +288,7 @@ def rename_category(self):
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

View file

@ -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>

View file

@ -506,7 +506,7 @@ def __init__(self, parent):
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

View file

@ -803,7 +803,7 @@ def sizeHint(self):
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'),

View file

@ -134,7 +134,7 @@ def option_parser():
'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