fix: i18n error
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s

This commit is contained in:
Thanaphon Frappet 2025-04-04 11:27:51 +07:00
parent 68e1abb4cb
commit 25b62de139

View file

@ -2,6 +2,7 @@ import { defineBoot } from '#q-app/wrappers';
import { createI18n } from 'vue-i18n';
import messages from 'src/i18n';
import { Lang } from 'src/utils/ui';
export type MessageLanguages = keyof typeof messages;
// Type-define 'eng' as the master schema for the resource
@ -26,7 +27,7 @@ export const i18n = createI18n<
MessageLanguages,
false
>({
locale: 'en-US',
locale: Lang.Thai,
legacy: false,
messages,
});