From bf0785f6b67920995c682448ca6937e4bbacafc6 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 27 Mar 2020 10:13:54 +1100 Subject: [PATCH] Revert "default to en_US if locale dictionnary is not found" This reverts commit 2f3f3b8294d18fcb94df96725d7ac662fcba08c7. --- js/spell_check.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/spell_check.js b/js/spell_check.js index 1c01da51b..9878ab438 100644 --- a/js/spell_check.js +++ b/js/spell_check.js @@ -64,7 +64,7 @@ function setupLinux(locale) { window.log.info('Detected Linux. Using default en_US spell check dictionary'); - return new Typo('en_US'); + return new Typo(locale); } // We load locale this way and not via app.getLocale() because this call returns