支持现场服务器地址配置

This commit is contained in:
2026-11-21 14:26:18 +08:00
parent 724f33b168
commit c284aefc7d
26 changed files with 1162 additions and 105 deletions

View File

@@ -1,4 +1,29 @@
{
"servers": {
"title": "Server configuration",
"help": "Enter a shared IP address or hostname. Each service accepts a port, host:port, or full address. Leave a field blank to use the address shown below it.",
"shared_host": "Shared IP or hostname",
"http": "HTTP backend",
"tcp": "TCP control",
"mqtt": "Business MQTT",
"advanced": "Advanced settings",
"webRtc": "WebRTC video",
"droneMqtt": "Drone MQTT",
"geoServer": "GeoServer",
"pathPlanning": "Path planning",
"ai": "AI analysis",
"update": "App updates",
"stationWeb": "Station website",
"relogin": "Saving changed addresses will require you to sign in again.",
"invalid_host": "Enter a valid IP address or hostname",
"invalid_address": "Check the protocol, host, and port (1–65535)",
"test_ports": "Test ports",
"reachable": "Port reachable · {address}",
"unreachable": "Port unreachable · {address}",
"save": "Save",
"saved": "Server configuration saved",
"save_failed": "Could not apply server configuration. Try again."
},
"legal": {"open_failed": "Unable to open the document. Please try again later."},
"device_task_control": {

View File

@@ -1,4 +1,29 @@
{
"servers": {
"title": "服务器配置",
"help": "填写公共 IP 或域名。各服务可填端口、主机:端口或完整地址。留空使用下方显示的地址。",
"shared_host": "公共 IP 或域名",
"http": "HTTP 后端",
"tcp": "TCP 控制",
"mqtt": "业务 MQTT",
"advanced": "高级配置",
"webRtc": "WebRTC 视频",
"droneMqtt": "无人机 MQTT",
"geoServer": "GeoServer",
"pathPlanning": "路径规划",
"ai": "AI 分析",
"update": "App 更新",
"stationWeb": "电站网页",
"relogin": "保存新的服务地址后需要重新登录。",
"invalid_host": "请输入有效的 IP 或域名",
"invalid_address": "请检查协议、主机和端口(1–65535)",
"test_ports": "测试端口",
"reachable": "端口可达 · {address}",
"unreachable": "端口未连通 · {address}",
"save": "保存",
"saved": "服务器配置已保存",
"save_failed": "无法应用服务器配置,请重试"
},
"legal": {"open_failed": "暂时无法打开协议页面,请稍后重试。"},
"device_task_control": {