多语言切换+首次设置语言

This commit is contained in:
2026-10-12 14:21:09 +08:00
parent dc006c2935
commit 9671798f29
22 changed files with 572 additions and 274 deletions

View File

@@ -23,7 +23,29 @@
"username_hint": "Enter username",
"password_hint": "Enter password",
"login_success": "Login Success",
"login_failed": "Login Failed"
"login_failed": "Login Failed",
"token_expired_title": "Login Expired",
"token_expired_content": "Your login session has expired, please log in again",
"kicked_out_title": "Logged In Elsewhere",
"kicked_out_content": "Your account has logged in on another device, signing out...",
"reconnect_failed_title": "Connection Error",
"reconnect_failed_content": "TCP reconnection authentication failed, please log in again",
"reconnecting": "TCP reconnecting...",
"reconnect_success": "Connection successful",
"account_login_title": "Account Login",
"subtitle": "Please fill in the following to verify your identity",
"cert_text": "Certified by Huawei Cloud ecosystem, safe to use. Certificate No. C202605301",
"login_submit": "Log In",
"logging_in": "Logging in...",
"no_account": "No account?",
"register_now": "Sign up",
"agree_first": "Please read and agree to the user agreement first",
"agree_prefix": "I have read and agree to the ",
"agree_and": " and ",
"user_agreement_link": "User Agreement",
"privacy_policy_link": "Privacy Policy",
"understood": "Got it",
"protocol_detail_text": "Your %s details will appear here..."
},
"home": {
@@ -376,7 +398,37 @@
"data": "Data",
"inspection_robot": "Inspection Robot",
"cleaning_robot": "Cleaning Robot",
"weeding_robot": "Weeding Robot"
"weeding_robot": "Weeding Robot",
"device_not_found_title": "Device Not Found",
"device_not_found_content": "Device not matched yet, please retry later",
"no_alias": "No alias",
"task_standby": "Standby",
"task_charging": "Charging",
"control_panel": "Control Panel",
"speed_gear": "Speed",
"speed_low": "Low",
"speed_mid": "Medium",
"speed_high": "High",
"status_speed": "Speed",
"status_mode": "Mode",
"status_signal": "Signal",
"action_start": "Start",
"action_pause": "Pause",
"action_return": "Return",
"task_in_progress": "In Progress",
"checklist_title": "Checklist",
"signal_strong": "Strong",
"view_front": "Front",
"view_back": "Back",
"view_left": "Left",
"view_right": "Right",
"view_panorama": "Panorama",
"no_video": "No Video",
"play": "Play",
"path_planning": "Path Planning",
"path_planning_desc": "View and edit the robot patrol path",
"release_permission_success": "Remote control permission released",
"release_permission_failed": "Failed to release control permission"
},
"alarm_center": {
@@ -448,6 +500,56 @@
"tab_settings": "Tab Settings"
},
"help_feedback": {
"tab_faq": "FAQ",
"tab_feedback": "Feedback",
"type_feature": "Feature Suggestion",
"type_bug": "Bug Report",
"type_experience": "Experience Issue",
"type_other": "Other",
"cat_bind": "Device Binding",
"cat_path": "Path Planning",
"cat_remote": "Remote Control",
"cat_order": "Work Order System",
"cat_account": "Account Issues",
"q_bind_fail": "What should I do if QR-code binding fails?",
"a_bind_fail": "Check that the device is powered on and in pending-binding state, and make sure Bluetooth and the network are working on your phone. If it still fails, restart the device and scan again.",
"q_bt_notfound": "Can't find the device's Bluetooth signal?",
"a_bt_notfound": "Make sure the device is on and its Bluetooth indicator is blinking. Move closer to the device (within 1 meter) and search again. When binding multiple devices, do them one by one.",
"q_path_none": "Unable to generate a path?",
"a_path_none": "Ensure a complete work area is drawn (at least 3 points) and the GPS signal is good. If using auto-planning, make sure the area boundary does not self-intersect.",
"q_map_issue": "Map not displaying or location drifting?",
"a_map_issue": "Check that phone GPS is enabled and location permission is granted. Drifting may occur indoors or in weak-signal areas; use it in open areas.",
"q_video_stutter": "Remote video lagging or connection timeout?",
"a_video_stutter": "Check that the network connection on both phone and device is stable. Use remote control under good 4G/Wi-Fi. If lag persists, try lowering the video resolution.",
"q_estop": "How do I use the emergency stop?",
"a_estop": "On the remote control page, tap the red emergency-stop button at the center to stop the device immediately. You must manually release it to resume.",
"q_order_submit": "How do I submit a work order?",
"a_order_submit": "On the Work Order page, tap \"New Order\" at the bottom right, choose a type, fill in the description, upload images, then submit.",
"q_order_status": "How do I check work order status?",
"a_order_status": "On the Work Order page you can view all submitted orders and their status (Pending/Processing/Completed). Tap an order for details and replies.",
"q_pwd_forget": "What if I forgot my password?",
"a_pwd_forget": "Tap \"Forgot Password\" on the login page and verify with your registered phone number to reset it.",
"q_rebind_device": "Do I need to rebind after switching devices?",
"a_rebind_device": "Device bindings are not lost when logging into the same account on a new phone, but you need to search and connect the devices again on the new phone.",
"contact_title": "Contact Support",
"hotline": "Service Hotline",
"wechat_work": "WeCom",
"wechat_hint": "Scan to add support on WeChat",
"feedback_type": "Feedback Type",
"problem_desc": "Description",
"problem_hint": "Please describe your problem or suggestion in detail...",
"add_screenshot": "Add Screenshot",
"contact_label": "Contact (optional)",
"contact_hint": "Phone/WeChat number for follow-up",
"submit_feedback": "Submit Feedback",
"close": "Close",
"copy_number": "Copy Number",
"number_copied": "Number copied",
"please_input_desc": "Please enter a description",
"submit_success": "Feedback submitted. Thank you for your support!"
},
"report": {
"title": "Field Report",
"submit": "Submit",

View File

@@ -23,7 +23,29 @@
"username_hint": "请输入用户名",
"password_hint": "请输入密码",
"login_success": "登录成功",
"login_failed": "登录失败"
"login_failed": "登录失败",
"token_expired_title": "登录已过期",
"token_expired_content": "账号登录状态已过期,请重新登录",
"kicked_out_title": "账号被顶下线",
"kicked_out_content": "您的账号在其他设备登录,即将退出当前设备...",
"reconnect_failed_title": "连接异常",
"reconnect_failed_content": "TCP重连认证无效请重新登陆",
"reconnecting": "TCP重连中...",
"reconnect_success": "连接成功",
"account_login_title": "账号登录",
"subtitle": "请填写以下信息以验证身份",
"cert_text": "通过华为云生态技术认证,请放心使用,证书编号C202605301",
"login_submit": "登 录",
"logging_in": "登录中...",
"no_account": "没有账号吗?",
"register_now": "立即注册",
"agree_first": "请先阅读并同意用户协议",
"agree_prefix": "我已阅读并同意 ",
"agree_and": " 和 ",
"user_agreement_link": "《用户协议》",
"privacy_policy_link": "《隐私政策》",
"understood": "我已了解",
"protocol_detail_text": "此处放置您的%s详细内容..."
},
"home": {
@@ -389,7 +411,37 @@
"data": "数据",
"inspection_robot": "巡检机器人",
"cleaning_robot": "清洗机器人",
"weeding_robot": "除草机器人"
"weeding_robot": "除草机器人",
"device_not_found_title": "未找到设备",
"device_not_found_content": "暂未匹配到该设备,稍后重试",
"no_alias": "暂无别名",
"task_standby": "待机中",
"task_charging": "充电中",
"control_panel": "控制面板",
"speed_gear": "速度档位",
"speed_low": "低速",
"speed_mid": "中速",
"speed_high": "高速",
"status_speed": "转速",
"status_mode": "模式",
"status_signal": "信号",
"action_start": "开始",
"action_pause": "暂停",
"action_return": "返航",
"task_in_progress": "进行中",
"checklist_title": "检查清单",
"signal_strong": "强",
"view_front": "前视",
"view_back": "后视",
"view_left": "左视",
"view_right": "右视",
"view_panorama": "全景",
"no_video": "暂无视频",
"play": "播放",
"path_planning": "路径规划",
"path_planning_desc": "查看和编辑机器人巡检路径",
"release_permission_success": "已释放远程控制权限",
"release_permission_failed": "控制权限释放失败"
},
"alarm_center": {
@@ -462,6 +514,56 @@
"tab_settings": "Tab 设置"
},
"help_feedback": {
"tab_faq": "常见问题",
"tab_feedback": "意见反馈",
"type_feature": "功能建议",
"type_bug": "Bug报告",
"type_experience": "体验问题",
"type_other": "其他",
"cat_bind": "设备绑定",
"cat_path": "路径规划",
"cat_remote": "远程控制",
"cat_order": "工单系统",
"cat_account": "账号问题",
"q_bind_fail": "扫码绑定失败怎么办?",
"a_bind_fail": "请检查设备是否已开机并处于待绑定状态,确保手机蓝牙已开启且网络正常。如仍无法绑定,请尝试重启设备后重新扫码。",
"q_bt_notfound": "搜不到设备蓝牙信号?",
"a_bt_notfound": "请确认设备已开机且蓝牙指示灯正常闪烁。尝试靠近设备(1米以内)后重新搜索。如多个设备同时绑定,请逐一操作。",
"q_path_none": "无法生成路径?",
"a_path_none": "请确保已绘制完整的作业区域(至少3个打点),并检查GPS信号是否良好。如果使用自动规划模式,请确认区域边界没有自相交。",
"q_map_issue": "地图不显示或定位偏移?",
"a_map_issue": "请检查手机GPS是否已开启,并授权App位置权限。在室内或信号较弱的区域可能出现定位偏移,建议到开阔区域使用。",
"q_video_stutter": "远程视频卡顿/连接超时?",
"a_video_stutter": "请检查手机和设备的网络连接是否稳定。建议在4G/Wi-Fi信号良好的环境下使用远程控制功能。如持续卡顿,可尝试降低视频分辨率。",
"q_estop": "急停功能怎么使用?",
"a_estop": "在远程控制页面,点击屏幕中央红色急停按钮即可立即停止设备运行。急停后需手动解除才能恢复操作。",
"q_order_submit": "如何提交工单?",
"a_order_submit": "在「工单」页面点击右下角「新建工单」按钮,选择工单类型,填写问题描述并上传相关图片后提交即可。",
"q_order_status": "工单状态怎么看?",
"a_order_status": "在「工单」页面可查看所有已提交的工单及其当前状态(待处理/处理中/已完成)。点击具体工单可查看详情和回复。",
"q_pwd_forget": "忘记密码怎么办?",
"a_pwd_forget": "在登录页面点击「忘记密码」,通过注册手机号验证后即可重置密码。",
"q_rebind_device": "换设备登录需要重新绑定?",
"a_rebind_device": "更换手机登录同一账号后,设备绑定关系不会丢失。但需要在新设备上重新搜索和连接设备。",
"contact_title": "联系客服",
"hotline": "客服热线",
"wechat_work": "企业微信",
"wechat_hint": "扫码添加客服微信",
"feedback_type": "反馈类型",
"problem_desc": "问题描述",
"problem_hint": "请详细描述您遇到的问题或建议...",
"add_screenshot": "添加截图",
"contact_label": "联系方式(选填)",
"contact_hint": "手机号/微信号,方便我们回访",
"submit_feedback": "提交反馈",
"close": "关闭",
"copy_number": "复制号码",
"number_copied": "号码已复制",
"please_input_desc": "请输入问题描述",
"submit_success": "反馈已提交,感谢您的支持!"
},
"report": {
"title": "现场上报",
"submit": "提交",