From 027455272bbf8e709a7dac9373f24384e64798d1 Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Fri, 14 Aug 2026 13:33:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E8=8B=B1=E6=96=87=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E5=B7=B2=E6=9C=89=E7=9A=84=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=E5=B7=B2=E7=BB=8F=E5=9F=BA=E6=9C=AC=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SystemSetting/BasicSettings.tsx | 22 +- .../SystemSetting/DroneManagement.tsx | 2 +- src/components/SystemSetting/MenuList.tsx | 4 +- src/components/SystemSetting/OnlineUser.tsx | 2 +- .../SystemSetting/SmartDeviceManagement.tsx | 2 +- .../SystemSetting/StationManage.tsx | 10 +- src/components/SystemSetting/UserPage.tsx | 14 +- .../SystemSetting/VideoManagement.tsx | 4 +- .../WorkOrderSettingsManagement.tsx | 1 - src/components/devices/DeviceOverviewPage.tsx | 18 +- src/components/devices/XboxController.tsx | 13 +- src/locales/en/index.ts | 833 +++++++++--------- src/locales/zh/index.ts | 73 +- src/pages/Agri.jsx | 2 +- src/pages/Home.tsx | 12 +- src/pages/RealTimeMonitor.tsx | 14 +- src/pages/ReportCenter.tsx | 2 +- src/pages/WorkOrder.tsx | 14 +- 18 files changed, 561 insertions(+), 481 deletions(-) diff --git a/src/components/SystemSetting/BasicSettings.tsx b/src/components/SystemSetting/BasicSettings.tsx index f1f6438..fb99460 100644 --- a/src/components/SystemSetting/BasicSettings.tsx +++ b/src/components/SystemSetting/BasicSettings.tsx @@ -161,11 +161,11 @@ const BasicSettings = () => { const deviceStatuses = [ { name: t('home.inverter'), count: '5/5', status: t('roles.normal') }, { name: t('home.combinerBox'), count: '20/20', status: t('roles.normal') }, - { name: '气象站', count: '1/1', status: t('roles.normal') }, + { name: t('home.WeatherStation'), count: '1/1', status: t('roles.normal') }, { name: t('devices.camera'), count: '12/12', status: t('roles.normal') }, { name: t('constants.uav'), count: '2/2', status: t('roles.normal') }, { name: t('devices.robot'), count: '5/5', status: t('roles.normal') }, - { name: 'API接口', count: t('roles.normal'), status: t('roles.normal') }, + { name: t('systemSetting.api'), count: t('roles.normal'), status: t('roles.normal') }, { name: 'Modbus', count: t('roles.normal'), status: t('roles.normal') }, ]; @@ -204,7 +204,7 @@ const BasicSettings = () => { {/* 基础配置 */} {t('systemSetting.s02')}} + title={{t('systemSetting.basicSettings')}} bordered={false} style={{ borderRadius: 10, marginBottom: 8, boxShadow: '0 2px 8px rgba(0,0,0,0.04)' }} bodyStyle={{ padding: '16px' }} @@ -292,10 +292,10 @@ const BasicSettings = () => { > {[ - { label: t('alerts.sms'), icon: , color: '#52c41a', status: '已启用' }, - { label: t('alerts.email'), icon: , color: '#1677ff', status: '已启用' }, - { label: 'Telegram', icon: , color: '#13c2c2', status: '已启用' }, - { label: t('report.systemNotification'), icon: , color: '#fa8c16', status: '已启用' }, + { label: t('alerts.sms'), icon: , color: '#52c41a', status: `${t('alerts.enabled')}` }, + { label: t('alerts.email'), icon: , color: '#1677ff', status: `${t('alerts.enabled')}` }, + { label: 'Telegram', icon: , color: '#13c2c2', status: `${t('alerts.enabled')}` }, + { label: t('report.systemNotification'), icon: , color: '#fa8c16', status: `${t('alerts.enabled')}` }, ].map((item, idx) => (
@@ -315,10 +315,10 @@ const BasicSettings = () => { {t('systemSetting.fixed2CriticalAlert')} {t('systemSetting.fixed2GenerationFixed2Descend15')} {t('systemSetting.fixed2Communicating')} - {t('systemSetting.s122')} + {t('systemSetting.everydayPush')} - {t('systemSetting.s132')} + {t('systemSetting.Nighttime')} @@ -328,7 +328,7 @@ const BasicSettings = () => { {/* 用户与权限预览 */} {t('systemSetting.s142')}} + title={{t('systemSetting.fixed2RolePermissionFixed2OverviewFixed2')}} bordered={false} style={{ borderRadius: 10, boxShadow: '0 2px 8px rgba(0,0,0,0.04)', marginBottom: 0 }} bodyStyle={{ padding: '12px' }} @@ -466,7 +466,7 @@ const BasicSettings = () => { {[ { x: 60, y: 40, icon: , label: t('home.inverter') }, { x: 140, y: 40, icon: , label: t('home.combinerBox') }, - { x: 160, y: 80, icon: , label: t('video.s0') }, + { x: 160, y: 80, icon: , label: t('video.WeatherStation') }, { x: 140, y: 120, icon: , label: t('devices.camera') }, { x: 60, y: 120, icon: , label: t('devices.robot') }, { x: 40, y: 80, icon: , label: t('systemSetting.s38') }, diff --git a/src/components/SystemSetting/DroneManagement.tsx b/src/components/SystemSetting/DroneManagement.tsx index fb3d50b..49d5f57 100644 --- a/src/components/SystemSetting/DroneManagement.tsx +++ b/src/components/SystemSetting/DroneManagement.tsx @@ -356,7 +356,7 @@ export default function DroneManagement({ pageSize: droneParams.pageSize, total: droneTotal, showSizeChanger: true, - showTotal: t => `${t('common.total')} ${t} ${t('common.items')}`, + showTotal: r => `${t('common.total')} ${r} ${t('common.items')}`, onChange: (page, pageSize) => { setDroneParams({ ...droneParams, pageNum: page, pageSize }); }, diff --git a/src/components/SystemSetting/MenuList.tsx b/src/components/SystemSetting/MenuList.tsx index 9597ba6..a171598 100644 --- a/src/components/SystemSetting/MenuList.tsx +++ b/src/components/SystemSetting/MenuList.tsx @@ -171,7 +171,7 @@ export default function MenuList() { )} handleDelete(record.menuId)}> - + ), @@ -212,7 +212,7 @@ export default function MenuList() { {/* 菜单弹窗 */} setMenuModal(false)} diff --git a/src/components/SystemSetting/OnlineUser.tsx b/src/components/SystemSetting/OnlineUser.tsx index 2fe9545..37309d8 100644 --- a/src/components/SystemSetting/OnlineUser.tsx +++ b/src/components/SystemSetting/OnlineUser.tsx @@ -115,7 +115,7 @@ const OnlineUserPage = () => { />
- profile.username + {t('profile.username')} `${t('common.total')} ${t} ${t('common.items')}`, + showTotal: (r) => `${t('common.total')} ${r} ${t('common.items')}`, onChange: (page, pageSize) => { setSmartParams({ pageNum: page, pageSize }); }, diff --git a/src/components/SystemSetting/StationManage.tsx b/src/components/SystemSetting/StationManage.tsx index d000600..71d0306 100644 --- a/src/components/SystemSetting/StationManage.tsx +++ b/src/components/SystemSetting/StationManage.tsx @@ -264,7 +264,7 @@ export default function StationManage() { handleDelete(record.id)}> - + ) @@ -319,7 +319,7 @@ export default function StationManage() { {/* 场站弹窗 */} setModalVisible(false)} @@ -497,9 +497,9 @@ export default function StationManage() { footer={null} >
{t('systemSetting.area')} - - - + + +
diff --git a/src/components/SystemSetting/UserPage.tsx b/src/components/SystemSetting/UserPage.tsx index 6703ee1..21313b7 100644 --- a/src/components/SystemSetting/UserPage.tsx +++ b/src/components/SystemSetting/UserPage.tsx @@ -410,7 +410,7 @@ export default function UserRolePage() {
{selectedUserIds.length > 0 && ( )} @@ -498,7 +498,7 @@ export default function UserRolePage() {
{selectedRoleIds.length > 0 && ( )} @@ -512,7 +512,7 @@ export default function UserRolePage() { actions={[ , handleDeleteRole(r.roleId)} title={t('common.confirmDelete')}> - + ]} > @@ -532,8 +532,8 @@ export default function UserRolePage() { title={{r.roleName}} description={ - 权限:{r.roleKey} - 等级:{r.roleLevel || '-'} + {t('systemSetting.permission')}:{r.roleKey} + {t('systemSetting.level')}:{r.roleLevel || '-'} {/*{r.roleKey == "admin1" && {t('roles.superAdmin')}}*/} } @@ -566,7 +566,7 @@ export default function UserRolePage() { {/* 角色弹窗 */} setRoleModalVisible(false)} onOk={handleSaveRole} @@ -600,7 +600,7 @@ export default function UserRolePage() { {userInfo?.roleId == 23 && ( <> - roles.menuPermissions + {t("roles.menuPermissions")} {
{t('router.videoManage')} - - 录像通道与回放管理 · 共 {channels.length} 个通道 - +
diff --git a/src/components/SystemSetting/WorkOrderSettingsManagement.tsx b/src/components/SystemSetting/WorkOrderSettingsManagement.tsx index 34fe679..87e6580 100644 --- a/src/components/SystemSetting/WorkOrderSettingsManagement.tsx +++ b/src/components/SystemSetting/WorkOrderSettingsManagement.tsx @@ -178,7 +178,6 @@ const WorkOrderModelManagement: React.FC = () => { }, [stationId]); const handleAdd = () => { - const { t } = useTranslation(); setEditingItem(null); form.resetFields(); setSelectedDeviceType(null); diff --git a/src/components/devices/DeviceOverviewPage.tsx b/src/components/devices/DeviceOverviewPage.tsx index df9e41a..bb42016 100644 --- a/src/components/devices/DeviceOverviewPage.tsx +++ b/src/components/devices/DeviceOverviewPage.tsx @@ -474,31 +474,31 @@ export default function DeviceOverviewPage() { title: t('devices.fixed2DroneAirportFixed2StatusFixed2'), icon: , value: `${onlineDrones} / ${totalDrones}`, - sub: `可调度 ${onlineDrones} 架`, + sub: `${t('devices.distributable')} ${onlineDrones} ${t('devices.UnitsDrone')}`, color: '#165DFF', iconBg: '#E8F3FF' }, { title: t('home.inspectionRobot'), icon: , - value: `${totalRobots} 台`, - sub: `执行中 ${activeRobots}`, + value: `${totalRobots} ${t('devices.UnitsRobot')}`, + sub: `${t('devices.executing')} ${activeRobots}`, color: '#13c2c2', iconBg: '#E6FFFA' }, { title: t('devices.mowingRobot'), icon: , - value: `${totalMowers} 台`, - sub: `任务中 ${activeMowers}`, + value: `${totalMowers} ${t('devices.UnitsRobot')}`, + sub: `${t('devices.executing')} ${activeMowers}`, color: '#722ED1', iconBg: '#F9F0FF' }, { title: t('devices.washDrone'), icon: , - value: `${totalDrones} 架`, - sub: `待命 ${washDroneStandby}`, + value: `${totalDrones} ${t('devices.UnitsDrone')}`, + sub: `${t('devices.waiting')} ${washDroneStandby}`, color: '#eb2f96', iconBg: '#FFF1F3' }, @@ -514,7 +514,7 @@ export default function DeviceOverviewPage() { title: t('devices.todayTaskExecute'), icon: , value: `${completedTasks} / ${totalTasks}`, - sub: `完成率 ${completionRate}%`, + sub: `${t('devices.completionRate')} ${completionRate}%`, color: '#2f54eb', iconBg: '#E8F3FF' }, @@ -779,7 +779,7 @@ export default function DeviceOverviewPage() {
- 电量 {fix2(realtimeDevice?.capacity_percent || realtimeDevice?.lastRunningStatus?.battery || 100)}% + {t('devices.batteryLevel')}: {fix2(realtimeDevice?.capacity_percent || realtimeDevice?.lastRunningStatus?.battery || 100)}%
{realtimeDevice?.environment_temperature && (
diff --git a/src/components/devices/XboxController.tsx b/src/components/devices/XboxController.tsx index b4dc97d..1eebad8 100644 --- a/src/components/devices/XboxController.tsx +++ b/src/components/devices/XboxController.tsx @@ -1,7 +1,8 @@ - import React, { useEffect, useState, useRef } from 'react'; +import { useTranslation } from 'react-i18next'; const XboxController = ({ onGamepadUpdate, handleControlModal, isControlled, isConnecting, hasControlRight }) => { + const { t } = useTranslation(); const [gamepadState, setGamepadState] = useState<{ buttons: boolean[]; axes: number[]; @@ -135,15 +136,15 @@ const XboxController = ({ onGamepadUpdate, handleControlModal, isControlled, isC `} > {!connected ? ( - '未连接设备' + t('devices.controllerNotConnected') ) : !hasControlRight ? ( - '其他 Web 端已连接' + t('devices.otherWebConnected') ) : isConnecting ? ( - '请求控制中...' + t('devices.control2') ) : isControlled ? ( - '控制中' + t('devices.controlling') ) : ( - '点击获取控制权限' + t('devices.clickToRequestControl') )}
diff --git a/src/locales/en/index.ts b/src/locales/en/index.ts index 5496800..47f523b 100644 --- a/src/locales/en/index.ts +++ b/src/locales/en/index.ts @@ -190,11 +190,16 @@ const en = { taskSuspended2Fixed2: 'Total Task', - completedFixed2: '● Completed Fixed2', + completedFixed2: '● Completed', detectFixed2: '热点 Detect Fixed2', s4: '发现', + solarPanel: 'Solar Panel', + weatherStation: 'Weather Station', + environmentalSensor: 'Environmental Sensor', + + abnormalFixed2HotspotFixed2: '处组件存在 Abnormal Fixed2 Hotspot Fixed2', @@ -206,7 +211,7 @@ const en = { generationDeviationFixed2: '整体 Generation Deviation Fixed2', - gt: '详细 >', + gt: 'More', cleaningFixed2Time: '建议 Cleaning Fixed2 Time :', @@ -222,11 +227,11 @@ const en = { a05HotspotPvA05018PvA05020StatusAbnormal: 'A05阵列 Hotspot 处置建议:建议现场复核PV-A05-018至PV-A05-020组件接线和旁路二极管 Status ,必要时更换 Abnormal 组件。', - fixed2InspectionFixed2TypeFixed2: 'Fixed2 Inspection Fixed2 Type Fixed2', + InspectionType: 'Inspection Type ', - fixed2InspectionFixed2TimeFixed2: 'Fixed2 Inspection Fixed2 Time Fixed2', + InspectionTime: 'Inspection Time', - fixed2Inspection: 'Fixed2 Inspection 人员', + InspectionPerson: 'Inspection Person', fixed2Battery: 'Fixed2 预计提升 发 Battery :', @@ -322,7 +327,7 @@ const en = { unitPlan: 'items', statInProgress: 'In Progress', statWorkingRobots: 'Working Robots', - unitRobot: 'units', + unitRobot: '', statWorking: 'Working', statTotalDistance: 'Total Distance', vsYesterday: 'vs yesterday {{value}}', @@ -479,7 +484,7 @@ const en = { coverClosed: 'Cover Closed', coverOpen: 'Cover Open', coverageEquipment: 'Coverage Equipment', - coverageValue: 'Coverage Value', + coverageValue: '{{types}}/{{units}}', createSuccess: 'Create Success', createTaskException: 'Create Task Exception', createTaskFail: 'Create Task Fail', @@ -568,7 +573,7 @@ const en = { horizontalSpeed: 'Horizontal Speed', hotspotSuspect: 'Hotspot Suspect', inDock: 'in Dock', - inProgressDesc: 'in Progress Desc', + inProgressDesc: 'in Progress ', indoor: 'Indoor', inputCustomAlias: 'Input Custom Alias', inputPlotName: 'Input Plot Name', @@ -910,7 +915,7 @@ const en = { todayWaylinePlan: 'Today Wayline Plan', totalCount: 'Total Count', trendFlat: 'Trend Flat', - trendYesterday: 'Trend Yesterday', + trendYesterday: 'Trend Yesterday {{diff}}', typeAIRecheck: 'Type AI Recheck', typeArrayMow: 'Type Array Mow', typeComponentClean: 'Type Component Clean', @@ -918,10 +923,10 @@ const en = { typeFenceInspect: 'Type Fence Inspect', typeHotspotInspect: 'Type Hotspot Inspect', typeRecheck: 'Type Recheck', - unitGe: 'Unit Ge', - unitJia: 'Unit Jia', - unitTai: 'Unit Tai', - unitTiao: 'Unit Tiao', + unitGe: '', + unitJia: '', + unitTai: '', + unitTiao: '', unknownDevice: 'Unknown Device', unknownDrone: 'Unknown Drone', unknownObject: 'Unknown Object', @@ -1020,6 +1025,11 @@ const en = { s62: 'Signal/Satellite', s72: 'Wind Speed', + distributable: 'Distributable', + UnitsRobot: '', + UnitsDrone: '', + executing: 'Executing', + waiting: 'Waiting', fixed2RtkFixed2StatusFixed2: 'Fixed2 Rtk Fixed2 Status Fixed2', @@ -1097,11 +1107,11 @@ const en = { s83: 'Weekly', control2: 'Requesting Control...', - fixed2Equipment: 'Fixed2 Equipment 协同态势图', + fixed2Equipment: 'Equipment Collaborative Situation Map', s22: 'Legend', - fixed2Inspection: 'Fixed2 Inspection 航线', + fixed2Inspection: 'Inspection Wayline', locationFixed2: '🚗 Machine Location', @@ -1113,9 +1123,9 @@ const en = { fixed2EquipmentListFixed2: 'Equipment Scheduling List', - fixed2ControlFixed2LogDesc6Alert: 'Fixed2 Control Fixed2 Log Desc6 / Alert 记录', + fixed2ControlFixed2LogDesc6Alert: 'Control Log / Alert Record', - fixed2AllLevels: 'Fixed2 All Levels ▼', + fixed2AllLevels: 'All Levels ▼', timeFixed2: 'Activation Time ', @@ -1128,7 +1138,7 @@ const en = { fixed2StopFixed2VideoFixed2: 'Fixed2 Stop Fixed2 Video Fixed2', s29: 'Emergency Stop', - fixed2AiActions: 'Fixed2 AI 分析与 Actions 建议', + fixed2AiActions: 'AI Analysis and Actions Suggestions', s32: '', @@ -1155,7 +1165,7 @@ const en = { s51: 'Cumulative operation time', - fixed2TaskSuspended2Fixed2ExecutionTime: 'Fixed2 Task Suspended2 Fixed2 Execution Time 线', + fixed2TaskSuspended2Fixed2ExecutionTime: 'Task Execution Time Line', fixed2Fixed2DeviceSn: ' Device SN :', @@ -1198,9 +1208,9 @@ const en = { rbt02CompleteFixed2InspectionP01: 'RBT-02 Complete Fixed2 Inspection 航线 P-01', - fixed2DroneAirportFixed2StatusFixed2: 'Fixed2 Drone Airport Fixed2 Status Fixed2', + fixed2DroneAirportFixed2StatusFixed2: 'Drone Airport Status ', - fixed2EquipmentFixed2NameFixed2: 'Fixed2 Equipment Fixed2 Name Fixed2', + fixed2EquipmentFixed2NameFixed2: 'Equipment Name ', statusFixed2: '通讯 Status Fixed2', @@ -1254,7 +1264,7 @@ const en = { waypoint2: '已清空所有 Waypoint 与地图轨迹', - selectTaskStartTimeFixed2: '请 Select Task Start Time Fixed2', + selectTaskStartTimeFixed2: ' Select Task Start Time ', fixed2Fixed2Abnormal: 'Fixed2 接口 Fixed2 Abnormal ,请检查', @@ -1562,7 +1572,8 @@ const en = { trendUp: 'Trend Up', trendZero: 'Trend Zero', triggerCondition: 'Trigger Condition', - yesterdayValue: 'Yesterday Value', + yesterdayValue: 'Yesterday Value {{value}}', + enabled: 'Enabled', }, aiAnalysis: { title: 'AI Diagnosis', @@ -1693,6 +1704,7 @@ const en = { videoAbnormalEvent: 'Video Abnormal Event', videoIntelligentAnalysis: 'Video Intelligent Analysis', waitingSegmentation: 'Waiting Segmentation', + algoCountUnit: "Testing + Division ", '12': '12块组件衰减超标, 建议排查。', @@ -2130,43 +2142,43 @@ const en = { vsLastWeek: 'vs Last Week', vsYesterday: 'vs Yesterday', - id: '工单ID', + id: 'workorder ID', - selectDeviceFixed2: '请 Select Device Fixed2', + selectDeviceFixed2: ' Select Device ', fixed2PleaseSelectFixed2ExecutionStartTimeFixed2: 'Fixed2 Please select Fixed2 Execution Start Time Fixed2', - fixed2WorkOrders: 'Fixed2 Work Orders 管理', + fixed2WorkOrders: 'Work Orders Management', - listFixed2: '工单 List Fixed2', + listFixed2: 'Work Order List ', - fixed2OrderStatus: 'Fixed2 Order Status 分布', + fixed2OrderStatus: 'Work Order Status Distribution', - s5: '总数', + s5: 'Total', - fixed2TaskSuspended2: 'Fixed2 Task Suspended2 排班 / 日历视图', + fixed2TaskSuspended2: 'Task scheduling', - detailFixed2: '工单 Detail Fixed2', + detailFixed2: 'WorkOrder Detail ', - fixed2OrderNo: 'Fixed2 Order No :', + fixed2OrderNo: 'Order No :', - fixed2Source: 'Fixed2 Source :', + fixed2Source: 'Source :', - fixed2OrderType: 'Fixed2 Order Type :', + fixed2OrderType: 'Order Type :', - fixed2ExecutionStartTime: 'Fixed2 Execution Start Time :', + fixed2ExecutionStartTime: 'Execution Start Time :', - fixed2RelatedDevice: 'Fixed2 Related Device :', + fixed2RelatedDevice: 'Related Device :', - fixed2RelatedArea: 'Fixed2 Related Area :', + fixed2RelatedArea: ' Related Area :', - fixed2CurrentStatus: 'Fixed2 Current Status :', + fixed2CurrentStatus: 'Current Status :', - fixed2TaskDescription: 'Fixed2 Task Description :', + fixed2TaskDescription: 'Task Description :', - fixed2Attachments: 'Fixed2 Attachments :', + fixed2Attachments: 'Attachments :', - fixed2HandledFixed2CompleteFixed2: 'Fixed2 Handled Fixed2 Complete Fixed2', + fixed2HandledFixed2CompleteFixed2: 'Handled Complete ', s22: 'Fixed', @@ -2179,13 +2191,18 @@ const en = { dispatch2: 'Pending Dispatch Work Order', s32: 'Selected Work Order', + today: 'Today', handleFixed2DetailRemarkFixed2InfoFixed2: 'Please fill in Handle Fixed2 Detail 、 Remark Fixed2 Info Fixed2', - fixed2TodayRecordingsFixed2AddNew: 'Fixed2 Today Recordings Fixed2 Add New Work Order', + fixed2TodayRecordingsFixed2AddNew: 'Today Add New Work Order', - fixed2InProgress: 'Fixed2 In Progress Work Order', + fixed2InProgress: 'In Progress Work Order', handle: 'Average Handle Time', + hour: "Hour", + workorderUnit: '', + notitle: 'No Title', + noRelatedArea: '--', fixed2Ai: ' AI Suggested Generation', @@ -2330,11 +2347,16 @@ const en = { videoCodecMseNotSupported: 'MSE in this browser does not support the video codec', mediaSourceNotSupported: 'MediaSource is not supported by this browser', flvMseHint: 'Tip: Playing FLV requires MSE support in the browser', + batchDelete: 'Batch Delete(selected', + deleteUnit: ")", + level: 'Level', exportLogFileName: 'system-log', exportLogSuccess: 'Exported {count} log entries successfully', forceLogoutSent: 'Force logout command sent to session {sessionId}', + everydayPush: 'Everyday Push', + Nighttime: 'Nighttime do-not-disturb mode', title: 'System Settings', basicSettings: 'Basic Settings', @@ -2464,670 +2486,681 @@ const en = { getErrorListFailed: 'Failed to get error list', operationFailed: 'Operation failed', account: 'Account', - batchDeleteRolesTitle: 'Batch Delete Roles Title', + batchDeleteRolesTitle: 'Batch Delete Roles', batchDeleteSuccess: 'Batch Delete Success', - batchDeleteUsersTitle: 'Batch Delete Users Title', - belongingOrg: 'Belonging Org', - belongingSite: 'Belonging Site', + batchDeleteUsersTitle: 'Batch Delete Users', + belongingOrg: 'Belonging Organization', + belongingSite: 'Belonging Station', chooseRole: 'Choose Role', confirmDeleteSelectedRoles: 'Confirm Delete Selected Roles', confirmDeleteSelectedUsers: 'Confirm Delete Selected Users', confirmDeleteUser: 'Confirm Delete User', - deviceOperatePermLabel: 'Device Operate Perm Label', - devicePerm: 'Device Perm', + deviceOperatePermLabel: 'Device Operation Permission', + devicePerm: 'Device Permission', editPasswordPlaceholder: 'Edit Password Placeholder', editRole: 'Edit Role', has: 'Has', - hasPerm: 'Has Perm', - levelLabel: 'Level Label', - nicknameShort: 'Nickname Short', - noPerm: 'no Perm', + hasPerm: 'Has Permission', + levelLabel: 'Level', + nicknameShort: 'Nickname', + noPerm: 'No Permission', none: 'None', permissionLabel: 'Permission Label', - phoneShort: 'Phone Short', + phoneShort: 'Phone', pleaseInputRoleLevel: 'Please Input Role Level', - pleaseSelectOrg: 'Please Select Org', + pleaseSelectOrg: 'Please Select Organization', pleaseSelectRoles: 'Please Select Roles', - pleaseSelectSite: 'Please Select Site', + pleaseSelectSite: 'Please Select Station', pleaseSelectUsers: 'Please Select Users', - resetFail: 'Reset Fail', + resetFail: 'Reset Failed', roleLevel: 'Role Level', totalCount: 'Total Count', userAndRole: 'User and Role', + editMenu: 'Edit Menu', + addMenu: 'Add Menu', + editSite: 'Edit Station', + addSite: 'Add Station', - '5': '5 分钟', - '192168165': '例如:192.168.1.65', - '1921681100': '例如: 192.168.1.100', + '5': '5 Minutes', - fixed2AddNewFixed2Alert: 'Fixed2 Add New Fixed2 Alert 模型', + '192168165': 'e.g.: 192.168.1.65', - fixed2PleaseSelectFixed2ErrorCodeFixed2: 'Fixed2 Please select Fixed2 Error Code Fixed2', + '1921681100': 'e.g.: 192.168.1.100', - s3: '消息推送配置', + fixed2AddNewFixed2Alert: 'Add New Alert Model', - fixed2PleaseSelectOrder: 'Fixed2 Please Select Order 模型', + fixed2PleaseSelectFixed2ErrorCodeFixed2: 'Please select error code', - generateOrderFixed2: '自动 Generate Order Fixed2', + s3: 'Message Push Configuration', - alertListFixed2FailedFixed2: '获取 Alert 模型 List Fixed2 Failed Fixed2', + fixed2PleaseSelectOrder: 'Please select order model', - delete: '请先勾选要 Delete 的数据', + generateOrderFixed2: 'Auto Generate Order', - fixed2ConfirmFixed2DeleteFixed2: 'Fixed2 Confirm Fixed2 Delete Fixed2', + alertListFixed2FailedFixed2: 'Failed to get alert model list', - okDeleteAlert: '您 OK 要 Delete 这条 Alert 模型吗?', + delete: 'Please select data to delete', - fixed2BatchDeleteFixed2ConfirmFixed2: 'Fixed2 Batch Delete Fixed2 Confirm Fixed2', + fixed2ConfirmFixed2DeleteFixed2: 'Confirm Delete', - fixed2PleaseEnterFixed2EquipmentNameFixed2: 'Fixed2 Please enter Fixed2 Equipment Name Fixed2', + okDeleteAlert: 'Are you sure you want to delete this alert model?', - fixed2Device: 'Fixed2 Device 码', + fixed2BatchDeleteFixed2ConfirmFixed2: 'Confirm Batch Delete', - s2: '工单模型管理', + fixed2PleaseEnterFixed2EquipmentNameFixed2: 'Please enter equipment name', - fixed2EditFixed2DeviceFixed2: 'Fixed2 Edit Fixed2 Device Fixed2', + fixed2Device: 'Device Code', - s0: '通道', + s2: 'Work Order Model Management', - fixed2Ai: 'Fixed2 AI 建议自动生成', + fixed2EditFixed2DeviceFixed2: 'Edit Device', - s5: '授权', + s0: 'Channel', - fixed2SaveFixed2SettingsFixed2: 'Fixed2 Save Fixed2 Settings Fixed2', + fixed2Ai: 'AI Suggestion Auto‑Generate', - fixed2ResumeFixed2DefaultFixed2: 'Fixed2 Resume Fixed2 Default Fixed2', + s5: 'Authorization', - alert: '钉钉 Alert 推送', + fixed2SaveFixed2SettingsFixed2: 'Save', - fixed2CriticalAlert: 'Fixed2 Critical Alert 立即通知', + fixed2ResumeFixed2DefaultFixed2: 'Restore Default', - fixed2GenerationFixed2Descend15: 'Fixed2 Generation Fixed2 Descend 超过 15%', + alert: 'DingTalk Alert Push', - fixed2Communicating: 'Fixed2 Communicating 断通知', + fixed2CriticalAlert: 'Immediate notification for critical alarms', - s12: '选择配置', + fixed2GenerationFixed2Descend15: 'Power generation drop exceeds 15%', - s13: '详细地址', + fixed2Communicating: 'Communication interruption notification', - s14: '地址', + s12: 'Select configuration', - fixed2RolePermissionFixed2OverviewFixed2: 'Fixed2 Role Permission Fixed2 Overview Fixed2', + s13: 'Detailed Address', - fixed2DeviceAccessFixed2StatusFixed2: 'Fixed2 Device Access Fixed2 Status Fixed2', + s14: 'Address', - s19: '路径/航线', + fixed2RolePermissionFixed2OverviewFixed2: 'Role Permission Overview', - fixed2Default: 'Fixed2 Default 值', + fixed2DeviceAccessFixed2StatusFixed2: 'Device Access Status', - default: '首页 Default 页面', + s19: 'route/wayline', - refreshFixed2FrequencyFixed2: '数据 Refresh Fixed2 Frequency Fixed2', + fixed2Default: 'Default Value', - s23: '二维码', + default: 'Default Page', - fixed2SettingsSaveFixed2: 'Fixed2 Settings 已 Save Fixed2', + refreshFixed2FrequencyFixed2: 'Data Refresh Frequency', - fixed2Current: 'Fixed2 Current 版本', + s23: 'qrcode', - fixed2Alert: 'Fixed2 Alert 模型管理', + fixed2SettingsSaveFixed2: 'Settings Saved', - statusFixed2: '数据备份 Status Fixed2', + fixed2Current: 'Current Version', - s28: '开启钉钉推送时必须填写加密密钥', + fixed2Alert: 'Alert Model Management', - fixed2OM: 'Fixed2 O&M 工程师', + statusFixed2: 'Data backup status', - fixed2Inspection: 'Fixed2 Inspection 区', + s28: 'Encryption key is required when enabling DingTalk push', - s32: '连接协议', + fixed2OM: 'O&M Engineer', - s36: '用户名', + fixed2Inspection: 'Inspection Area', - s37: '关联产品', + s32: 'Connection Protocol', - s38: '接口', + s36: 'name', - s39: '数据保留', + s37: 'Related products', - fixed2Login: 'Fixed2 Login 地点', + s38: 'Interface', - s41: '端口', + s39: 'Data retention', - api: 'API 密钥', + fixed2Login: 'Login location', - s43: '最近备份', + s41: 'port', - ssl: 'SSL 证书', + api: 'API key', + WeatherStation: 'Weather Station', - s45: '双因素认证', + s43: 'recent backup', - s46: '清理缓存', + ssl: 'SSL certificate', - s47: '重启服务', + s45: 'Two‑Factor Authentication', - downloadFixed2: '备份 Download Fixed2', + s46: 'clear storage', - fixed2LogDesc6Fixed2ExportFixed2: 'Fixed2 Log Desc6 Fixed2 Export Fixed2', + s47: 'restart service', - s1: '年', + downloadFixed2: 'Backup Download', - fixed2Camera: 'Fixed2 Camera 管理', + fixed2LogDesc6Fixed2ExportFixed2: 'Export Log', - fixed2OfflineErrorFixed2: 'Fixed2 Offline / Error Fixed2', + s1: 'Year', - fixed2AddNewFixed2CameraFixed2: 'Fixed2 Add New Fixed2 Camera Fixed2', + fixed2Camera: 'Camera Management', - fixed2Hd: 'Fixed2 HD 枪机', + fixed2OfflineErrorFixed2: 'Offline / Error', - s8: '开始绘制', + fixed2AddNewFixed2CameraFixed2: 'Add New Camera', - fixed2Panorama: 'Fixed2 Panorama 摄像机', + fixed2Hd: 'HD Bullet Camera', - s10: '选择型号', + s8: 'Start Drawing', - s11: '大小', + fixed2Panorama: 'Panorama Camera', - fixed2PleaseEnterFixed2NameIp: 'Fixed2 Please enter Fixed2 Name /编码/IP', + s10: 'Select Model', - fixed2Status: 'Fixed2 Status 筛选', + s11: 'Size', - fixed2PleaseEnterFixed2Device: 'Fixed2 Please enter Fixed2 Device 编码', + fixed2PleaseEnterFixed2NameIp: 'Please enter Name / Code / IP', - fixed2CameraFixed2TypeFixed2: 'Fixed2 Camera Fixed2 Type Fixed2', + fixed2Status: 'Status Filter', - fixed2PleaseSelectFixed2TypeFixed2: 'Fixed2 Please select Fixed2 Type Fixed2', + fixed2PleaseEnterFixed2Device: 'Please enter device code', - s21: '产品编码', + fixed2CameraFixed2TypeFixed2: 'Camera Type', - fixed2PleaseSelect: 'Fixed2 Please select 预设路径', + fixed2PleaseSelectFixed2TypeFixed2: 'Please select type', - locationFixed2: '安装 Location Fixed2', + s21: 'Product Code', - fixed2PleaseEnterLocationFixed2: 'Fixed2 Please enter 安装 Location Fixed2', + fixed2PleaseSelect: 'Please select preset wayline', - controlFixed2: '云台 Control Fixed2', + locationFixed2: 'Installation Location', - s29: '编码', + fixed2PleaseEnterLocationFixed2: 'Please enter installation location', - s30: '夜视', + controlFixed2: 'PTZ Control', - fixed2PleaseEnterFixed2IpAddressFixed2: 'Fixed2 Please enter Fixed2 IP Address Fixed2', + s29: 'Code', - s4: '清扫区', + s30: 'Night Vision', - fixed2AddNewFixed2DeviceFixed2: 'Fixed2 Add New Fixed2 Device Fixed2', + fixed2PleaseEnterFixed2IpAddressFixed2: 'Please enter IP Address', - s6: '序列号', + s4: 'Cleaning Area', - fixed2AddNew: 'Fixed2 Add New 工单模型', + fixed2AddNewFixed2DeviceFixed2: 'Add New Device', - fixed2AlertFixed2Threshold: 'Fixed2 Alert Fixed2 Threshold 配置', + s6: 'Serial Number', - s15: '清除组织绑定', + fixed2AddNew: 'Add New Work Order Model', - s16: '开启', + fixed2AlertFixed2Threshold: 'Alert Threshold Configuration', - s17: '钉钉工单推送', + s15: 'Clear Organization Binding', - s18: '指令', + s16: 'Enable', - fixed2OkDelete: 'Fixed2 OK 要 Delete 该产品吗?', + s17: 'DingTalk Work‑Order Push', - fixed2PleaseEnter: 'Fixed2 Please enter 序列号', + s18: 'Command', - nameFixed2: '工单 Name Fixed2', + fixed2OkDelete: 'Are you sure you want to delete this product?', - fixed2PleaseEnterFixed2NameFixed2: 'Fixed2 Please enter Fixed2 Name Fixed2', + fixed2PleaseEnter: 'Please enter serial number', - s25: '分区编码', + nameFixed2: 'Work Order Name', - s27: '协议编码', + fixed2PleaseEnterFixed2NameFixed2: 'Please enter name', - s33: '协议', + s25: 'Zone Code', - fixed2DeviceSn: 'Fixed2 Device SN', + s27: 'Protocol Code', - fixed2PleaseEnterFixed2DeviceSn: 'Fixed2 Please enter Fixed2 Device SN', + s33: 'Protocol', - ip: 'IP 地址', + fixed2DeviceSn: 'Device SN', - fixed2Default80: 'Fixed2 Default 80', + fixed2PleaseEnterFixed2DeviceSn: 'Please enter Device SN', - fixed2LoginFixed2AccountFixed2: 'Fixed2 Login Fixed2 Account Fixed2', + ip: 'IP Address', - fixed2DeviceFixed2LoginFixed2AccountFixed2: 'Fixed2 Device Fixed2 Login Fixed2 Account Fixed2', + fixed2Default80: 'Default 80', - fixed2LoginFixed2PasswordFixed2: 'Fixed2 Login Fixed2 Password Fixed2', + fixed2LoginFixed2AccountFixed2: 'Login Account', - fixed2DeviceFixed2LoginFixed2PasswordFixed2: 'Fixed2 Device Fixed2 Login Fixed2 Password Fixed2', + fixed2DeviceFixed2LoginFixed2AccountFixed2: 'Device Login Account', - rtsp: 'RTSP 地址', + fixed2LoginFixed2PasswordFixed2: 'Login Password', - mqtt: 'MQTT 用户名', + fixed2DeviceFixed2LoginFixed2PasswordFixed2: 'Device Login Password', - s50: '客户端唯一标识', + rtsp: 'RTSP Address', - mqttAccount: 'MQTT Account (选填)', + mqtt: 'MQTT Username', - mqttPasswordFixed2: 'MQTT Password Fixed2', + s50: 'Client Unique ID', - mqttPassword: 'MQTT Password (选填)', + mqttAccount: 'MQTT Account (Optional)', - s55: '上限值', + mqttPasswordFixed2: 'MQTT Password', - s56: '下限值', + mqttPassword: 'MQTT Password (Optional)', - fixed2CurrentNotSetFixed2AlertThresholdFixed2: 'Fixed2 Current 物模型 Not Set Fixed2 Alert 属性,无法配置 Threshold Fixed2', + s55: 'Upper Threshold', - s58: '产品编号', + s56: 'Lower Threshold', - s59: '智能网关', + fixed2CurrentNotSetFixed2AlertThresholdFixed2: 'Alert attributes are not configured for this thing model, threshold cannot be set', - s60: '厂商', + s58: 'Product ID', - s61: '迈步科技', + s59: 'Smart Gateway', - typeFixed2: '分区 Type Fixed2', + s60: 'Manufacturer', - topic: '订阅Topic', + s61: 'Maibu Technology', - s69: '配置属性', + typeFixed2: 'Zone Type', - s70: '属性编码', + topic: 'Subscribe Topic', - temp: '如 temp', + s69: 'Configure Attribute', - temperatureFixed2: '如 Temperature Fixed2', + s70: 'Attribute Code', - s76: '配置指令', + temp: 'e.g. temp', - s77: '指令编码', + temperatureFixed2: 'e.g. Temperature', - s79: '参数名', + s76: 'Configure Command', - s80: '标准字段', + s77: 'Command Code', - s81: '厂商原始字段', + s79: 'Parameter Name', - s82: '转换规则', + s80: 'Standard Field', - id: '模型ID', + s81: 'Vendor Original Field', - listFixed2: '指令 List Fixed2', + s82: 'Conversion Rule', - s88: '编码', + id: 'Model ID', - s89: '参数', + listFixed2: 'Command List', - fixed2Uav: 'Fixed2 UAV 管理', + s88: 'Code', - equipmentFixed2: '绑定智能 Equipment Fixed2', + s89: 'Parameter', - fixed2Robot: 'Fixed2 Robot 型号', + fixed2Uav: 'UAV Management', - uavFixed2: '绑定 UAV Fixed2', + equipmentFixed2: 'Bind Smart Equipment', - s7: '预设路径', + fixed2Robot: 'Robot Model', - s9: '所属场站', + uavFixed2: 'Bind UAV', - sn: '机场SN', + s7: 'Preset Wayline', - sn001Sn002: '例如: SN001, SN002', + s9: 'station', - leaderFixed2: '请先选择场站后选择 Leader Fixed2', + sn: 'airport SN', - uavFixed2ListFixed2FailedFixed2: '获取 UAV Fixed2 List Fixed2 Failed Fixed2', + sn001Sn002: 'ex: SN001, SN002', - listUavFixed2: '请先在 List 中选中需要绑定的 UAV Fixed2', + leaderFixed2: 'Select station first, then select leader', - successFixed2: '解绑 Success Fixed2', + uavFixed2ListFixed2FailedFixed2: 'Failed to get UAV list', - fixed2ActionsFixed2AbnormalFixed2: 'Fixed2 Actions Fixed2 Abnormal Fixed2', + listUavFixed2: 'Please select UAV from list before binding', - device: '请填写 Device 码', + successFixed2: 'Unbind Success', - fixed2Confirm: 'Fixed2 Confirm 解绑', + fixed2ActionsFixed2AbnormalFixed2: 'Operation Abnormal', - fixed2PleaseEnterSn: 'Fixed2 Please enter SN', + device: 'Please fill device code', - fixed2PleaseSelectFixed2LeaderFixed2: 'Fixed2 Please select Fixed2 Leader Fixed2', + fixed2Confirm: 'Confirm Unbind', - fixed2DownloadFixed2VideoFixed2: 'Fixed2 Download Fixed2 Video Fixed2', + fixed2PleaseEnterSn: 'Please enter SN', - playFixed2VideoFixed2: '点击手动 Play Fixed2 Video Fixed2', + fixed2PleaseSelectFixed2LeaderFixed2: 'Please select leader', - flvPlayFixed2: '💡 非FLV使用浏览器原生 Play Fixed2', + fixed2DownloadFixed2VideoFixed2: 'Download Video', - fixed2PlayFixed2FailedFixed2: 'Fixed2 Play Fixed2 Failed Fixed2', + playFixed2VideoFixed2: 'Click to play manually', - equipmentControlActionsSuperAdminViewFixed2: '系统运行、 Equipment Control 与管理员 Actions 流水,仅 Super Admin 可 View Fixed2', + flvPlayFixed2: '💡 Non‑FLV files use browser native player', - fixed2SearchOperatorSourceFixed2: 'Fixed2 Search 消息 / Operator / Source Fixed2', + fixed2PlayFixed2FailedFixed2: 'Play Failed', - fixed2LogDesc6RefreshFixed2: 'Fixed2 Log Desc6 已 Refresh Fixed2', + equipmentControlActionsSuperAdminViewFixed2: 'System runtime, equipment control and administrator operation logs, only visible to Super Admin', - fixed2RobotAlphaStatusCompleteFixed2: 'Fixed2 Robot 智慧服务系统 Alpha 三服务(接入/ Status /命令)启动 Complete Fixed2', + fixed2SearchOperatorSourceFixed2: 'Search message / operator / source', - robot001SeqD6b5d545ExecuteSuccessFixed2: '向 ROBOT-001 下发移动命令(seq=d6b5d545), Execute 结果: Success Fixed2', + fixed2LogDesc6RefreshFixed2: 'Log refreshed', - fixed2AddNewFixed2OMAccountRoleOM: 'Fixed2 Add New Fixed2 O&M 工程师 Account 「李工」, Role : O&M 工程师', + fixed2RobotAlphaStatusCompleteFixed2: 'Robot smart service system Alpha three services (access / status / command) started completely', - drone00160sOfflineFixed2: 'DRONE-001 心跳超时(>60s),已自动置为 Offline Fixed2', + robot001SeqD6b5d545ExecuteSuccessFixed2: 'Move command sent to ROBOT‑001 (seq=d6b5d545), execution result: Success', - robot002ExecuteInspection1FailedFixed2: 'ROBOT-002 Execute 「自主 Inspection 」超时,已自动重试 1 次后仍 Failed Fixed2', + fixed2AddNewFixed2OMAccountRoleOM: 'Add new O&M engineer account "Li Gong", Role: O&M Engineer', - fixed2ModifyFixed2SystemNameRefreshFixed2Frequency5min1min: 'Fixed2 Modify Fixed2 System Name 与数据 Refresh Fixed2 Frequency (5min → 1min)', + drone00160sOfflineFixed2: 'DRONE‑001 heartbeat timeout (>60s), auto set to Offline', - fixed2DeviceRobot001StatusBattery85AbModePatrol: 'Fixed2 Device ROBOT-001 上报 Status : Battery 85%, ab Mode patrol', + robot002ExecuteInspection1FailedFixed2: 'ROBOT‑002 execute "Auto Inspection" timeout, auto‑retried once and still failed', - fixed2InverterInv03VsYesterdayFixed2Descend16: 'Fixed2 Inverter INV-03 输出功率 vs Yesterday Fixed2 Descend 16%,触发预警', + fixed2ModifyFixed2SystemNameRefreshFixed2Frequency5min1min: 'Modify system name and data refresh frequency (5min → 1min)', - cam04: '调整 CAM-04 热成像通道码率参数', + fixed2DeviceRobot001StatusBattery85AbModePatrol: 'Device ROBOT‑001 reported status: Battery 85%, mode patrol', - completeBackup202608100200Tar: '每日自动备份 Complete ,备份文件:backup-20260810-0200.tar', + fixed2InverterInv03VsYesterdayFixed2Descend16: 'INV‑03 output power dropped 16% compared with yesterday, alarm triggered', - fixed2UnknownDeviceSecretFailedSourceIp1001245: 'Fixed2 Unknown Device 尝试注册(secret 校验 Failed ),已拒绝, Source IP:10.0.12.45', + cam04: 'Adjust bitrate parameter for CAM‑04 thermal channel', - roleReportCenterExport: '为「数据分析师」 Role 授权「 Report Center - Export 」权限', + completeBackup202608100200Tar: 'Daily automatic backup completed, backup file: backup‑20260810‑0200.tar', - fixed2AddNewMenuFixed2: 'Fixed2 Add New 子 Menu Fixed2', + fixed2UnknownDeviceSecretFailedSourceIp1001245: 'Unknown device tried registration (secret verify failed), rejected, Source IP:10.0.12.45', - fixed2AddNewFixed2MenuFixed2: 'Fixed2 Add New Fixed2 Menu Fixed2', + roleReportCenterExport: 'Grant "Report Center‑Export" permission to role "Data Analyst"', - fixed2PleaseEnterFixed2MenuNameFixed2: 'Fixed2 Please enter Fixed2 Menu Name Fixed2', + fixed2AddNewMenuFixed2: 'Add New Sub Menu', - sortOrderFixed2: '显示 Sort Order Fixed2', + fixed2AddNewFixed2MenuFixed2: 'Add New Menu', - menuIconFixed2: '选择 Menu Icon Fixed2', + fixed2PleaseEnterFixed2MenuNameFixed2: 'Please enter menu name', - fixed2OthersContentFixed2: 'Fixed2 Others 监控 Content Fixed2', + sortOrderFixed2: 'Display Sort Order', - statusCpuContentFixed2: '这里可以放服务 Status 、CPU监控、内存监控、接口监控等 Content Fixed2', + menuIconFixed2: 'Select Menu Icon', - fixed2Others: 'Fixed2 Others 监控', + fixed2OthersContentFixed2: 'Other monitoring content', - fixed2PleaseEnterFixed2Login: 'Fixed2 Please enter Fixed2 Login 地址', + statusCpuContentFixed2: 'Service status, CPU monitor, memory monitor, api monitor and other content', - fixed2PleaseEnterFixed2UsernameFixed2: 'Fixed2 Please enter Fixed2 Username Fixed2', + fixed2Others: 'Other Monitoring', - fixed2SearchFixed2CompleteFixed2: 'Fixed2 Search Fixed2 Complete Fixed2', + fixed2PleaseEnterFixed2Login: 'Please enter login address', - resetFixed2Search: '已 Reset Fixed2 Search 条件', + fixed2PleaseEnterFixed2UsernameFixed2: 'Please enter username', - fixed2LoginFixed2NameFixed2: 'Fixed2 Login Fixed2 Name Fixed2', + fixed2SearchFixed2CompleteFixed2: 'Search completed', - fixed2Actions: 'Fixed2 Actions 系统', + resetFixed2Search: 'Search conditions reset', - fixed2LoginFixed2TimeFixed2: 'Fixed2 Login Fixed2 Time Fixed2', + fixed2LoginFixed2NameFixed2: 'Login Name', - fixed2OkFixed2Delete: 'Fixed2 OK Fixed2 Delete 选中项?', + fixed2Actions: 'Operation Log', - fixed2PleaseEnterFixed2OrganizationNameFixed2: 'Fixed2 Please enter Fixed2 Organization Name Fixed2', + fixed2LoginFixed2TimeFixed2: 'Login Time', - fixed2PleaseEnterFixed2LeaderFixed2: 'Fixed2 Please enter Fixed2 Leader Fixed2', + fixed2OkFixed2Delete: 'Delete selected items?', - fixed2PleaseEnterFixed2ContactPhoneFixed2: 'Fixed2 Please enter Fixed2 Contact Phone Fixed2', + fixed2PleaseEnterFixed2OrganizationNameFixed2: 'Please enter organization name', - fixed2PleaseEnterFixed2EmailFixed2: 'Fixed2 Please enter Fixed2 Email Fixed2', + fixed2PleaseEnterFixed2LeaderFixed2: 'Please enter leader', - fixed2PleaseEnterFixed2RemarkFixed2: 'Fixed2 Please enter Fixed2 Remark Fixed2', + fixed2PleaseEnterFixed2ContactPhoneFixed2: 'Please enter contact phone', - robot: '钉钉 Robot 加签密钥', + fixed2PleaseEnterFixed2EmailFixed2: 'Please enter email', - detailFixed2: '二维码 Detail Fixed2', + fixed2PleaseEnterFixed2RemarkFixed2: 'Please enter remark', - fixed2RobotFixed2TypeFixed2: 'Fixed2 Robot Fixed2 Type Fixed2', + robot: 'DingTalk Robot Signature Secret', - fixed2PleaseSelectDelete: 'Fixed2 Please select 要 Delete 的数据', + detailFixed2: 'QR‑Code Detail', - s22: '钉钉加密密钥', + fixed2RobotFixed2TypeFixed2: 'Robot Type', - fixed2TypeFixed2NameFixed2: 'Fixed2 Type Fixed2 Name Fixed2', + fixed2PleaseSelectDelete: 'Please select data to delete', - fixed2SettingsFixed2DeviceFixed2ActionsDeviceActions: 'Fixed2 Settings Fixed2 Device Fixed2 Actions 授权,授权到期后 Device 将失去对应 Actions 权限', + s22: 'DingTalk Encryption Secret', - fixed2Save: 'Fixed2 Save 边界', + fixed2TypeFixed2NameFixed2: 'Type Name', - id001Id002: '例如: ID001, ID002', + fixed2SettingsFixed2DeviceFixed2ActionsDeviceActions: 'Device operation authorization, device loses corresponding permission after authorization expires', - fixed2EditEquipmentFixed2InfoFixed2: 'Fixed2 Edit 智能 Equipment Fixed2 Info Fixed2', + fixed2Save: 'Save Boundary', - fixed2PleaseEnterFixed2DeviceSnFixed2: 'Fixed2 Please enter Fixed2 Device Sn Fixed2', + id001Id002: 'e.g: ID001, ID002', - onlineStatusFixed2: '选择 Online Status Fixed2', + fixed2EditEquipmentFixed2InfoFixed2: 'Edit Smart Equipment Info', - fixed2PleaseEnterTimeFixed2: 'Fixed2 Please enter 授权剩余 Time Fixed2', + fixed2PleaseEnterFixed2DeviceSnFixed2: 'Please enter Device SN', - equipmentFixed2ListFixed2FailedFixed2: '获取智能 Equipment Fixed2 List Fixed2 Failed Fixed2', + onlineStatusFixed2: 'Select Online Status', - fixed2EquipmentFixed2EditSuccessFixed2: 'Fixed2 Equipment Fixed2 Edit Success Fixed2', + fixed2PleaseEnterTimeFixed2: 'Please enter remaining authorization time', - fixed2SaveSuccessFixed2: 'Fixed2 Save 参数 Success Fixed2', + equipmentFixed2ListFixed2FailedFixed2: 'Failed to get smart equipment list', - listEquipmentFixed2: '请先在 List 中选中需要绑定的智能 Equipment Fixed2', + fixed2EquipmentFixed2EditSuccessFixed2: 'Smart equipment edit succeeded', - failedFixed2: '读取文件 Failed Fixed2', + fixed2SaveSuccessFixed2: 'Parameter saved successfully', - fixed2PleaseSelectFixed2EquipmentFixed2: 'Fixed2 Please select Fixed2 Equipment Fixed2', + listEquipmentFixed2: 'Please select smart equipment from list before binding', - equipmentNameFixed2: '请填写 Equipment Name Fixed2', + failedFixed2: 'Failed to read file', - fixed2PleaseSelectFixed2OnlineStatusFixed2: 'Fixed2 Please select Fixed2 Online Status Fixed2', + fixed2PleaseSelectFixed2EquipmentFixed2: 'Please select equipment', - timeLessThan0: '授权 Time 不能 Less Than 0', + equipmentNameFixed2: 'Please fill equipment name', - settingsFixed2: '分区 Settings Fixed2', + fixed2PleaseSelectFixed2OnlineStatusFixed2: 'Please select online status', - area: '地图 Area 绘制(可自行接入高德/百度地图)', + timeLessThan0: 'Authorization time cannot be less than 0', - fixed2PleaseSelectOrg: 'Fixed2 Please Select Org 筛选', + settingsFixed2: 'Zone Settings', - fixed2PleaseSelectFixed2BelongingOrgFixed2: 'Fixed2 Please select Fixed2 Belonging Org Fixed2', + area: 'Map Area Drawing (Supports Amap / Baidu Map)', - fixed2Email: 'Fixed2 Email 推送', + fixed2PleaseSelectOrg: 'Filter by organization', - robotToken: '钉钉 Robot Token', + fixed2PleaseSelectFixed2BelongingOrgFixed2: 'Please select belonging organization', - fixed2PleaseEnterRobotWebhookToken: 'Fixed2 Please enter 钉钉 Robot Webhook Token', + fixed2Email: 'Email Push', - token: '开启钉钉推送时必须填写Token', + robotToken: 'DingTalk Robot Token', - fixed2Error: 'Fixed2 Error 管理', + fixed2PleaseEnterRobotWebhookToken: 'Please enter DingTalk Robot Webhook Token', - fixed2SelectDevice: 'Fixed2 Select Device 通道', + token: 'Token is required when enabling DingTalk push', - video: '无法连接 Video 服务', + fixed2Error: 'Error Management', - time: '请先选择完整的 Time 路径', + fixed2SelectDevice: 'Select Device Channel', - fixed2PleaseEnterNameFixed2: 'Fixed2 Please enter 工单 Name Fixed2', + video: 'Cannot connect to video service', - selectDeviceFixed2: '请 Select Device Fixed2', + time: 'Please select complete time range', - fixed2PleaseSelectFixed2DroneWaylineFixed2: 'Fixed2 Please select Fixed2 Drone Wayline Fixed2', + fixed2PleaseEnterNameFixed2: 'Please enter work‑order name', - generateTaskFixed2: '自动 Generate Task Fixed2', + selectDeviceFixed2: 'Please select device', - listFixed2FailedFixed2: '获取工单模型 List Fixed2 Failed Fixed2', + fixed2PleaseSelectFixed2DroneWaylineFixed2: 'Please select drone wayline', - okDelete: '您 OK 要 Delete 这条工单模型吗?', + generateTaskFixed2: 'Auto Generate Task', - fixed2AlertRulesRoleSettingsFixed2: 'Fixed2 Alert Rules 配置、用户 Role 、通知管理与系统参数 Settings Fixed2', + listFixed2FailedFixed2: 'Failed to get work‑order model list', - fixed2DeviceFixed2Fixed2: 'Fixed2 Device Fixed2 授权 Fixed2', + okDelete: 'Are you sure you want to delete this work‑order model?', - fixed2AlertFixed2Fixed2: 'Fixed2 Alert Fixed2 参数 Fixed2', + fixed2AlertRulesRoleSettingsFixed2: 'Alert rules, user roles, notification management and system parameter settings', - fixed2: '请先生成 二维码 Fixed2', + fixed2DeviceFixed2Fixed2: 'Device Authorization', - noneFixed2: 'None 指令 Fixed2', + fixed2AlertFixed2Fixed2: 'Alert Parameters', - fixed2Fixed2Fixed2: 'Fixed2 指令 Fixed2 参数 Fixed2', + fixed2: 'Please generate QR‑Code first', - fixed2PleaseEnterFixed2Fixed2: 'Fixed2 Please enter Fixed2 地址 Fixed2', + noneFixed2: 'No Commands', - fixed2PleaseSelectFixed2Fixed2: 'Fixed2 Please select Fixed2 关联产品 Fixed2', + fixed2Fixed2Fixed2: 'Command Parameters', - mqttFixed2: 'MQTT 端口 Fixed2', + fixed2PleaseEnterFixed2Fixed2: 'Please enter address', - fixed2Fixed2NameFixed2: 'Fixed2 指令 Fixed2 Name Fixed2', + fixed2PleaseSelectFixed2Fixed2: 'Please select related product', - fixed2LoginFixed2Fixed2: 'Fixed2 Login Fixed2 地址 Fixed2', + mqttFixed2: 'MQTT Port', - fixed2PleaseEnterFixed2: 'Fixed2 Please enter 组织 编码 Fixed2', + fixed2Fixed2NameFixed2: 'Command Name', - fixed2RobotFixed2: 'Fixed2 Robot Fixed2 二维码 管理', + fixed2LoginFixed2Fixed2: 'Login Address', - robotFixed2Fixed2: '生成 Robot Fixed2 二维码 Fixed2', + fixed2PleaseEnterFixed2: 'Please enter organization code', - fixed2SaveFixed2Fixed2: 'Fixed2 Save Fixed2 授权 Fixed2', + fixed2RobotFixed2: 'Robot QR‑Code Management', - videoFixed2Fixed2: '请先选择 Video Fixed2 通道 Fixed2', + robotFixed2Fixed2: 'Generate Robot QR‑Code', - s34: '组织', + fixed2SaveFixed2Fixed2: 'Save Authorization', - fixed2DeviceFixed2Fixed22: 'Fixed2 Device Fixed2 编码 Fixed2', + videoFixed2Fixed2: 'Please select video channel first', - s24: '场站', + s34: 'Organization', - s02: '未绑定', + fixed2DeviceFixed2Fixed22: 'Device Code', - s52: '数字越小越靠前', + s24: 'Station', - alert2: '通知与 Alert 策略', + s02: 'Unbound', - s122: '序号', + s52: 'Smaller value means higher sort priority', - s132: '清除人员绑定', + alert2: 'Notification and Alert Strategy', - s142: '清除场站绑定', + s122: 'Number', - s192: '请先选择组织', + s132: 'Clear User Binding', - fixed2Default2: 'Fixed2 Default 电站', + s142: 'Clear Station Binding', - s232: '分辨率', + s192: 'select organization', - fixed2AlertFixed2Fixed22: 'Fixed2 Alert Fixed2 通道 Fixed2', + fixed2Default2: 'Default Station', - s282: '最近更新', + s232: 'Resolution', - fixed2Inspection2: 'Fixed2 Inspection 主管', + fixed2AlertFixed2Fixed22: 'Alert Channels', - s322: '数据分析师', + s282: 'updated', - fixed2Login2: 'Fixed2 Login 审计', + fixed2Inspection2: 'Inspection Supervisor', - s412: '自动备份', + s322: 'Data Analyst', - s110: '边界绘制', + fixed2Login2: 'Login Audit', - fixed2Camera2: 'Fixed2 Camera 总数', + s412: 'Auto Backup', - fixed2Hd2: 'Fixed2 HD 球机', + s110: 'Boundary Drawing', - s83: '场站解绑', + fixed2Camera2: 'Total Cameras', - s102: '手机', + fixed2Hd2: 'HD PTZ Camera', - s112: '配置', + s83: 'Unbind Station', - s212: '品牌', + s102: 'Mobile', - fixed2PleaseSelect2: 'Fixed2 Please select 年 / 月 / 日 加载录像', + s112: 'Configuration', - fixed22: '生成 序列号 & 二维码 Fixed2', + s212: 'Brand', - s292: '传输方式', + fixed2PleaseSelect2: 'Please select year/month/day to load recordings', - s42: '物模型管理', + fixed22: 'Generate Serial Number & QR‑Code', - s62: '禁用', + s292: 'Transmission Mode', - fixed2AddNew2: 'Fixed2 Add New 场站', + s42: 'Thing Model Management', - s152: '选择国家', + s62: 'Disabled', - noneFixed2Fixed2: '该物模型暂 None 指令 Fixed2 Fixed2', + fixed2AddNew2: 'Add New Station', - s172: '请先选择国家', + s152: 'Select Country', - fixed2OkDelete2: 'Fixed2 OK 要 Delete 该物模型吗?', + noneFixed2Fixed2: 'No commands available for this thing model', - fixed2PleaseEnterFixed2Fixed22: 'Fixed2 Please enter Fixed2 编码 Fixed2', + s172: 'Please select country first', - nameFixed22: '分区 Name Fixed2', + fixed2OkDelete2: 'OK Delete this model?', - s252: '生产厂家', + fixed2PleaseEnterFixed2Fixed22: ' Please enter Encoding', - fixed2PleaseEnter2: 'Fixed2 Please enter 厂家', + nameFixed22: 'Zone Name', - fixed2PleaseSelectFixed2Fixed22: 'Fixed2 Please select Fixed2 协议 Fixed2', + s252: 'Manufacturer', - mqttFixed22: 'MQTT 服务 地址 Fixed2', + fixed2PleaseEnter2: ' Please enter Manufacturer', - typeFixed22: '选择 Type Fixed2', + fixed2PleaseSelectFixed2Fixed22: ' Please select protocol ', - topic2: '上报Topic', + mqttFixed22: 'MQTT Addr', - id2: '产品ID', + typeFixed22: 'Choose Type', - listFixed22: '属性 List Fixed2', + topic2: 'Report Topic', - equipmentFixed22: '绑定 Equipment Fixed2', + id2: 'ProductID', - fixed2Robot2: 'Fixed2 Robot 生成', + listFixed22: 'Attribute List ', - s72: '该日暂无录像文件', + equipmentFixed22: 'Bind Equipment', - s92: '昵称', + fixed2Robot2: 'Robot Generation', - successFixed22: '绑定 Success Fixed2', + s72: 'There are no video files available for this day.', - device2: '未选择有效 Device ,无法解绑', + s92: 'nickname', - s162: '省份', + successFixed22: 'Bind Success ', - menu2: '无(一级 Menu )', + device2: 'No valid Device was selected. Unbinding is not possible.', - fixed2OkFixed2Delete2: 'Fixed2 OK Fixed2 Delete 该用户吗?', + s162: 'Province', - s222: '所属机构', + menu2: 'None (Top‑Level Menu)', - failedFixed22: '绑定 Failed Fixed2', + fixed2OkFixed2Delete2: ' OK Delete this User?', - fixed2Save2: 'Fixed2 Save 分区', + s222: 'organization', - fixed2Alert2: 'Fixed2 Alert 弹窗推送', + fixed2PleaseEnterFixed2Fixed222: 'Please enter name', - fixed2Role: 'Fixed2 Role 等级', + fixed2PleaseEnterFixed2Fixed2222: 'Please enter code', - fixed2DeviceFixed2Actions: 'Fixed2 Device Fixed2 Actions 权限', + failedFixed22: 'Bind Failed', - fixed2BatchDeleteFixed2RoleFixed2: 'Fixed2 Batch Delete Fixed2 Role Fixed2', + fixed2Save2: 'Save Zone', - fixed2OkFixed2DeleteFixed2: 'Fixed2 OK Fixed2 Delete Fixed2', + fixed2Alert2: ' Alert Pop‑up Notification', - fixed2BatchDelete: 'Fixed2 Batch Delete 用户', + fixed2Role: ' Role Level', - devicePermFixed2: '是否有 Device Perm Fixed2', + fixed2DeviceFixed2Actions: 'Device Operation Permission', - fixed2PleaseEnterFixed2Role: 'Fixed2 Please enter Fixed2 Role 等级', + fixed2BatchDeleteFixed2RoleFixed2: 'Batch Delete Role', - fixed2MenuFixed2LoadFailedFixed2: 'Fixed2 Menu Fixed2 Load Failed Fixed2', + fixed2OkFixed2DeleteFixed2: 'Confirm Delete', - s26: '请先生成', + fixed2BatchDelete: 'Batch Delete User', - notFixed2Search: 'Not Fixed2 Search 到数据', + devicePermFixed2: ' Device Permission?', - fixed2SearchFixed2FailedFixed2: 'Fixed2 Search Fixed2 Failed Fixed2', + fixed2PleaseEnterFixed2Role: ' Please enter Role Level', - fixed2PleaseSelectDeleteRoleFixed2: 'Fixed2 Please select 要 Delete 的 Role Fixed2', + fixed2MenuFixed2LoadFailedFixed2: 'Menu loading failed', - fixed2PleaseSelectDelete2: 'Fixed2 Please select 要 Delete 的用户', + s26: 'Please generate first', + + notFixed2Search: 'No matching data found', + + fixed2SearchFixed2FailedFixed2: 'Search request failed', + + fixed2PleaseSelectDeleteRoleFixed2: 'Please select roles to delete', + + fixed2PleaseSelectDelete2: 'Please select users to delete', addOrganization: 'Add Organization', @@ -3191,13 +3224,13 @@ const en = { recordStatus: 'Recording Status', perimeterIntrusionAlarm: 'Perimeter Intrusion Alarm', humidity: 'Humidity', - overtempAlarm: 'Over-Temperature Alarm', + overtempAlarm: 'Over‑Temperature Alarm', voltage: 'Voltage', lowBatteryAlarm: 'Low Battery Alarm', upperLimit: 'Upper Limit', lowerLimit: 'Lower Limit', defaultValue: 'Default Value', - enumSeparator: 'Enum (comma-separated)', + enumSeparator: 'Enum (comma‑separated)', eastGateCamera: 'East Gate Entrance Camera', westGateCamera: 'West Gate Entrance Camera', parkingLotCamera: 'Parking Lot Camera', @@ -3328,6 +3361,7 @@ const en = { roleName: 'Role Name', roleKey: 'Role Key', roleSort: 'Sort Order', + editRole: 'Edit Role', status: 'Status', remark: 'Remark', actions: 'Actions', @@ -3473,7 +3507,11 @@ const en = { geojson: '面板 GeoJSON', - s15: '结果展示', + s15: 'result', + online: 'online', + offline: 'offline', + alerts: 'alerts', + all: 'all', jsonViewFixed2: '原始预览、结果图与完整 JSON 同屏 View Fixed2', @@ -3497,7 +3535,7 @@ const en = { listFixed2: '热点/面板 List Fixed2', - s29: '算法分析中心', + s29: 'Algorithm Analysis Center', fixed2HistoryAnalysis: 'Fixed2 History Analysis 记录', @@ -3515,41 +3553,44 @@ const en = { uploadThermal2: '请先 Upload Thermal 文件', - s49: '块号', + s49: 'block', - s50: '原图像素', + s50: 'Original pixel', - s51: '叠加图像素', + s51: 'Superimposed image elements', - s52: '面积', + s52: 'area', + stationTopology: 'Station Topology', - deviceFixed2StatusAndGeneration: '全方位实时掌握电站 Device Fixed2 Status And Generation 表现', + deviceFixed2StatusAndGeneration: 'Comprehensively and in real-time monitor the operating status and power generation performance of the power station equipment', - s2: '•• 通讯中', + s2: '•• communicating', - fixed2DeviceFixed2RealtimeMonitorListFixed2: 'Fixed2 Device Fixed2 Realtime Monitor List Fixed2', + fixed2DeviceFixed2RealtimeMonitorListFixed2: 'Real-time monitoring list of equipment', - fixed2AllRecordings56: 'Fixed2 All Recordings 56', + fixed2AllRecordings56: ' All 56', - fixed2Normal52: 'Fixed2 Normal 52', + fixed2Normal52: ' Normal 52', - fixed2Alert1: 'Fixed2 Alert 1', + fixed2Alert1: ' Alert 1', + inverterPowerCompare: 'Inverter Power Compare', + stringCurrentHeatmap: 'String Current Heatmap', - fixed2Offline3: 'Fixed2 Offline 3', + fixed2Offline3: ' Offline 3', - powerCurveFixed2: '实时 Power Curve Fixed2', + powerCurveFixed2: 'Real-time power curve', - s11: '今天', + s11: 'today', - s12: '电流', + s12: 'current', - fixed2RealtimePower: 'Fixed2 Realtime Power /数据', + fixed2RealtimePower: ' Realtime Power /data', - statusFixed2: '并网 Status Fixed2', + statusFixed2: 'Grid connection Status', - fixed2CurrentFixed2TotalPowerFixed2: 'Fixed2 Current Fixed2 Total Power Fixed2', + fixed2CurrentFixed2TotalPowerFixed2: 'Current Total Power', - fixed2TodayAccumulatedBatteryFixed2: 'Fixed2 Today Accumulated 发 Battery Fixed2', + fixed2TodayAccumulatedBatteryFixed2: `Today's cumulative power generation volume`, } }; diff --git a/src/locales/zh/index.ts b/src/locales/zh/index.ts index d5c2589..9778ed9 100644 --- a/src/locales/zh/index.ts +++ b/src/locales/zh/index.ts @@ -1,3 +1,5 @@ +import WeatherRainy from "@/src/components/Weather/WeatherRainy"; + const zh = { common: { // 按钮 @@ -188,7 +190,7 @@ const zh = { '3': '3天内', - fixed2MoreGt: '更多 >', + fixed2MoreGt: '更多', taskSuspended2Fixed2: '总任务', @@ -208,7 +210,7 @@ const zh = { generationDeviationFixed2: '整体发电偏差', - gt: '详细 >', + gt: '详细', cleaningFixed2Time: '建议清洗时间:', @@ -224,17 +226,21 @@ const zh = { a05HotspotPvA05018PvA05020StatusAbnormal: 'A05阵列热斑处置建议:建议现场复核PV-A05-018至PV-A05-020组件接线和旁路二极管状态,必要时更换异常组件。', - fixed2InspectionFixed2TypeFixed2: '巡检类型', + InspectionType: '巡检类型', - fixed2InspectionFixed2TimeFixed2: '巡检时间', - - fixed2Inspection: '巡检人员', + InspectionTime: '巡检时间', + InspectionPerson: '巡检人员', fixed2Battery: '预计提升发电量:', cleaningOrderGeneratedSuccessfullyFixed2: '✅ 清洗工单生成成功', failedFixed2: '❌ 工单生成接口调用失败', + solarPanel: "组件阵列", + weatherStation: "气象站", + environmentalSensor: "环境传感器", + distributable: "可调度", + }, devices: { deviceManagement: '设备管理', @@ -481,7 +487,7 @@ const zh = { coverClosed: '覆盖已关闭', coverOpen: '覆盖打开', coverageEquipment: '覆盖设备', - coverageValue: '覆盖值', + coverageValue: '{{types}}/{{units}}', createSuccess: '创建成功', createTaskException: '创建任务异常', createTaskFail: '创建任务失败', @@ -570,7 +576,7 @@ const zh = { horizontalSpeed: '水平速度', hotspotSuspect: '热斑疑似', inDock: '内停靠', - inProgressDesc: '内进度描述', + inProgressDesc: '进行中', indoor: '室内', inputCustomAlias: '输入自定义别名', inputPlotName: '输入区域名称', @@ -709,7 +715,7 @@ const zh = { pathPlanFailRetry: '路径计划失败重试', pathPlanning: '路径规划', pauseTask: '暂停任务', - pendingApprovalTasks: '待处理审批任务', + pendingApprovalTasks: '待处理任务', pendingExec: '待处理执行', permissionObtained: '权限已获取', permissionRequestTitle: '权限请求标题', @@ -912,7 +918,7 @@ const zh = { todayWaylinePlan: '今日航线计划', totalCount: '总数量', trendFlat: '趋势持平', - trendYesterday: '趋势昨日', + trendYesterday: '较昨日 {{diff}}', typeAIRecheck: '类型AI复检', typeArrayMow: '类型阵列除草', typeComponentClean: '类型组件清洗', @@ -920,10 +926,10 @@ const zh = { typeFenceInspect: '类型围栏巡检', typeHotspotInspect: '类型热斑巡检', typeRecheck: '类型复检', - unitGe: '单位地理', - unitJia: '单位', - unitTai: '单位台', - unitTiao: '单位条', + unitGe: '个', + unitJia: '架', + unitTai: '台', + unitTiao: '条', unknownDevice: '未知设备', unknownDrone: '未知无人机', unknownObject: '未知对象', @@ -1000,6 +1006,7 @@ const zh = { s6: '遥控接管', s7: '规划态势', + waiting: '待命', taskSuspended2Fixed2: '连续任务', @@ -1280,6 +1287,11 @@ const zh = { noneControl: '无控制权限', fixed2ControlFixed2: '控制请求超时', + executing: "执行中", + failed: "失败", + cancel: "取消", + UnitsRobot: "台", + UnitsDrone: "架", }, video: { onlineVideo: '在线视频', @@ -1569,7 +1581,9 @@ const zh = { trendUp: '趋势上升', trendZero: '趋势零', triggerCondition: '触发条件', - yesterdayValue: '昨日值', + yesterdayValue: '昨日值 {{value}}', + enabled: '已启用', + }, aiAnalysis: { title: 'AI诊断分析', @@ -1619,6 +1633,7 @@ const zh = { clickHotspotHint: '点击热斑提示', default: '默认', detect: '检测', + algoCountUnit: "检测 + 分割", detectAndSeg: '检测与分割', detectDesc: '检测描述', detectModel: '检测模型', @@ -2008,6 +2023,12 @@ const zh = { orderStatus: '工单状态', priority: '优先级', source: '来源', + today: '今天', + notitle: '暂无标题', + noRelatedArea: '无', + + + execStartTime: '执行开始时间', relatedDevice: '关联设备', relatedArea: '关联区域', @@ -2349,6 +2370,13 @@ const zh = { videoCodecMseNotSupported: '当前浏览器 MSE 不支持该视频编码格式', mediaSourceNotSupported: '当前浏览器不支持 MediaSource 扩展', flvMseHint: '提示:播放 FLV 需要浏览器支持 MSE', + everydayPush: '每日推送', + Nighttime: '夜间免打扰', + WeatherStation: "气象站", + batchDelete: '批量删除(已选择', + deleteUnit: "项)", + level: "等级", + exportLogFileName: '系统日志', exportLogSuccess: '成功导出 {count} 条日志', @@ -2613,6 +2641,10 @@ const zh = { s36: '用户名', s37: '关联产品', + editMenu: '编辑菜单', + addMenu: '新增菜单', + editSite: '编辑场站', + addSite: '新增场站', s38: '接口', @@ -3355,6 +3387,7 @@ const zh = { roleName: '角色名称', roleKey: '权限字符', roleSort: '排序', + editRole: '编辑角色', status: '状态', remark: '备注', actions: '操作', @@ -3369,7 +3402,7 @@ const zh = { abnormal: '异常', addSuccess: '新增成功', confirmDeleteRole: '确认删除角色', - editRole: '编辑角色', + editSuccess: '编辑成功', manageMembers: '管理成员', menuPermissionConfig: '菜单权限配置', @@ -3491,8 +3524,11 @@ const zh = { page: { uploadThermal: '请上传热成像文件', + stationTopology: '场站拓扑图', s0: '外部系统', + inverterPowerCompare: '逆变器功率对比', + stringCurrentHeatmap: '组串电流热力图(单位:A)', '2': '已接入 2 套', @@ -3514,6 +3550,11 @@ const zh = { geojson: '面板 GeoJSON', s15: '结果展示', + online: '在线', + offline: '离线', + alerts: '告警', + all: '总数', + jsonViewFixed2: '原始预览、结果图与完整 JSON 同屏查看', diff --git a/src/pages/Agri.jsx b/src/pages/Agri.jsx index f61a4fe..d72a60c 100644 --- a/src/pages/Agri.jsx +++ b/src/pages/Agri.jsx @@ -4449,7 +4449,7 @@ export default function Agri() { { title: t('aiAnalysis.algoCount'), value: '2', - unit: '检测 + 分割', + unit: `${t('aiAnalysis.algoCountUnit')}`, icon: , color: '#165DFF', bg: '#E8F3FF', diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 76f0301..3cd0d03 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -384,9 +384,9 @@ export default function StationDashboard() { pagination={false} size="small" columns={[ - { title: t('home.fixed2InspectionFixed2TypeFixed2'), dataIndex: 'name', key: 'name', ellipsis: true }, - { title: t('home.fixed2InspectionFixed2TimeFixed2'), dataIndex: 'time', key: 'time' }, - { title: t('home.fixed2Inspection'), dataIndex: 'person', key: 'person', render: (t) => t.substring(0, 10) }, + { title: t('home.InspectionType'), dataIndex: 'name', key: 'name', ellipsis: true }, + { title: t('home.InspectionTime'), dataIndex: 'time', key: 'time' }, + { title: t('home.InspectionPerson'), dataIndex: 'person', key: 'person', render: (t) => t.substring(0, 10) }, { title: t('roles.status'), dataIndex: 'status', key: 'status', render: () => {t('home.completedFixed2')} }, ]} /> @@ -468,12 +468,12 @@ export default function StationDashboard() { {t('home.deviceOnlineStatus')}} extra={} bordered={false} style={cardStyle} bodyStyle={{ padding: '12px' }}> {[ - { name: '组件阵列', count: '320/320', icon: }, + { name: t('home.solarPanel'), count: '320/320', icon: }, { name: t('home.inverter'), count: '5/5', icon: }, { name: t('home.combinerBox'), count: '20/20', icon: }, - { name: '气象站', count: '1/1', icon: }, + { name: t('home.weatherStation'), count: '1/1', icon: }, { name: t('devices.camera'), count: '12/12', icon: }, - { name: '环境传感器', count: '8/8', icon: }, + { name: t('home.environmentalSensor'), count: '8/8', icon: }, { name: t('constants.uav'), count: '1/1', icon: }, { name: t('home.inspectionRobot'), count: '1/1', icon: }, ].map((item, idx) => ( diff --git a/src/pages/RealTimeMonitor.tsx b/src/pages/RealTimeMonitor.tsx index 34e03bb..5f8a837 100644 --- a/src/pages/RealTimeMonitor.tsx +++ b/src/pages/RealTimeMonitor.tsx @@ -112,7 +112,7 @@ const RealTimeMonitorPage = () => { {/* 电站拓扑图 */} 电站拓扑图 (实时)} + title={{t('page.stationTopology')}} extra={
{t('roles.normal')} @@ -232,7 +232,7 @@ const RealTimeMonitorPage = () => { {/* 逆变器功率对比 */} - 逆变器功率对比 (实时)} bordered={false} style={cardStyle} bodyStyle={{ padding: '12px' }}> + {t('page.inverterPowerCompare')}} bordered={false} style={cardStyle} bodyStyle={{ padding: '12px' }}> { {/* 热力图与在线率 */} - 组串电流热力图 (单位: A)} extra={} bordered={false} style={cardStyle} bodyStyle={{ padding: '12px' }}> + {t('page.stringCurrentHeatmap')}} extra={} bordered={false} style={cardStyle} bodyStyle={{ padding: '12px' }}>
{['INV-01', 'INV-02', 'INV-03', 'INV-04', 'INV-05'].map((name, i) => (
@@ -325,10 +325,10 @@ const RealTimeMonitorPage = () => {
- 在线 52 (92.1%) - 离线 3 (5.3%) - 告警 1 (1.8%) - {t('page.56')} + {t('pages.online')} 52 (92.1%) + {t('pages.offline')} 3 (5.3%) + {t('pages.alerts')} 1 (1.8%) + {t('pages.all')} 56
{/* 简易地图点位 */} diff --git a/src/pages/ReportCenter.tsx b/src/pages/ReportCenter.tsx index 9f9fff3..23ff1b5 100644 --- a/src/pages/ReportCenter.tsx +++ b/src/pages/ReportCenter.tsx @@ -221,7 +221,7 @@ export default function ReportCenterPage() { }} > {overviewCards.map((card, idx) => ( - + { { title: t('workOrder.handle'), value: orderStat.avgHandleHour, - unit: '小时', + unit: t('workOrder.hour'), subValue: orderStat.avgDiff, subText: '较上周', icon: , @@ -461,7 +461,7 @@ const WorkOrderPage = () => { { title: t('workOrder.fixed2Ai'), value: orderStat.aiCreate, - unit: '单', + unit: t('workOrder.workorderUnit'), subValue: '', subText: '今日自动生成', icon: , @@ -1078,7 +1078,7 @@ const WorkOrderPage = () => {