diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-06 11:22:51 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-06 11:22:51 -0500 |
commit | 82253f625b6cadfb7c7c4044c0c0a385f0caefbe (patch) | |
tree | 860006933cdc139c50a8dfabe94ef6e55d86f1ba /ui/src/i18next.ts | |
parent | 8c4e973409a9bcfa5a09b1da8f1441d0bec4ea40 (diff) |
Upgrade package.json.
Diffstat (limited to 'ui/src/i18next.ts')
-rw-r--r-- | ui/src/i18next.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts index 3dd152a4..aaaecd04 100644 --- a/ui/src/i18next.ts +++ b/ui/src/i18next.ts @@ -1,4 +1,4 @@ -import * as i18n from 'i18next'; +import i18next from 'i18next'; import { getLanguage } from './utils'; import { en } from './translations/en'; import { eo } from './translations/eo'; @@ -30,7 +30,7 @@ function format(value: any, format: any, lng: any) { return value; } -i18n.init({ +i18next.init({ debug: false, // load: 'languageOnly', @@ -43,4 +43,4 @@ i18n.init({ }, }); -export { i18n, resources }; +export { i18next as i18n, resources }; |