From b3a485b3eac96954d9944df4a201be4f4f979b36 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 5 Mar 2021 09:13:26 +0530 Subject: [PATCH] String changes --- manual/faq.rst | 2 +- src/calibre/gui2/preferences/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/faq.rst b/manual/faq.rst index 946b086f4c..a651f00a7c 100644 --- a/manual/faq.rst +++ b/manual/faq.rst @@ -48,7 +48,7 @@ How do I convert my file containing non-English characters, or smart quotes? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There are two aspects to this problem: 1. Knowing the encoding of the source file: calibre tries to guess what character encoding your source files use, but often, this is impossible, so you need to tell it what encoding to use. This can be done in the GUI via the :guilabel:`Input character encoding` field in the :guilabel:`Look & feel->Text` section of the conversion dialog. The command-line tools have an :option:`ebook-convert-txt-input --input-encoding` option. - 2. When adding HTML files to calibre, you may need to tell calibre what encoding the files are in. To do this go to :guilabel:`Preferences->Advanced->Plugins->File Type plugins` and customize the :guilabel:`HTML to ZIP` plugin, telling it what encoding your HTML files are in. Now when you add HTML files to calibre they will be correctly processed. HTML files from different sources often have different encodings, so you may have to change this setting repeatedly. A common encoding for many files from the web is ``cp1252`` and I would suggest you try that first. Note that when converting HTML files, leave the input encoding setting mentioned above blank. This is because the :guilabel:`HTML to ZIP` plugin automatically converts the HTML files to a standard encoding (utf-8). + 2. When adding HTML files to calibre, you may need to tell calibre what encoding the files are in. To do this go to :guilabel:`Preferences->Advanced->Plugins->File type` and customize the :guilabel:`HTML to ZIP` plugin, telling it what encoding your HTML files are in. Now when you add HTML files to calibre they will be correctly processed. HTML files from different sources often have different encodings, so you may have to change this setting repeatedly. A common encoding for many files from the web is ``cp1252`` and I would suggest you try that first. Note that when converting HTML files, leave the input encoding setting mentioned above blank. This is because the :guilabel:`HTML to ZIP` plugin automatically converts the HTML files to a standard encoding (UTF-8). What's the deal with Table of Contents in MOBI files? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/src/calibre/gui2/preferences/server.py b/src/calibre/gui2/preferences/server.py index a7090d75fe..37c733b08a 100644 --- a/src/calibre/gui2/preferences/server.py +++ b/src/calibre/gui2/preferences/server.py @@ -395,7 +395,7 @@ class MainTab(QWidget): # {{{ def change_auth_desc(self): self.auth_desc.setText( - _('Remember to create some user accounts in the "User accounts" tab') + _('Remember to create at least one user account in the "User accounts" tab') if self.opt_auth.isChecked() else _( 'Requiring a username/password prevents unauthorized people from' ' accessing your calibre library. It is also needed for some features'