mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
refactor: ts and composition api for base components
This commit is contained in:
18
src/renderer/i18n/index.ts
Normal file
18
src/renderer/i18n/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { createI18n } from 'vue-i18n';
|
||||
|
||||
const i18n = createI18n({
|
||||
fallbackLocale: 'en-US',
|
||||
messages: {
|
||||
'en-US': require('./en-US'),
|
||||
'it-IT': require('./it-IT'),
|
||||
'ar-SA': require('./ar-SA'),
|
||||
'es-ES': require('./es-ES'),
|
||||
'fr-FR': require('./fr-FR'),
|
||||
'pt-BR': require('./pt-BR'),
|
||||
'de-DE': require('./de-DE'),
|
||||
'vi-VN': require('./vi-VN'),
|
||||
'ja-JP': require('./ja-JP'),
|
||||
'zh-CN': require('./zh-CN')
|
||||
}
|
||||
});
|
||||
export default i18n;
|
||||
Reference in New Issue
Block a user