diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-11-14 21:04:41 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2017-11-14 21:04:41 +0100 |
commit | dcab45a323f53a10ff5f419daa5ba6442817eebc (patch) | |
tree | b9212d00a8c3a088292180d72895dfeef3536ed1 /src/i18n/translations.js | |
parent | [wip] share user settings with service (diff) | |
download | ferdium-app-dcab45a323f53a10ff5f419daa5ba6442817eebc.tar.gz ferdium-app-dcab45a323f53a10ff5f419daa5ba6442817eebc.tar.zst ferdium-app-dcab45a323f53a10ff5f419daa5ba6442817eebc.zip |
feat(App): Add option to enable/disable spell checker
Diffstat (limited to 'src/i18n/translations.js')
-rw-r--r-- | src/i18n/translations.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i18n/translations.js b/src/i18n/translations.js index 492a6cc4e..161a172ba 100644 --- a/src/i18n/translations.js +++ b/src/i18n/translations.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import languages from './languages'; | 1 | import { APP_LOCALES } from './languages'; |
2 | 2 | ||
3 | const translations = []; | 3 | const translations = []; |
4 | Object.keys(languages).forEach((key) => { | 4 | Object.keys(APP_LOCALES).forEach((key) => { |
5 | try { | 5 | try { |
6 | const translation = require(`./locales/${key}.json`); // eslint-disable-line | 6 | const translation = require(`./locales/${key}.json`); // eslint-disable-line |
7 | translations[key] = translation; | 7 | translations[key] = translation; |