From 26ee920fd836b5c0ef44aa52cae03caf44eb1a40 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 12 Mar 2016 08:00:16 +0530 Subject: [PATCH] ... --- manual/edit.rst | 2 +- src/calibre/gui2/css_transform_rules.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/edit.rst b/manual/edit.rst index 661d4943e7..f3fd4860c8 100644 --- a/manual/edit.rst +++ b/manual/edit.rst @@ -378,7 +378,7 @@ when single quotes at the start of contractions are involved. Accessed via Transforming CSS properties ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Create rules to transform the stying of the book. For example, create a rule +Create rules to transform the styling of the book. For example, create a rule to convert all red text to green or to double the font size of all text in the book or make text of a certain font family italic, etc. diff --git a/src/calibre/gui2/css_transform_rules.py b/src/calibre/gui2/css_transform_rules.py index 3c1c7347db..810604830b 100644 --- a/src/calibre/gui2/css_transform_rules.py +++ b/src/calibre/gui2/css_transform_rules.py @@ -93,7 +93,7 @@ class RuleEdit(QWidget): # {{{ if 'matches' in mt: tt = _('A regular expression') elif mt in '< > <= >='.split(): - tt = _('Either a CSS length, such as 10pt or a unit less number. If a unitless' + tt = _('Either a CSS length, such as 10pt or a unit less number. If a unit less' ' number is used it will be compared with the CSS value using whatever unit' ' the value has. Note that comparison automatically converts units, except' ' for relative units like percentage or em, for which comparison fails'