From 5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Tue, 20 Jul 2021 21:24:52 +0300 Subject: WIP --- app/i18n/translate.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 app/i18n/translate.ts (limited to 'app/i18n/translate.ts') diff --git a/app/i18n/translate.ts b/app/i18n/translate.ts deleted file mode 100644 index 6481874..0000000 --- a/app/i18n/translate.ts +++ /dev/null @@ -1,11 +0,0 @@ -import i18n from 'i18n-js' -import { TxKeyPath } from './i18n' - -/** - * Translates text. - * - * @param key The i18n key. - */ -export function translate(key: TxKeyPath, options?: i18n.TranslateOptions) { - return key ? i18n.t(key, options) : null -} -- cgit v1.2.3