feat: 新增多语言国际化页面配置,修复部分页面硬编码文案
1. 新增了zh-cn和en-us两套语言下的大量页面国际化配置文件,覆盖商品、订单、会员、营销活动等多个业务模块 2. 修复了分销页面、VR页面、支付页面、商品不存在页面的硬编码提示文案,替换为国际化调用 3. 删除了原有的i18n检查脚本文件
This commit is contained in:
104
lang/en-us/ai-chat/index.js
Normal file
104
lang/en-us/ai-chat/index.js
Normal file
@@ -0,0 +1,104 @@
|
||||
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',
|
||||
openingFile: 'Opening file...',
|
||||
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: ',
|
||||
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'
|
||||
}
|
||||
Reference in New Issue
Block a user