refactor: 完成多语言国际化全量替换与补充

1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案
2. 替换硬编码文本为多语言调用,统一全局文案管理
3. 优化语言包结构,拆分公共模块与业务模块
4. 修复部分语言加载与国际化适配问题
This commit is contained in:
2026-06-26 17:32:35 +08:00
parent f7fb9f34f9
commit 4ae21c5d7a
91 changed files with 2650 additions and 281 deletions

View File

@@ -42,6 +42,14 @@ export const lang = {
loadHistoryFail: 'Failed to load history',
about: '0B',
// ====== ai-chat-message - Auto Reply Templates ======
autoReplyGreeting: 'Hello! I am the AI customer service assistant, glad to serve you! How can I help you?',
autoReplyPrice: 'Our product prices vary by model and configuration. Please check the product detail page for specific prices.',
autoReplyShipping: 'Generally, orders are shipped within 24 hours. Please check the logistics information for specific timelines.',
autoReplyReturn: '7-day no-reason return is supported. Please ensure the product is in good condition.',
autoReplyService: 'Our customer service hours are 9:00-18:00. Feel free to contact us if you have any questions.',
autoReplyDefault: 'Thank you for your inquiry! Regarding your question about "{question}", our professional customer service will answer you as soon as possible. You can also check our help documentation for more information.',
// ====== ai-chat-search ======
searchEntrance: 'Search',
searchPlaceholder: 'Search chat history',
@@ -118,5 +126,14 @@ export const lang = {
menuClearChat: 'Clear Chat',
menuExport: 'Export Records',
menuSettings: 'Settings',
menuHelp: 'Help'
menuHelp: 'Help',
// ====== index.vue - Console Logs (for debugging) ======
logOnShowTriggered: '[AI Chat Page] onShow triggered',
logOnUnloadTriggered: '[AI Chat Page] onUnload triggered',
logKeyboardChangeUnavailable: 'onKeyboardHeightChange unavailable',
logEventHandleError: 'Event handling error',
logInitNavbarFailed: 'Failed to initialize navigation bar',
logChatComponentNotInit: 'Chat component not initialized',
logServicerConfigNotLoaded: '[AI Customer Service] servicerConfig not loaded, retrying after 200ms...'
}