* Add UI module translations to Modrinth App * Replace `await` with `eager: true` --------- Co-authored-by: Calum H. <calum@modrinth.com>
7 lines
190 B
TypeScript
7 lines
190 B
TypeScript
import type { CrowdinMessages } from './composables/i18n'
|
|
|
|
export const uiLocaleModulesEager = import.meta.glob<{ default: CrowdinMessages }>(
|
|
'./locales/*/index.json',
|
|
{ eager: true },
|
|
)
|