fix: i18n warn locale not found cause of default locale

This commit is contained in:
Methapon2001 2025-03-27 17:00:55 +07:00
parent 0a87843b3b
commit 50bb4638c5
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ export const i18n = createI18n<
MessageLanguages, MessageLanguages,
false false
>({ >({
locale: 'en-US', locale: 'eng',
legacy: false, legacy: false,
messages, messages,
}); });

View file

@ -1,7 +1,7 @@
import eng from './eng'; import eng from './eng';
import tha from './tha'; import tha from './tha'; // spellchecker:disable-line
export default { export default {
eng, eng,
tha, tha, // spellchecker:disable-line
}; };