diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-06 01:32:19 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-06 01:32:19 +0200 |
commit | d6504916467511f3bc047a9421f68fd663fa19ac (patch) | |
tree | 7fde103e7c8a5b3e13172e6c1eeb5cdd8c1d9051 /lib/i18n.ts | |
parent | 3bb1ae72fa8211f4b81904bf2568815e517571b8 (diff) |
Fix i18n issues
Diffstat (limited to 'lib/i18n.ts')
-rw-r--r-- | lib/i18n.ts | 2 |
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]); } |