String changes

This commit is contained in:
Kovid Goyal 2017-05-18 11:00:18 +05:30
parent 210a532e17
commit 4936c3de21
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
5 changed files with 7 additions and 6 deletions

View File

@ -345,7 +345,7 @@ remove all non-breaking-space entities, or may include false positive matches re
:guilabel:`Replace entity indents with CSS indents`
Some documents use a convention of defining text indents using non-breaking space entities. When this option is enabled calibre will
attempt to detect this sort of formatting and convert them to a 3% text indent using css.
attempt to detect this sort of formatting and convert them to a 3% text indent using CSS.
.. _search-replace:

View File

@ -380,7 +380,7 @@ OptionRecommendation(name='expand_css',
recommended_value=False, level=OptionRecommendation.LOW,
help=_(
'By default, calibre will use the shorthand form for various'
' css properties such as margin, padding, border, etc. This'
' CSS properties such as margin, padding, border, etc. This'
' option will cause it to use the full expanded form instead.'
' Note that CSS is always expanded when generating EPUB files'
' with the output profile set to one of the Nook profiles'

View File

@ -265,7 +265,7 @@
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Layout</string>
<string>&amp;Layout</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
@ -370,7 +370,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Extra CSS</string>
<string>E&amp;xtra CSS</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">

View File

@ -1203,7 +1203,7 @@ not multiple and the destination field is multiple</string>
<item row="8" column="0">
<widget class="QLabel" name="label_31">
<property name="text">
<string>Your test:</string>
<string>Your &amp;test:</string>
</property>
</widget>
</item>

View File

@ -40,7 +40,7 @@ def show_font_face_rule_for_font_file(file_data, added_name, parent=None):
QApplication.clipboard().setText(rule)
QMessageBox.information(parent, _('Font file added'), _(
'The font file <b>{}</b> has been added. The text for the CSS @font-face rule for this file has been copied'
' to the clipboard. You should paste it into whichever css file you want to add this font to.').format(added_name))
' to the clipboard. You should paste it into whichever CSS file you want to add this font to.').format(added_name))
class EmbeddingData(Dialog):
@ -345,6 +345,7 @@ class ManageFonts(Dialog):
def refresh(self):
self.model.build()
if __name__ == '__main__':
from calibre.gui2 import Application
app = Application([])