Files
midgard6-vtt/src/i18n.mjs
T
Byroks 49b8eddf15
Foundry VTT System Release / build-and-release (push) Failing after 3m47s
Prepare for version 0.9 (#8)
Reviewed-on: #8
Co-authored-by: Byroks <byroks@gmail.com>
2026-10-26 18:48:35 +01:00

4 lines
229 B
JavaScript

// `game` isn't ready until the "ready" hook fires; sheets only render after that,
// so the non-null assertion here is safe and keeps callers from repeating it.
export const localize = (key: string) => game.i18n!.localize(key);