From 53e42361d56d581db5583641b339877056b2548b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 May 2021 07:44:02 +0530 Subject: [PATCH] string changes --- manual/catalogs.rst | 2 +- manual/edit.rst | 6 +++--- src/calibre/gui2/dialogs/choose_library.py | 2 +- src/calibre/gui2/lrf_renderer/config.ui | 2 +- src/calibre/gui2/tweak_book/manage_fonts.py | 2 +- src/calibre/gui2/ui.py | 2 +- src/pyj/read_book/shortcuts.pyj | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/manual/catalogs.rst b/manual/catalogs.rst index 7a636b79d4..8e6519b94c 100644 --- a/manual/catalogs.rst +++ b/manual/catalogs.rst @@ -28,7 +28,7 @@ To begin catalog generation, select the menu item :guilabel:`Convert books > Cre In :guilabel:`Catalog options`, select **AZW3, EPUB or MOBI** as the Catalog format. In the :guilabel:`Catalog title` field, provide a name that will be used for the generated catalog. If a catalog of the same name and format already exists, it will be replaced with the newly-generated catalog. .. image:: images/catalog_send_to_device.png - :alt: Catalog send to device + :alt: Catalog: send to device automatically option :align: center Enabling :guilabel:`Send catalog to device automatically` will download the generated catalog to a connected device upon completion. diff --git a/manual/edit.rst b/manual/edit.rst index 547aa5c195..07ef9c9b65 100644 --- a/manual/edit.rst +++ b/manual/edit.rst @@ -529,7 +529,7 @@ The Live preview panel ------------------------ .. image:: images/live-preview.png - :alt: The Live preview Panel + :alt: The Live preview panel :class: float-left-img The :guilabel:`File preview` gives you an overview of the various files inside @@ -590,7 +590,7 @@ The Live CSS panel --------------------- .. image:: images/live_css.png - :alt: The Live CSS Panel + :alt: The Live CSS panel :class: float-left-img @@ -634,7 +634,7 @@ Checking the spelling of words in the book You can run a spelling checker via :guilabel:`Tools->Check spelling`. .. image:: images/edit-book-spell.png - :alt: The Check Spelling tool + :alt: The Check spelling tool :align: center :class: fit-img diff --git a/src/calibre/gui2/dialogs/choose_library.py b/src/calibre/gui2/dialogs/choose_library.py index 20bc253323..1976496eb7 100644 --- a/src/calibre/gui2/dialogs/choose_library.py +++ b/src/calibre/gui2/dialogs/choose_library.py @@ -115,7 +115,7 @@ class ChooseLibrary(QDialog, Ui_Dialog): if not empty: error_dialog(self, _('Not empty'), _('The folder %s is not empty. Please choose an empty' - ' folder')%loc, + ' folder.')%loc, show=True) return False if (iswindows and len(loc) > diff --git a/src/calibre/gui2/lrf_renderer/config.ui b/src/calibre/gui2/lrf_renderer/config.ui index 9145b4b29f..a50612abd7 100644 --- a/src/calibre/gui2/lrf_renderer/config.ui +++ b/src/calibre/gui2/lrf_renderer/config.ui @@ -11,7 +11,7 @@ - Configure Viewer + Configure viewer diff --git a/src/calibre/gui2/tweak_book/manage_fonts.py b/src/calibre/gui2/tweak_book/manage_fonts.py index aba024cb32..a962f00279 100644 --- a/src/calibre/gui2/tweak_book/manage_fonts.py +++ b/src/calibre/gui2/tweak_book/manage_fonts.py @@ -227,7 +227,7 @@ class ManageFonts(Dialog): subset_all_fonts = pyqtSignal() def __init__(self, parent=None): - Dialog.__init__(self, _('Manage Fonts'), 'manage-fonts', parent=parent) + Dialog.__init__(self, _('Manage fonts'), 'manage-fonts', parent=parent) def setup_ui(self): self.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose, False) diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index 7dbe061062..d748e9d5c0 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -976,7 +976,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{ your e-book reader may have trouble with the EPUB. ''') if not minz: - d = error_dialog(self, _('Conversion Failed'), msg, + d = error_dialog(self, _('Conversion failed'), msg, det_msg=job.details) d.setModal(False) d.show() diff --git a/src/pyj/read_book/shortcuts.pyj b/src/pyj/read_book/shortcuts.pyj index eac67146fb..1bd409b6a8 100644 --- a/src/pyj/read_book/shortcuts.pyj +++ b/src/pyj/read_book/shortcuts.pyj @@ -353,13 +353,13 @@ def common_shortcuts(): # {{{ 'extend_selection_to_start_of_line': desc( v"['Shift+Home']", 'ui', - _('Extend current selection to the start of the line'), + _('Extend the current selection to the start of the line'), ), 'extend_selection_to_end_of_line': desc( v"['Shift+End']", 'ui', - _('Extend current selection to the end of the line'), + _('Extend the current selection to the end of the line'), ), 'select_all': desc(