refactor(frontend): move the i18n entry module into its directory

frontend/src/i18n.ts and frontend/src/i18n/ shared a name, so ./i18n resolved to the file while ./i18n/icu resolved to the directory. The entry module is now frontend/src/i18n/index.ts and no importer changed.
This commit is contained in:
千川白浪 committed 2026-12-04 23:24:36 -07:00
1 parent 7529171600
commit 652bf50e8d
1 file changed
+4 -4
@@ -1,7 +1,7 @@
import { BuiltinLocale, Locale, LocalizedText, ResolvedLocalePack } from './types'
import { formatICU, ICUVars, pseudoLocalizeICU } from './i18n/icu'
import type { I18nKey } from './i18n/keys.gen'
import { builtinDict, registerBuiltinDomain } from './i18n/runtime'
import { BuiltinLocale, Locale, LocalizedText, ResolvedLocalePack } from '../types'
import { formatICU, ICUVars, pseudoLocalizeICU } from './icu'
import type { I18nKey } from './keys.gen'
import { builtinDict, registerBuiltinDomain } from './runtime'
export type { I18nKey }
export { registerBuiltinDomain }