From ccef70fd3d9986c335dd115590951825939677da Mon Sep 17 00:00:00 2001 From: Bastian Germann Date: Mon, 31 Aug 2026 12:20:49 +0200 Subject: [PATCH] Clarify comments about spelling provider --- src/fe-gtk/setup.c | 2 +- win32/installer/zoitechat.iss.tt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index e15fbd54..978a13af 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -219,7 +219,7 @@ static const setting inputbox_settings[] = {ST_TOGGLE, N_("Spell checking"), P_OFFINTNL(hex_gui_input_spell),0,0,1}, {ST_ENTRY, N_("Dictionaries to use:"), P_OFFSETNL(hex_text_spell_langs),0,0,sizeof prefs.hex_text_spell_langs}, #ifdef WIN32 - {ST_LABEL, N_("Use language codes (as in \"%LOCALAPPDATA%\\enchant\\myspell\\dicts\").\nSeparate multiple entries with commas.")}, + {ST_LABEL, N_("Use language codes (for example, \"en_US\").\nOn Windows 8 and newer, dictionaries are provided by Windows. Separate multiple entries with commas.")}, #else {ST_LABEL, N_("Use language codes. Separate multiple entries with commas.")}, #endif diff --git a/win32/installer/zoitechat.iss.tt b/win32/installer/zoitechat.iss.tt index f7b43812..beaab87f 100644 --- a/win32/installer/zoitechat.iss.tt +++ b/win32/installer/zoitechat.iss.tt @@ -49,7 +49,7 @@ Name: "icons"; Description: "Create Shortcuts"; Types: custom; Flags: disablenou Name: "icons\desktopicon"; Description: "Create Desktop Shortcut"; Types: custom; Flags: disablenouninstallwarning Name: "icons\quicklaunchicon"; Description: "Create Quick Launch Shortcut"; Types: custom; Flags: disablenouninstallwarning Name: "translations"; Description: "Translations"; Types: normal custom; Flags: disablenouninstallwarning -Name: "spell"; Description: "Spelling Dictionaries"; Types: custom; Flags: disablenouninstallwarning +Name: "spell"; Description: "Spelling Dictionaries (Windows 7 fallback)"; Types: custom; Flags: disablenouninstallwarning Name: "plugins"; Description: "Plugins"; Types: custom; Flags: disablenouninstallwarning Name: "plugins\checksum"; Description: "Checksum"; Types: custom; Flags: disablenouninstallwarning Name: "plugins\exec"; Description: "Exec"; Types: custom; Flags: disablenouninstallwarning @@ -322,7 +322,8 @@ var begin GetWindowsVersionEx(Version); - // Windows 8 or greater has built in spell check. + // Enchant's WinSpell provider uses the built-in spell checker on Windows 8+. + // Downloaded dictionaries for other providers are retained only as a Windows 7 fallback. if Version.NTPlatform and (Version.Major > 6) or ((Version.Major = 6) and (Version.Minor > 1)) then Result := True else