mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
refactor: improved vue-i18n implementation
This commit is contained in:
@@ -34,7 +34,8 @@ export type AvailableLocale = keyof typeof messages
|
||||
|
||||
const i18n = createI18n<[NestedPartial<MessageSchema>], AvailableLocale>({
|
||||
fallbackLocale: 'en-US',
|
||||
legacy: false,
|
||||
allowComposition: true,
|
||||
messages
|
||||
});
|
||||
export default i18n;
|
||||
|
||||
export { i18n };
|
||||
|
||||
Reference in New Issue
Block a user