10 lines
272 B
TypeScript
Raw Normal View History

import { i18nInitializer } from "../../dist/account";
import type { ThemeName } from "../kc.gen";
2023-04-20 02:52:49 +02:00
export const { useI18n, ofTypeI18n } = i18nInitializer
.withThemeName<ThemeName>()
.withCustomTranslations({})
.create();
2023-04-20 02:52:49 +02:00
2024-06-05 18:50:00 +02:00
export type I18n = typeof ofTypeI18n;