diff options
author | Dessalines <tyhou13@gmx.com> | 2019-10-18 17:20:27 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-10-18 17:20:27 -0700 |
commit | 4e5561283392d2ab1545cabb4455a8ffc490f86b (patch) | |
tree | a4ee9cc096826dc32faf3675212c7f95f1b3ea5e /ui/src/i18next.ts | |
parent | 82ea5ae9186e5a8e631c87a61077e16713eb87a4 (diff) |
Running prettier on code.
- #305 , #309
Diffstat (limited to 'ui/src/i18next.ts')
-rw-r--r-- | ui/src/i18next.ts | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts index 069c820d..083cc7f6 100644 --- a/ui/src/i18next.ts +++ b/ui/src/i18next.ts @@ -22,26 +22,24 @@ const resources = { sv, ru, nl, -} +}; function format(value: any, format: any, lng: any) { - if (format === 'uppercase') return value.toUpperCase(); - return value; + if (format === 'uppercase') return value.toUpperCase(); + return value; } -i18n -.init({ +i18n.init({ debug: true, // load: 'languageOnly', // initImmediate: false, lng: getLanguage(), fallbackLng: 'en', - resources, - interpolation: { - format: format - - } + resources, + interpolation: { + format: format, + }, }); export { i18n, resources }; |