Files
lucky_shop/lang/en-us/ai-chat/index.js
ZF sun 5d3663786c feat: add multi-language page configs and fix i18n issues
1. 新增多套多语言页面翻译文件,覆盖文件列表、案例展示、商户相关、印章相关、分销、小程序发货等页面
2. 修复语言包拼写错误:loginTpis → loginTips
3. 重构语言包合并逻辑,使用深度合并替代浅合并避免子key丢失
4. 优化导航栏标题设置,统一使用$langConfig.title替代硬编码标题
5. 修复底部导航栏语言切换不响应的问题,改为响应式获取当前语言
6. 完善英文通用语言包,补充订单、购物车、会员相关翻译
7. 修复商品详情页默认标题为空的问题,设置为"商品详情"
2026-06-25 14:52:39 +08:00

109 lines
3.8 KiB
JavaScript

export const lang = {
//title for each page
title: 'AI Customer Service',
// ====== Common ======
cancel: 'Cancel',
save: 'Save',
send: 'Send',
retry: 'Retry',
// ====== Time Format ======
timeFormatToday: 'Today',
timeFormatYesterday: 'Yesterday',
timeFormatBeforeYesterday: 'Day before yesterday',
// ====== ai-chat-message ======
aiNickname: 'AI Assistant',
defaultNickname: 'Me',
audioMessage: 'Voice Message',
videoMessage: 'Video Message',
inputPlaceholder: 'Please enter your question...',
expandEditorTitle: 'Edit Content',
loadMoreHistory: 'Load more history',
loadingHistory: 'Loading history...',
aiThinking: 'AI is thinking',
receivingReply: 'Receiving reply',
aiThinkingStatus1: 'AI is thinking',
aiThinkingStatus2: 'AI is analyzing',
aiThinkingStatus3: 'AI is searching',
aiThinkingStatus4: 'AI is generating',
serviceUnavailable: 'Sorry, the AI service is temporarily unavailable. Please try again later.',
serviceTemporaryUnavailable: 'Sorry, the service is temporarily unavailable. Please try again later.',
noContentToCopy: 'No content to copy',
copySuccess: 'Copied',
copySelected: 'Copied selected content',
copyFail: 'Copy failed',
copyFailWithReason: 'Copy failed: {reason}',
openingFile: 'Opening file...',
openingFileName: 'Opening file: {name}',
openingFileTitle: 'Opening: {title}',
fileOpenFail: 'Failed to open file',
loadHistoryFail: 'Failed to load history',
about: '0B',
// ====== ai-chat-search ======
searchEntrance: 'Search',
searchPlaceholder: 'Search chat history',
searchClose: 'Done',
noMatchResult: 'No matching results',
searchAtTop: 'Already at top',
searchAtBottom: 'Already at bottom',
// ====== index.vue ======
settingsTitle: 'Settings',
fallbackWelcome: 'Hello! I am an AI customer service assistant, glad to serve you!\n\nI can help you with:\n• Product-related questions\n• Order issues\n• Technical support\n• Product recommendations\n\nPlease tell me how I can assist you?',
changeAvatar: 'Change Avatar',
changeAvatarDesc: 'Customize your chat avatar',
changeNickname: 'Change Nickname',
changeNicknameDesc: 'Customize your nickname',
clearChat: 'Clear Chat',
exportChat: 'Export Records',
help: 'Help',
confirmClearChat: 'Are you sure you want to clear the chat?',
chatCleared: 'Chat history has been cleared. How can I help you?',
featureDeveloping: 'Feature under development',
thanksFeedback: 'Thank you for your feedback!',
improveService: 'We will improve our service',
openLink: 'Open Link',
confirmOpenLink: 'Are you sure you want to open this link: ',
confirmOpenLinkText: 'Are you sure you want to open this link: {url}?',
operationFailed: 'Operation failed, please try again',
prompt: 'Prompt',
serviceTypeNotSupported: 'Current service type does not support this page',
// ====== ai-chat-avatar-selector ======
avatarSelectorTitle: 'Change Avatar',
chooseFromAlbum: 'Choose from Album',
avatarChangeSuccess: 'Avatar changed successfully',
enableAlbumPermission: 'Please enable album permission',
// ====== ai-chat-emoji-panel ======
emojiTitle: 'Emoji',
// ====== ai-chat-nickname-editor ======
editNickname: 'Edit Nickname',
newNicknamePlaceholder: 'Please enter your new nickname',
nicknameTip: 'Nickname length 1-12 characters, visible only to you',
nicknameChangeSuccess: 'Nickname changed successfully',
// ====== ai-chat-tools-panel ======
moreFunctions: 'More Features',
image: 'Image',
file: 'File',
voice: 'Voice',
location: 'Location',
// ====== ai-chat-voice-panel ======
voiceInputTitle: 'Voice Input',
recordingTip: 'Recording, release to end',
startRecordTip: 'Tap to start recording',
voiceInputFailed: 'Voice input failed',
// ====== index.vue - Menu ======
menuClearChat: 'Clear Chat',
menuExport: 'Export Records',
menuSettings: 'Settings',
menuHelp: 'Help'
}