Merge branch 'main' into LJH

This commit is contained in:
hrz
2025-09-21 18:09:48 +08:00
committed by GitHub
54 changed files with 3933 additions and 400 deletions
+175 -1
View File
@@ -1,4 +1,11 @@
export default {
// Login page related prompt text
'login.requiredUsername': 'Username cannot be empty',
'login.requiredPassword': 'Password cannot be empty',
'login.requiredCaptcha': 'Captcha cannot be empty',
'login.requiredMobile': 'Please enter a valid mobile phone number',
'login.loginSuccess': 'Login successful!',
// HeaderBar组件文本
// 在header相关翻译中添加
'header.smartManagement': 'Agents',
@@ -10,6 +17,137 @@ export default {
'header.dictManagement': 'Dict Management',
'header.agentTemplate': 'Default Role Templates', // 添加这一行
// McpToolCallDialog component text
'mcpToolCall.title': 'Tool Call',
'mcpToolCall.execute': 'Execute',
'mcpToolCall.chooseFunction': '1、Choose Function',
'mcpToolCall.searchFunction': 'Search Function',
'mcpToolCall.noResults': 'No matching functions found',
'mcpToolCall.settings': '2、Parameter Settings',
'mcpToolCall.inputPlaceholder': 'Please enter {label}',
'mcpToolCall.valueRange': 'Value range: {min} - {max}',
'mcpToolCall.selectPlaceholder': 'Please select {label}',
'mcpToolCall.lightTheme': 'Light Theme',
'mcpToolCall.darkTheme': 'Dark Theme',
'mcpToolCall.pleaseSelect': 'Please select a function',
'mcpToolCall.cancel': 'Cancel',
'mcpToolCall.requiredField': 'Please enter {field}',
'mcpToolCall.minValue': 'Minimum value is {value}',
'mcpToolCall.maxValue': 'Maximum value is {value}',
'mcpToolCall.selectTool': 'Please select a tool to execute',
'mcpToolCall.executionResult': '3、Execution Result',
'mcpToolCall.copyResult': 'Copy Result',
'mcpToolCall.noResultYet': 'No result yet',
'mcpToolCall.loadingToolList': 'Loading tool list...',
// Tool names
'mcpToolCall.toolName.getDeviceStatus': 'View Device Status',
'mcpToolCall.toolName.setVolume': 'Set Volume',
'mcpToolCall.toolName.setBrightness': 'Set Brightness',
'mcpToolCall.toolName.setTheme': 'Set Theme',
'mcpToolCall.toolName.takePhoto': 'Take Photo & Recognize',
'mcpToolCall.toolName.getSystemInfo': 'System Info',
'mcpToolCall.toolName.reboot': 'Reboot Device',
'mcpToolCall.toolName.upgradeFirmware': 'Upgrade Firmware',
'mcpToolCall.toolName.getScreenInfo': 'Screen Info',
'mcpToolCall.toolName.snapshot': 'Screen Snapshot',
'mcpToolCall.toolName.previewImage': 'Preview Image',
'mcpToolCall.toolName.setDownloadUrl': 'Set Download URL',
// Tool categories
'mcpToolCall.category.audio': 'Audio',
'mcpToolCall.category.display': 'Display',
'mcpToolCall.category.camera': 'Camera',
'mcpToolCall.category.system': 'System',
'mcpToolCall.category.assets': 'Assets',
'mcpToolCall.category.deviceInfo': 'Device Info',
// Table categories and properties
'mcpToolCall.table.audioSpeaker': 'Audio Speaker',
'mcpToolCall.table.screen': 'Screen',
'mcpToolCall.table.network': 'Network',
'mcpToolCall.table.audioControl': 'Audio Control',
'mcpToolCall.table.screenControl': 'Screen Control',
'mcpToolCall.table.systemControl': 'System Control',
'mcpToolCall.table.screenInfo': 'Screen Info',
'mcpToolCall.table.hardwareInfo': 'Hardware Info',
'mcpToolCall.table.memoryInfo': 'Memory Info',
'mcpToolCall.table.applicationInfo': 'Application Info',
'mcpToolCall.table.networkInfo': 'Network Info',
'mcpToolCall.table.displayInfo': 'Display Info',
'mcpToolCall.table.deviceInfo': 'Device Info',
'mcpToolCall.table.systemInfo': 'System Info',
// Table column headers
'mcpToolCall.table.component': 'Component',
'mcpToolCall.table.property': 'Property',
'mcpToolCall.table.value': 'Value',
'mcpToolCall.prop.volume': 'Volume',
'mcpToolCall.prop.brightness': 'Brightness',
'mcpToolCall.prop.theme': 'Theme',
'mcpToolCall.prop.type': 'Type',
'mcpToolCall.prop.ssid': 'SSID',
'mcpToolCall.prop.signalStrength': 'Signal Strength',
'mcpToolCall.prop.operationResult': 'Operation Result',
'mcpToolCall.prop.width': 'Width',
'mcpToolCall.prop.height': 'Height',
'mcpToolCall.prop.screenType': 'Type',
'mcpToolCall.prop.chipModel': 'Chip Model',
'mcpToolCall.prop.cpuCores': 'CPU Cores',
'mcpToolCall.prop.chipVersion': 'Chip Version',
'mcpToolCall.prop.flashSize': 'Flash Size',
'mcpToolCall.prop.minFreeHeap': 'Minimum Free Heap',
'mcpToolCall.prop.applicationName': 'Application Name',
'mcpToolCall.prop.applicationVersion': 'Application Version',
'mcpToolCall.prop.compileTime': 'Compile Time',
'mcpToolCall.prop.idfVersion': 'IDF Version',
'mcpToolCall.prop.macAddress': 'MAC Address',
'mcpToolCall.prop.ipAddress': 'IP Address',
'mcpToolCall.prop.wifiName': 'WiFi Name',
'mcpToolCall.prop.wifiChannel': 'WiFi Channel',
'mcpToolCall.prop.screenSize': 'Screen Size',
'mcpToolCall.prop.deviceUuid': 'Device UUID',
'mcpToolCall.prop.systemLanguage': 'System Language',
'mcpToolCall.prop.currentOtaPartition': 'Current OTA Partition',
'mcpToolCall.prop.getResult': 'Get Result',
'mcpToolCall.prop.url': 'URL',
'mcpToolCall.prop.quality': 'Quality',
'mcpToolCall.prop.question': 'Question',
// Tool help texts
'mcpToolCall.help.getDeviceStatus': 'View the current running status of the device, including volume, screen, battery and other information.',
'mcpToolCall.help.setVolume': 'Adjust the volume of the device, please enter a value between 0-100.',
'mcpToolCall.help.setBrightness': 'Adjust the brightness of the device screen, please enter a value between 0-100.',
'mcpToolCall.help.setTheme': 'Switch the display theme of the device screen, you can choose light or dark mode.',
'mcpToolCall.help.takePhoto': 'Take photos with the device camera and perform recognition analysis, please enter the question you want to ask.',
'mcpToolCall.help.getSystemInfo': 'Get the system information of the device, including hardware specifications, software version, etc.',
'mcpToolCall.help.reboot': 'Reboot the device, the device will restart after execution.',
'mcpToolCall.help.upgradeFirmware': 'Download and upgrade the device firmware from the specified URL, the device will restart automatically after the upgrade.',
'mcpToolCall.help.getScreenInfo': 'Get detailed information about the screen, such as resolution, size and other parameters.',
'mcpToolCall.help.snapshot': 'Take a screenshot of the current screen and upload it to the specified URL.',
'mcpToolCall.help.previewImage': 'Preview images from the specified URL on the device screen.',
'mcpToolCall.help.setDownloadUrl': 'Set the download address for device resource files.',
// Other text
'mcpToolCall.text.strong': 'Strong',
'mcpToolCall.text.medium': 'Medium',
'mcpToolCall.text.weak': 'Weak',
'mcpToolCall.text.dark': 'Dark',
'mcpToolCall.text.light': 'Light',
'mcpToolCall.text.setSuccess': 'Setting successful',
'mcpToolCall.text.setFailed': 'Setting failed',
'mcpToolCall.text.brightnessSetSuccess': 'Brightness setting successful',
'mcpToolCall.text.brightnessSetFailed': 'Brightness setting failed',
'mcpToolCall.text.themeSetSuccess': 'Theme setting successful',
'mcpToolCall.text.themeSetFailed': 'Theme setting failed',
'mcpToolCall.text.rebootCommandSent': 'Reboot command sent',
'mcpToolCall.text.rebootFailed': 'Reboot failed',
'mcpToolCall.text.monochrome': 'Monochrome Screen',
'mcpToolCall.text.color': 'Color Screen',
'mcpToolCall.text.getSuccessParseFailed': 'Get successful, but parse failed',
'mcpToolCall.text.getFailed': 'Get failed',
'mcpToolCall.text.getSuccessFormatError': 'Get successful, but data format is abnormal',
// Dictionary data dialog related
'dictDataDialog.addDictData': 'Add Dictionary Data',
'dictDataDialog.dictLabel': 'Dictionary Label',
@@ -91,6 +229,38 @@ export default {
// Manual add device dialog related
'manualAddDeviceDialog.title': 'Manual Add Device',
// AddModelDialog component related
'addModelDialog.requiredSupplier': 'Please select a supplier',
// Register page related
'register.title': 'Create Account',
'register.welcome': 'Welcome to XiaoZhi AI',
'register.usernamePlaceholder': 'Please enter username',
'register.mobilePlaceholder': 'Please enter mobile phone number',
'register.captchaPlaceholder': 'Please enter captcha',
'register.mobileCaptchaPlaceholder': 'Please enter SMS verification code',
'register.passwordPlaceholder': 'Please set password',
'register.confirmPasswordPlaceholder': 'Please confirm password',
'register.goToLogin': 'Already have an account? Login',
'register.registerButton': 'Register',
'register.agreeTo': 'By registering, you agree to our',
'register.userAgreement': 'User Agreement',
'register.privacyPolicy': 'Privacy Policy',
'register.notAllowRegister': 'User registration is not allowed',
'register.captchaLoadFailed': 'Failed to load captcha',
'register.inputCaptcha': 'Please enter captcha',
'register.inputCorrectMobile': 'Please enter correct mobile phone number',
'register.captchaSendSuccess': 'Verification code sent successfully',
'register.captchaSendFailed': 'Failed to send verification code',
'register.passwordsNotMatch': 'Passwords do not match',
'register.registerSuccess': 'Registration successful!',
'register.registerFailed': 'Registration failed',
'register.requiredUsername': 'Username cannot be empty',
'register.requiredPassword': 'Password cannot be empty',
'register.requiredCaptcha': 'Captcha cannot be empty',
'register.requiredMobileCaptcha': 'Please enter SMS verification code',
'manualAddDeviceDialog.deviceType': 'Device Type',
'manualAddDeviceDialog.deviceTypePlaceholder': 'Please select device type',
'manualAddDeviceDialog.firmwareVersion': 'Firmware Version',
@@ -287,9 +457,10 @@ export default {
'device.search': 'Search',
'device.selectAll': 'Select All/Deselect All',
'deviceManagement.loading': 'Loading...',
'device.bindWithCode': 'Bind with Verification Code',
'device.bindWithCode': '6-digit Verification Code Binding',
'device.manualAdd': 'Manual Add',
'device.unbind': 'Unbind',
'device.toolCall': 'Tool Call',
'device.selectAtLeastOne': 'Please select at least one record',
'device.confirmBatchUnbind': 'Are you sure you want to unbind {count} selected devices?',
'device.batchUnbindSuccess': 'Successfully unbound {count} devices',
@@ -305,6 +476,9 @@ export default {
'device.autoUpdateDisabled': 'Auto update disabled',
'device.batchUnbindSuccess': 'Successfully unbound {count} devices',
'device.getFirmwareTypeFailed': 'Failed to fetch firmware type',
'device.deviceStatus': 'Status',
'device.online': 'Online',
'device.offline': 'Offline',
// Message tips
'message.success': 'Operation Successful',