From 2f3f3b8294d18fcb94df96725d7ac662fcba08c7 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 26 Mar 2020 16:53:29 +1100 Subject: [PATCH] default to en_US if locale dictionnary is not found --- 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 9878ab438..1c01da51b 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(locale); + return new Typo('en_US'); } // We load locale this way and not via app.getLocale() because this call returns