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
7ec8fa2a4b
commit
757d859904
@ -48,7 +48,7 @@ class TXTInput(InputFormatPlugin):
|
|||||||
'Markdown or Textile formatting to ensure no formatting is lost.')),
|
'Markdown or Textile formatting to ensure no formatting is lost.')),
|
||||||
OptionRecommendation(name='formatting_type', recommended_value='auto',
|
OptionRecommendation(name='formatting_type', recommended_value='auto',
|
||||||
choices=['auto', 'plain', 'heuristic', 'textile', 'markdown'],
|
choices=['auto', 'plain', 'heuristic', 'textile', 'markdown'],
|
||||||
help=_('Formatting used within the document.'
|
help=_('Formatting used within the document.\n'
|
||||||
'* auto: Automatically decide which formatting processor to use.\n'
|
'* auto: Automatically decide which formatting processor to use.\n'
|
||||||
'* plain: Do not process the document formatting. Everything is a '
|
'* plain: Do not process the document formatting. Everything is a '
|
||||||
'paragraph and no styling is applied.\n'
|
'paragraph and no styling is applied.\n'
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Saved Search Editor</string>
|
<string>Saved search editor</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset>
|
<iconset>
|
||||||
@ -48,7 +48,7 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Saved Search: </string>
|
<string>Saved search: </string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
@ -201,7 +201,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_2">
|
<widget class="QWidget" name="tab_2">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Titl&e/Author/Series ...</string>
|
<string>Titl&e/Author/Series...</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="label_23">
|
<widget class="QLabel" name="label_23">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Calibre IP addresses:</string>
|
<string>calibre IP addresses:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -799,17 +799,17 @@ class RulesModel(QAbstractListModel): # {{{
|
|||||||
if not isinstance(rule, Rule):
|
if not isinstance(rule, Rule):
|
||||||
if kind == 'color':
|
if kind == 'color':
|
||||||
return _('''
|
return _('''
|
||||||
<p>Advanced Rule for column <b>%(col)s</b>:
|
<p>Advanced rule for column <b>%(col)s</b>:
|
||||||
<pre>%(rule)s</pre>
|
<pre>%(rule)s</pre>
|
||||||
''')%dict(col=col, rule=prepare_string_for_xml(rule))
|
''')%dict(col=col, rule=prepare_string_for_xml(rule))
|
||||||
elif self.rule_kind == 'emblem':
|
elif self.rule_kind == 'emblem':
|
||||||
return _('''
|
return _('''
|
||||||
<p>Advanced Rule:
|
<p>Advanced rule:
|
||||||
<pre>%(rule)s</pre>
|
<pre>%(rule)s</pre>
|
||||||
''')%dict(rule=prepare_string_for_xml(rule))
|
''')%dict(rule=prepare_string_for_xml(rule))
|
||||||
else:
|
else:
|
||||||
return _('''
|
return _('''
|
||||||
<p>Advanced Rule: set <b>%(typ)s</b> for column <b>%(col)s</b>:
|
<p>Advanced rule: set <b>%(typ)s</b> for column <b>%(col)s</b>:
|
||||||
<pre>%(rule)s</pre>
|
<pre>%(rule)s</pre>
|
||||||
''')%dict(col=col,
|
''')%dict(col=col,
|
||||||
typ=trans_kind,
|
typ=trans_kind,
|
||||||
@ -887,10 +887,10 @@ class EditRules(QWidget): # {{{
|
|||||||
l1.setWordWrap(True)
|
l1.setWordWrap(True)
|
||||||
l.addWidget(l1, l.rowCount(), 0, 1, 2)
|
l.addWidget(l1, l.rowCount(), 0, 1, 2)
|
||||||
|
|
||||||
self.add_button = QPushButton(QIcon(I('plus.png')), _('Add Rule'),
|
self.add_button = QPushButton(QIcon(I('plus.png')), _('Add rule'),
|
||||||
self)
|
self)
|
||||||
self.remove_button = QPushButton(QIcon(I('minus.png')),
|
self.remove_button = QPushButton(QIcon(I('minus.png')),
|
||||||
_('Remove Rule(s)'), self)
|
_('Remove rule(s)'), self)
|
||||||
self.add_button.clicked.connect(self.add_rule)
|
self.add_button.clicked.connect(self.add_rule)
|
||||||
self.remove_button.clicked.connect(self.remove_rule)
|
self.remove_button.clicked.connect(self.remove_rule)
|
||||||
l.addWidget(self.add_button, l.rowCount(), 0)
|
l.addWidget(self.add_button, l.rowCount(), 0)
|
||||||
@ -920,7 +920,7 @@ class EditRules(QWidget): # {{{
|
|||||||
l.setRowStretch(l.rowCount() - 1, 10)
|
l.setRowStretch(l.rowCount() - 1, 10)
|
||||||
|
|
||||||
self.add_advanced_button = b = QPushButton(QIcon(I('plus.png')),
|
self.add_advanced_button = b = QPushButton(QIcon(I('plus.png')),
|
||||||
_('Add Advanced Rule'), self)
|
_('Add advanced rule'), self)
|
||||||
b.clicked.connect(self.add_advanced)
|
b.clicked.connect(self.add_advanced)
|
||||||
self.hb = hb = QHBoxLayout()
|
self.hb = hb = QHBoxLayout()
|
||||||
l.addLayout(hb, l.rowCount(), 0, 1, 2)
|
l.addLayout(hb, l.rowCount(), 0, 1, 2)
|
||||||
@ -945,20 +945,20 @@ class EditRules(QWidget): # {{{
|
|||||||
text = _(
|
text = _(
|
||||||
'You can control the color of columns in the'
|
'You can control the color of columns in the'
|
||||||
' book list by creating "rules" that tell calibre'
|
' book list by creating "rules" that tell calibre'
|
||||||
' what color to use. Click the Add Rule button below'
|
' what color to use. Click the "Add rule" button below'
|
||||||
' to get started.<p>You can <b>change an existing rule</b> by'
|
' to get started.<p>You can <b>change an existing rule</b> by'
|
||||||
' double clicking it.')
|
' double clicking it.')
|
||||||
elif pref_name == 'column_icon_rules':
|
elif pref_name == 'column_icon_rules':
|
||||||
text = _(
|
text = _(
|
||||||
'You can add icons to columns in the'
|
'You can add icons to columns in the'
|
||||||
' book list by creating "rules" that tell calibre'
|
' book list by creating "rules" that tell calibre'
|
||||||
' what icon to use. Click the Add Rule button below'
|
' what icon to use. Click the "Add rule" button below'
|
||||||
' to get started.<p>You can <b>change an existing rule</b> by'
|
' to get started.<p>You can <b>change an existing rule</b> by'
|
||||||
' double clicking it.')
|
' double clicking it.')
|
||||||
elif pref_name == 'cover_grid_icon_rules':
|
elif pref_name == 'cover_grid_icon_rules':
|
||||||
text = _('You can add emblems (small icons) that are displayed on the side of covers'
|
text = _('You can add emblems (small icons) that are displayed on the side of covers'
|
||||||
' in the cover grid by creating "rules" that tell calibre'
|
' in the cover grid by creating "rules" that tell calibre'
|
||||||
' what image to use. Click the Add Rule button below'
|
' what image to use. Click the "Add rule" button below'
|
||||||
' to get started.<p>You can <b>change an existing rule</b> by'
|
' to get started.<p>You can <b>change an existing rule</b> by'
|
||||||
' double clicking it.')
|
' double clicking it.')
|
||||||
self.enabled.setVisible(True)
|
self.enabled.setVisible(True)
|
||||||
|
@ -406,7 +406,7 @@ class CreateCustomColumn(QDialog):
|
|||||||
"<p>Date format. Use 1-4 \'d\'s for day, 1-4 \'M\'s for month, and 2 or 4 \'y\'s for year.</p>\n"
|
"<p>Date format. Use 1-4 \'d\'s for day, 1-4 \'M\'s for month, and 2 or 4 \'y\'s for year.</p>\n"
|
||||||
"<p>For example:\n"
|
"<p>For example:\n"
|
||||||
"<ul>\n"
|
"<ul>\n"
|
||||||
"<li> ddd, d MMM yyyy gives Mon, 5 Jan 2010<li>\n"
|
"<li>ddd, d MMM yyyy gives Mon, 5 Jan 2010<li>\n"
|
||||||
"<li>dd MMMM yy gives 05 January 10</li>\n"
|
"<li>dd MMMM yy gives 05 January 10</li>\n"
|
||||||
"</ul> "))
|
"</ul> "))
|
||||||
else:
|
else:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Advanced Search</string>
|
<string>Advanced search</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset>
|
<iconset>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>A&dvanced Search</string>
|
<string>A&dvanced search</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout_3">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user