summaryrefslogtreecommitdiff
path: root/app/i18n
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
committerKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
commitf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch)
tree575c0ff2cbb846252bd2e494c81c396846aab2f6 /app/i18n
parent67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff)
Apply Prettier
Diffstat (limited to 'app/i18n')
-rw-r--r--app/i18n/i18n.ts10
-rw-r--r--app/i18n/index.ts6
-rw-r--r--app/i18n/translate.ts4
3 files changed, 10 insertions, 10 deletions
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.