diff --git a/src/calibre/gui2/dialogs/ff_doc_editor.py b/src/calibre/gui2/dialogs/ff_doc_editor.py index eb43c5f44d..fd6f31cd84 100644 --- a/src/calibre/gui2/dialogs/ff_doc_editor.py +++ b/src/calibre/gui2/dialogs/ff_doc_editor.py @@ -11,8 +11,7 @@ Created on 12 Nov 2024 @author: chaley ''' -from qt.core import (QApplication, QCheckBox, QComboBox, QFrame, QLabel, QGridLayout, - QHBoxLayout, QPlainTextEdit, QPushButton, QSize, QTimer) +from qt.core import QApplication, QCheckBox, QComboBox, QFrame, QGridLayout, QHBoxLayout, QLabel, QPlainTextEdit, QPushButton, QSize, QTimer from calibre.constants import iswindows from calibre.gui2 import gprefs @@ -78,7 +77,7 @@ class FFDocEditor(Dialog): hl.addWidget(f) f.currentIndexChanged.connect(self.functions_box_index_changed) - so = self.show_in_english_cb = QCheckBox(_('Show original English')) + so = self.show_in_english_cb = QCheckBox(_('Show as &English')) so.stateChanged.connect(self.first_row_checkbox_changed) hl.addWidget(so) diff --git a/src/calibre/gui2/dialogs/template_dialog.ui b/src/calibre/gui2/dialogs/template_dialog.ui index e7b323096e..15227e1fb9 100644 --- a/src/calibre/gui2/dialogs/template_dialog.ui +++ b/src/calibre/gui2/dialogs/template_dialog.ui @@ -756,7 +756,7 @@ Selecting a function will show only that function's documentation - General &Information + General &information Click this button to see general help about using template functions diff --git a/src/calibre/gui2/preferences/template_functions.ui b/src/calibre/gui2/preferences/template_functions.ui index df2a4bbaf0..348122b9ab 100644 --- a/src/calibre/gui2/preferences/template_functions.ui +++ b/src/calibre/gui2/preferences/template_functions.ui @@ -84,7 +84,7 @@ - Doc Editor + Edit docs Open an editor for function documentation @@ -225,7 +225,7 @@ a new related user defined function.</p> - Doc Editor + Edit docs Open an editor for function documentation diff --git a/src/calibre/gui2/tweak_book/reports.py b/src/calibre/gui2/tweak_book/reports.py index d3cbbb9c6a..652122caf6 100644 --- a/src/calibre/gui2/tweak_book/reports.py +++ b/src/calibre/gui2/tweak_book/reports.py @@ -65,7 +65,7 @@ from calibre.gui2.tweak_book import current_container, dictionaries, tprefs from calibre.gui2.tweak_book.widgets import Dialog from calibre.gui2.webengine import RestartingWebEngineView from calibre.utils.icu import numeric_sort_key, primary_contains -from calibre.utils.localization import calibre_langcode_to_name, canonicalize_lang +from calibre.utils.localization import calibre_langcode_to_name, canonicalize_lang, ngettext from calibre.utils.unicode_names import character_name_from_code from calibre.utils.webengine import secure_webengine from polyglot.builtins import as_bytes, iteritems @@ -265,7 +265,7 @@ class FilesView(QTableView): class FilesModel(FileCollection): - COLUMN_HEADERS = (_('Folder'), _('Name'), _('Size (KB)'), _('Type'), _('Word count')) + COLUMN_HEADERS = (ngettext('Folder', 'Folders', 1), _('Name'), _('Size (KB)'), _('Type'), _('Word count')) alignments = Qt.AlignmentFlag.AlignLeft, Qt.AlignmentFlag.AlignLeft, Qt.AlignmentFlag.AlignRight, Qt.AlignmentFlag.AlignLeft, Qt.AlignmentFlag.AlignRight CATEGORY_NAMES = { 'image':_('Image'),