fix(i18n): complete Simplified Chinese core and plugin translations (#1542)

* fix(i18n): complete Chinese onboarding and navigation labels

* fix(i18n): translate remaining Chinese core and plugin interfaces

* fix(i18n): translate host editor tab overflow controls

* fix(i18n): use consistent Chinese fleet terminology

* fix(i18n): localize hardcoded controls and plugin views

* fix(i18n): translate built-in homepage widget catalog

* test(homepage): follow translated timezone placeholder

* fix(i18n): translate plugin-provided homepage widgets

* fix(i18n): localize feature settings section titles
This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-10-03 21:37:00 +08:00
1 parent 13f5736d8f
commit 0214a81e5d
78 files changed
+2423 -1833

No files matched your search

+3
View File
@@ -308,5 +308,8 @@
"label": "Monitored paths"
}
}
},
"plugin": {
"name": "Host Metrics"
}
}
@@ -13,27 +13,27 @@
"free": "空闲",
"connecting": "连接中...",
"connectionFailed": "连接服务器失败",
"naCpus": "N/A CPU",
"naCpus": "CPU 数据不可用",
"cpuCores_one": "{{count}} 核心",
"cpuCores_other": "{{count}} 核心",
"cpuUsage": "CPU 使用率",
"memoryUsage": "内存使用率",
"diskUsage": "磁盘使用率",
"selectFilesystem": "Select filesystem",
"selectFilesystem": "选择文件系统",
"temperature": "温度",
"highestTemperature": "最高温度",
"primaryTemperatureSensor": "Primary sensor",
"primaryTemperatureSensor": "主传感器",
"gpu": {
"title": "GPU",
"noDevice": "No NVIDIA GPU detected. Install the NVIDIA driver (it provides nvidia-smi) to see GPU metrics.",
"driver": "Driver {{version}}",
"utilization": "Utilization",
"memory": "VRAM",
"temperature": "Temp",
"power": "Power",
"fan": "Fan",
"processes": "GPU processes",
"noProcesses": "No processes are using the GPU"
"noDevice": "未检测到 NVIDIA GPU。请安装 NVIDIA 驱动(包含 nvidia-smi)以查看 GPU 指标。",
"driver": "驱动版本 {{version}}",
"utilization": "使用率",
"memory": "显存",
"temperature": "温度",
"power": "功率",
"fan": "风扇",
"processes": "GPU 进程",
"noProcesses": "没有进程正在使用 GPU"
},
"failedToFetchHostConfig": "获取主机配置失败",
"serverOffline": "服务器离线",
@@ -143,7 +143,7 @@
"sslIssued": "证书已签发",
"sslDomainsPlaceholder": "example.com, www.example.com",
"sslHttpStandalone": "HTTP (独立模式)",
"sslHttpWebroot": "HTTP (webroot)",
"sslHttpWebroot": "HTTP(网站根目录)",
"sslDns": "DNS",
"sslDnsProvider": "DNS 提供商 (如 cloudflare)",
"sslIssueHint": "DNS 提供商凭据必须已在主机上配置。",
@@ -178,7 +178,7 @@
"wgLastHandshake": "上次握手",
"wgHandshakeNever": "从未",
"wgTransfer": "传输",
"wgNoPeers": "No peers"
"wgNoPeers": "没有对等节点"
}
},
"metricsHistory": {
@@ -186,8 +186,8 @@
"historySuffix": "历史",
"cpuMemoryDisk": "CPU / 内存 / 磁盘",
"network": "网络",
"download": "RX",
"upload": "TX",
"download": "接收",
"upload": "发送",
"noData": "此时间范围内没有可用的历史数据。",
"custom": "自定义",
"to": "至",
@@ -204,14 +204,14 @@
"metricsIntervalS": "指标间隔(秒)",
"metricsIntervalDesc2": "指标快照之间的秒数",
"excludedMountsLabel": "排除的挂载点",
"monitoredMountsLabel": "Custom monitored paths",
"monitoredMountsDesc": "Add paths that are not exposed as separate mounts, including bind-mounted Home Assistant paths such as /config.",
"monitoredMountPathPlaceholder": "Path (/config, /mnt/data)",
"monitoredMountsLabel": "自定义监控路径",
"monitoredMountsDesc": "添加未作为独立挂载点显示的路径,包括 /config 等通过绑定挂载的 Home Assistant 路径。",
"monitoredMountPathPlaceholder": "路径(/config、/mnt/data)",
"monitoredMountLabelPlaceholder": "标签(可选)",
"addMonitoredMount": "Add path",
"excludedMountsDesc": "Hide specific mount points or filesystem types (e.g. nfs, cifs) from disk usage and alerts for this host.",
"excludedMountsPlaceholder": "Mount path (/mnt/nas) or filesystem type (nfs, cifs)",
"excludedMountsEmpty": "No mounts excluded. All detected filesystems are shown.",
"addMonitoredMount": "添加路径",
"excludedMountsDesc": "在此主机的磁盘使用情况和告警中隐藏指定挂载点或文件系统类型(如 nfs、cifs)。",
"excludedMountsPlaceholder": "挂载路径(/mnt/nas)或文件系统类型(nfs、cifs)",
"excludedMountsEmpty": "未排除任何挂载点,将显示所有检测到的文件系统。",
"addExcludedMount": "添加",
"visibleWidgets": "可见小部件",
"widgetsMovedToHostMetrics": "卡片现在可在“主机指标”选项卡中直接添加、排列和调整大小。打开此主机的“主机指标”,使用“自定义”选择要显示的卡片。",
@@ -250,7 +250,7 @@
"selectHost": "选择主机..."
},
"terminalStatus": {
"unavailable": "Live stats unavailable"
"unavailable": "实时统计不可用"
},
"dashboard": {
"cpu": "CPU",
@@ -264,49 +264,52 @@
},
"permissions": {
"use": {
"title": "Use Host Metrics",
"description": "View host metrics and use the host managers (services, packages, firewall and more) on hosts you can reach."
"title": "使用主机指标",
"description": "查看主机指标,并在你有权访问的主机上使用服务、软件包、防火墙等管理工具。"
}
},
"settings": {
"admin": {
"metricsInterval": {
"label": "Metrics interval (seconds)",
"description": "How often a host being viewed is sampled, unless the host sets its own interval."
"label": "指标采样间隔(秒)",
"description": "正在查看的主机的采样频率,除非该主机另行设置了间隔。"
},
"historyRetentionDays": {
"label": "History retention (days)",
"description": "How long metrics samples are kept for the history charts."
"label": "历史保留天数",
"description": "用于历史图表的指标采样数据保留时长。"
},
"enabledForNewHosts": {
"label": "Metrics on for new hosts",
"description": "Whether new hosts start with metrics collection turned on."
"label": "新主机默认启用指标",
"description": "是否为新主机默认启用指标采集。"
}
},
"user": {
"temperatureUnit": {
"label": "Temperature unit",
"description": "How temperatures are shown in Host Metrics.",
"celsius": "Celsius",
"fahrenheit": "Fahrenheit"
"label": "温度单位",
"description": "主机指标中的温度显示方式。",
"celsius": "摄氏度",
"fahrenheit": "华氏度"
}
},
"host": {
"metricsEnabled": {
"label": "Collect metrics"
"label": "采集指标"
},
"metricsInterval": {
"label": "Metrics interval (seconds)"
"label": "指标采样间隔(秒)"
},
"enabledWidgets": {
"label": "Enabled widgets"
"label": "启用的组件"
},
"excludedMounts": {
"label": "Excluded mounts"
"label": "排除的挂载点"
},
"monitoredMounts": {
"label": "Monitored paths"
"label": "监控路径"
}
}
},
"plugin": {
"name": "主机指标"
}
}