aboutsummaryrefslogtreecommitdiff
path: root/lib/i18n.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/i18n.ts')
-rw-r--r--lib/i18n.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/i18n.ts b/lib/i18n.ts
index b48eb291a..3c7106422 100644
--- a/lib/i18n.ts
+++ b/lib/i18n.ts
@@ -53,9 +53,9 @@ function init () {
if ("function" !== typeof JedModule) {
return;
}
-
if (!(i18n.lang in i18n.strings)) {
i18n.lang = "en-US";
+ return;
}
jed = new JedModule(i18n.strings[i18n.lang]);
}