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'