From 55952acef39a3492c7235ac7979ea926b8a73278 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 23 Aug 2024 17:43:09 +1000 Subject: [PATCH] chore: remove loadDictionary --- ts/util/i18n/i18n.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ts/util/i18n/i18n.ts b/ts/util/i18n/i18n.ts index 0e6231414..3b168d8ab 100644 --- a/ts/util/i18n/i18n.ts +++ b/ts/util/i18n/i18n.ts @@ -6,10 +6,6 @@ import { getMessage } from './functions/getMessage'; import { i18nLog, Locale, setInitialLocale } from './shared'; import { setTranslationDictionary } from './translationDictionaries'; -export function loadDictionary(locale: Locale) { - return import(`../../_locales/${locale}/messages.json`) as Promise; -} - /** * Sets up the i18n function with the provided locale and messages. *