diff --git a/manual/sub_groups.rst b/manual/sub_groups.rst index 29859d0532..d87a5e08e6 100644 --- a/manual/sub_groups.rst +++ b/manual/sub_groups.rst @@ -102,7 +102,7 @@ After creating the saved search, you can use it as a restriction. .. image:: images/sg_restrict2.jpg :align: center -Useful Template Functions +Useful template functions ------------------------- You might want to use the genre information in a template, such as with save to disk or send to device. The question might then be "How do I get the outermost genre name or names?" A calibre template function, subitems, is provided to make doing this easier. diff --git a/manual/template_lang.rst b/manual/template_lang.rst index 137d2204a0..cddaba2ab5 100644 --- a/manual/template_lang.rst +++ b/manual/template_lang.rst @@ -438,10 +438,10 @@ The following program produces the same results as the original recipe, using on It would be possible to do the above with no custom columns by putting the program into the template box of the plugboard. However, to do so, all comments must be removed because the plugboard text box does not support multi-line editing. It is debatable whether the gain of not having the custom column is worth the vast increase in difficulty caused by the program being one giant line. -User-defined Template Functions +User-defined template functions ------------------------------- -You can add your own functions to the template processor. Such functions are written in python, and can be used in any of the three template programming modes. The functions are added by going to Preferences -> Advanced -> Template Functions. Instructions are shown in that dialog. +You can add your own functions to the template processor. Such functions are written in python, and can be used in any of the three template programming modes. The functions are added by going to Preferences -> Advanced -> Template functions. Instructions are shown in that dialog. Special notes for save/send templates ------------------------------------- diff --git a/src/calibre/gui2/actions/sort.py b/src/calibre/gui2/actions/sort.py index cc766486dd..e172ea1966 100644 --- a/src/calibre/gui2/actions/sort.py +++ b/src/calibre/gui2/actions/sort.py @@ -28,7 +28,7 @@ class SortAction(QAction): class SortByAction(InterfaceAction): name = 'Sort By' - action_spec = (_('Sort By'), 'arrow-up.png', _('Sort the list of books'), None) + action_spec = (_('Sort by'), 'arrow-up.png', _('Sort the list of books'), None) action_type = 'current' popup_type = QToolButton.InstantPopup action_add_menu = True diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index ccb3440355..b1ec4b032f 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -115,7 +115,7 @@ class EditorWidget(QWebView): # {{{ ('Paste', 'paste', 'edit-paste', _('Paste'), False), ('Cut', 'cut', 'edit-cut', _('Cut'), False), ('Indent', 'indent', 'format-indent-more', - _('Increase Indentation'), False), + _('Increase indentation'), False), ('Outdent', 'outdent', 'format-indent-less', _('Decrease Indentation'), False), ('SelectAll', 'select_all', 'edit-select-all', @@ -665,7 +665,7 @@ class Editor(QWidget): # {{{ l.addWidget(self.editor) self._layout.addWidget(self.tabs) self.tabs.addTab(self.wyswyg, _('N&ormal view')) - self.tabs.addTab(self.code_edit, _('&HTML Source')) + self.tabs.addTab(self.code_edit, _('&HTML source')) self.tabs.currentChanged[int].connect(self.change_tab) self.highlighter = Highlighter(self.code_edit.document()) self.layout().setContentsMargins(0, 0, 0, 0) diff --git a/src/calibre/gui2/convert/metadata.ui b/src/calibre/gui2/convert/metadata.ui index 0b7aacadb8..7e0f83aafe 100644 --- a/src/calibre/gui2/convert/metadata.ui +++ b/src/calibre/gui2/convert/metadata.ui @@ -17,7 +17,7 @@ - Book Cover + Book cover diff --git a/src/calibre/gui2/preferences/look_feel.py b/src/calibre/gui2/preferences/look_feel.py index 16f799c909..ef0ae3f335 100644 --- a/src/calibre/gui2/preferences/look_feel.py +++ b/src/calibre/gui2/preferences/look_feel.py @@ -551,7 +551,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): def change_cover_grid_color(self): col = QColorDialog.getColor(self.cg_bg_widget.bcol, - self.gui, _('Choose background color for cover grid')) + self.gui, _('Choose background color for the cover grid')) if col.isValid(): col = tuple(col.getRgb())[:3] self.set_cg_color(col) diff --git a/src/calibre/gui2/preferences/look_feel.ui b/src/calibre/gui2/preferences/look_feel.ui index e5157deae4..085d4a87d4 100644 --- a/src/calibre/gui2/preferences/look_feel.ui +++ b/src/calibre/gui2/preferences/look_feel.ui @@ -368,7 +368,7 @@ - Cover &Width: + Cover &width: opt_cover_grid_width @@ -409,7 +409,7 @@ A value of zero means calculate automatically. - Cover &Height: + Cover &height: opt_cover_grid_height diff --git a/src/calibre/gui2/preferences/sending.ui b/src/calibre/gui2/preferences/sending.ui index 7e6c3c011d..4a4ba49afd 100644 --- a/src/calibre/gui2/preferences/sending.ui +++ b/src/calibre/gui2/preferences/sending.ui @@ -71,9 +71,9 @@ - <li><b>Manual management</b>: Calibre updates the metadata and adds collections only when a book is sent. With this option, calibre will never remove a collection.</li> -<li><b>Only on send</b>: Calibre updates metadata and adds/removes collections for a book only when it is sent to the device. </li> -<li><b>Automatic management</b>: Calibre automatically keeps metadata on the device in sync with the calibre library, on every connect</li></ul> + <li><b>Manual management</b>: calibre updates the metadata and adds collections only when a book is sent. With this option, calibre will never remove a collection.</li> +<li><b>Only on send</b>: calibre updates metadata and adds/removes collections for a book only when it is sent to the device. </li> +<li><b>Automatic management</b>: calibre automatically keeps metadata on the device in sync with the calibre library, on every connect</li></ul> true diff --git a/src/calibre/gui2/preferences/template_functions.ui b/src/calibre/gui2/preferences/template_functions.ui index 0e56f18025..f0a174912d 100644 --- a/src/calibre/gui2/preferences/template_functions.ui +++ b/src/calibre/gui2/preferences/template_functions.ui @@ -123,7 +123,7 @@ - &Program Code: (be sure to follow python indenting rules) + &Program code: (be sure to follow python indenting rules) program diff --git a/src/calibre/gui2/tweak_book/ui.py b/src/calibre/gui2/tweak_book/ui.py index 768e8b1802..0cbc7c1d79 100644 --- a/src/calibre/gui2/tweak_book/ui.py +++ b/src/calibre/gui2/tweak_book/ui.py @@ -309,7 +309,7 @@ class Main(MainWindow): return self.central.editor_tabs def create_actions(self): - group = _('Global Actions') + group = _('Global actions') def reg(icon, text, target, sid, keys, description, toolbar_allowed=False): if not isinstance(icon, QIcon): @@ -410,7 +410,7 @@ class Main(MainWindow): register_text_editor_actions(ereg, self.palette()) # Polish actions - group = _('Polish Book') + group = _('Polish book') self.action_subset_fonts = treg( 'subset-fonts.png', _('&Subset embedded fonts'), partial( self.boss.polish, 'subset', _('Subset fonts')), 'subset-fonts', (), _('Subset embedded fonts')) @@ -465,7 +465,7 @@ class Main(MainWindow): self.boss.show_text_search, 'text-search', (), _('Show the text search panel')) # Check Book actions - group = _('Check Book') + group = _('Check book') self.action_check_book = treg('debug.png', _('&Check book'), self.boss.check_requested, 'check-book', ('F7'), _('Check book for errors')) self.action_spell_check_book = treg('spell-check.png', _('Check &spelling'), self.boss.spell_check_requested, 'spell-check-book', ('Alt+F7'), _( 'Check book for spelling errors'))