fix: i18n warn locale not found cause of default locale
This commit is contained in:
parent
0a87843b3b
commit
50bb4638c5
2 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ export const i18n = createI18n<
|
||||||
MessageLanguages,
|
MessageLanguages,
|
||||||
false
|
false
|
||||||
>({
|
>({
|
||||||
locale: 'en-US',
|
locale: 'eng',
|
||||||
legacy: false,
|
legacy: false,
|
||||||
messages,
|
messages,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue