From 4e5561283392d2ab1545cabb4455a8ffc490f86b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 18 Oct 2019 17:20:27 -0700 Subject: Running prettier on code. - #305 , #309 --- ui/src/i18next.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'ui/src/i18next.ts') 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 }; -- cgit v1.2.3