重构 i18n 以修复构建问题:集中管理翻译并移除组件级 i18n 块
- [x] Extract all i18n messages from component `<i18n>` blocks
- [x] Organize messages into centralized locale files with proper namespacing
- [x] Configure vue-i18n plugin in vite.config.ts
- [x] Update all components to use global i18n instead of local scope
- [x] Remove all `<i18n>` blocks from Vue components
- [x] Fix build error by using synchronous imports instead of lazy loading
- [x] Upgrade to Vite 7 and @vitejs/plugin-vue 7 to fix crypto.hash error
- [x] Verify build works without errors
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>重构 i18n 部分以修复构建</issue_title>
> <issue_description>现在 i18n 文案分散在每个组件,然而上游依赖项在处理它时出现玄学问题导致构建失败。现在将相同语言的文案集中到一块以修复构建,并 lazy-load 文案。需要合理规划文案键命名空间,并遵循最新的最佳实践
>
> 参考资料:
> - https://i18n.nuxtjs.org/llms.txt</issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
Fixes typed-sigterm/ex-caller#67
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.
合并状态:未合并 4 条评论