From 8bada3c468cf24837ac24e31669202aadf2f36f2 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Mon, 20 Mar 2023 22:36:49 +0100 Subject: [PATCH] Clarify instructions on how to download dictionaries on Windows --- docs/source/int_customise.rst | 36 +++++++++++++++++++++++------------ novelwriter/gui/doceditor.py | 2 +- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/docs/source/int_customise.rst b/docs/source/int_customise.rst index e2b6cc18..9cb4819c 100644 --- a/docs/source/int_customise.rst +++ b/docs/source/int_customise.rst @@ -19,22 +19,34 @@ Spell Check Dictionaries novelWriter uses Enchant_ as the spell checking tool. Depending on your operating system, it may or may not load installed spell check dictionaries. -Linux - On Linux, you generally only have to install hunspell or aspell dictionaries on your system like - you do for other applications. See your distro's documentation for how to do this. These - dictionaries should then show up as available spell check languages in novelWriter. +Linux and MacOS +--------------- + +On Linux and MacOS, you generally only have to install hunspell or aspell dictionaries on your +system like you do for other applications. See your distro or OS documentation for how to do this. +These dictionaries should then show up as available spell check languages in novelWriter. Windows - For Windows, English is included with the installation. For other languages you have to download - and add dictionaries yourself. You can find the various dictionaries on the `Free Desktop`_ - website. You should find a folder for your language, if it is available at all, and download the - files ending with ``.aff`` and ``.dic``. These files must then be copied to the following - location: +------- - ``C:\Users\\AppData\Local\enchant\hunspell`` +For Windows, English is included with the installation. For other languages you have to download +and add dictionaries yourself. You can find the various dictionaries on the `Free Desktop`_ +website. You should find a folder for your language, if it is available at all, and download the +files ending with ``.aff`` and ``.dic``. These files must then be copied to the following location: - This assumes your user profile is stored at ``C:\Users\``. The last one or two folders may - not exist, so you may need to create them. +``C:\Users\\AppData\Local\enchant\hunspell`` + +This assumes your user profile is stored at ``C:\Users\``. The last one or two folders may +not exist, so you may need to create them. + +.. note:: + + The Free Desktop link points to a repository, and what may look like file links inside the + dictionary folder are actually links to web pages. If you right-click and download those, you + get HTML files, not dictionaries! + + In order to download the actual dictionary files, right-click the "plain" label at the end of + each line and download that. .. _a_custom_theme: diff --git a/novelwriter/gui/doceditor.py b/novelwriter/gui/doceditor.py index 361b236e..a303162b 100644 --- a/novelwriter/gui/doceditor.py +++ b/novelwriter/gui/doceditor.py @@ -1359,7 +1359,7 @@ class GuiDocEditor(QTextEdit): if self._docHandle is None or self._nwItem is None: return - logger.debug("User selectee %d words", wCount) + logger.debug("User selected %d words", wCount) self.docFooter.updateCounts(wCount=wCount, cCount=cCount) self.wcTimerSel.stop()