From f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Mon, 19 Jul 2021 20:06:08 +0300 Subject: Apply Prettier --- app/i18n/i18n.ts | 10 +++++----- app/i18n/index.ts | 6 +++--- app/i18n/translate.ts | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'app/i18n') diff --git a/app/i18n/i18n.ts b/app/i18n/i18n.ts index a563bbb..b29e80b 100644 --- a/app/i18n/i18n.ts +++ b/app/i18n/i18n.ts @@ -1,12 +1,12 @@ -import * as Localization from "expo-localization" -import i18n from "i18n-js" -import en from "./en.json" -import ja from "./ja.json" +import * as Localization from 'expo-localization' +import i18n from 'i18n-js' +import en from './en.json' +import ja from './ja.json' i18n.fallbacks = true i18n.translations = { en, ja } -i18n.locale = Localization.locale || "en" +i18n.locale = Localization.locale || 'en' /** * Builds up valid keypaths for translations. diff --git a/app/i18n/index.ts b/app/i18n/index.ts index fbfba4e..b0ff148 100644 --- a/app/i18n/index.ts +++ b/app/i18n/index.ts @@ -1,3 +1,3 @@ -import "./i18n" -export * from "./i18n" -export * from "./translate" +import './i18n' +export * from './i18n' +export * from './translate' diff --git a/app/i18n/translate.ts b/app/i18n/translate.ts index ef1a019..6481874 100644 --- a/app/i18n/translate.ts +++ b/app/i18n/translate.ts @@ -1,5 +1,5 @@ -import i18n from "i18n-js" -import { TxKeyPath } from "./i18n" +import i18n from 'i18n-js' +import { TxKeyPath } from './i18n' /** * Translates text. -- cgit v1.2.3