feat(i18n): Implement internationalization support for your application

- Integrate the vue-i18n plugin and configure multilingual support
- Add English and Chinese translation files
This commit is contained in:
2025-10-15 15:07:47 +08:00
parent 29843bb5e5
commit 2b8f09b4b2
16 changed files with 307 additions and 26 deletions

1
src/components.d.ts vendored
View File

@@ -10,6 +10,7 @@ declare module 'vue' {
export interface GlobalComponents {
AddGroup: typeof import('./components/nodeEdit/addGroup.vue')['default']
AddNode: typeof import('./components/nodeEdit/addNode.vue')['default']
LanguageSwitcher: typeof import('./components/LanguageSwitcher.vue')['default']
NodeList: typeof import('./components/nodeEdit/nodeList.vue')['default']
NodesFloatButton: typeof import('./components/nodeEdit/nodesFloatButton.vue')['default']
NotificationProvider: typeof import('./components/notify/notificationProvider.vue')['default']