mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 02:24:56 +00:00
Add UI module translations to Modrinth App (#5489)
* Add UI module translations to Modrinth App * Replace `await` with `eager: true` --------- Co-authored-by: Calum H. <calum@modrinth.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import type { CrowdinMessages } from './composables/i18n'
|
||||
|
||||
export const uiLocaleModulesEager = import.meta.glob<{ default: CrowdinMessages }>(
|
||||
'./locales/*/index.json',
|
||||
{ eager: true },
|
||||
)
|
||||
Reference in New Issue
Block a user