i18n: new battery strings

This commit is contained in:
henrygd
2025-08-25 16:46:15 -04:00
parent ae5532aa36
commit 493bae7eb6
29 changed files with 2838 additions and 1987 deletions

View File

@@ -69,8 +69,8 @@ msgid "5 min"
msgstr "5分钟"
#. Table column
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/systems-table/systems-table-columns.tsx
msgid "Actions"
msgstr "操作"
@@ -113,18 +113,18 @@ msgid "Agent"
msgstr "客户端"
#: src/components/command-palette.tsx
#: src/components/routes/settings/layout.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/routes/settings/layout.tsx
msgid "Alert History"
msgstr "警报历史"
#: src/components/alerts/alert-button.tsx
#: src/components/alerts/alert-button.tsx
#: src/components/alerts/alerts-sheet.tsx
msgid "Alerts"
msgstr "警报"
#: src/components/alerts/alerts-sheet.tsx
#: src/components/systems-table/systems-table.tsx
#: src/components/alerts/alert-button.tsx
msgid "All Systems"
msgstr "所有客户端"
@@ -148,8 +148,8 @@ msgstr "平均"
msgid "Average CPU utilization of containers"
msgstr "容器的平均 CPU 使用率"
#. placeholder {0}: data.alert.unit
#: src/components/alerts/alerts-system.tsx
#. placeholder {0}: alertData.unit
#: src/components/alerts/alerts-sheet.tsx
msgid "Average exceeds <0>{value}{0}</0>"
msgstr "平均值超过<0>{value}{0}</0>"
@@ -166,16 +166,20 @@ msgstr "系统范围内的平均 CPU 使用率"
msgid "Average utilization of {0}"
msgstr "{0} 平均利用率"
#: src/components/navbar.tsx
#: src/components/command-palette.tsx
#: src/components/navbar.tsx
msgid "Backups"
msgstr "备份"
#: src/lib/utils.ts
#: src/components/routes/system.tsx
#: src/lib/alerts.ts
msgid "Bandwidth"
msgstr "带宽"
#: src/components/routes/system.tsx
msgid "Battery"
msgstr ""
#: src/components/login/auth-form.tsx
msgid "Beszel supports OpenID Connect and many OAuth2 authentication providers."
msgstr "Beszel支持OpenID Connect和其他OAuth2认证方式。"
@@ -202,8 +206,8 @@ msgstr "字节 (KB/s, MB/s, GB/s)"
msgid "Cache / Buffers"
msgstr "缓存/缓冲区"
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/systems-table/systems-table-columns.tsx
msgid "Cancel"
msgstr "取消"
@@ -223,6 +227,15 @@ msgstr "更改指标的显示单位。"
msgid "Change general application options."
msgstr "更改常规应用程序选项。"
#: src/components/routes/system.tsx
msgid "Charge"
msgstr ""
#. Context: Battery state
#: src/lib/i18n.ts
msgid "Charging"
msgstr ""
#: src/components/routes/settings/general.tsx
msgid "Chart options"
msgstr "图表选项"
@@ -261,8 +274,8 @@ msgstr "确认密码"
msgid "Connection is down"
msgstr "连接已断开"
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/systems-table/systems-table-columns.tsx
msgid "Continue"
msgstr "继续"
@@ -320,9 +333,9 @@ msgstr "复制YAML"
msgid "CPU"
msgstr "CPU"
#: src/lib/utils.ts
#: src/components/routes/system.tsx
#: src/components/routes/system.tsx
#: src/lib/alerts.ts
msgid "CPU Usage"
msgstr "CPU使用率"
@@ -339,10 +352,10 @@ msgstr "创建时间"
msgid "Critical (%)"
msgstr "临界 (%)"
#. Dark theme
#: src/components/mode-toggle.tsx
msgid "Dark"
msgstr "深色模式"
#. Context: Battery state
#: src/components/routes/system.tsx
msgid "Current state"
msgstr ""
#: src/components/command-palette.tsx
#: src/components/routes/home.tsx
@@ -353,8 +366,8 @@ msgstr "仪表板"
msgid "Default time period"
msgstr "默认时间段"
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/systems-table/systems-table-columns.tsx
msgid "Delete"
msgstr "删除"
@@ -362,6 +375,11 @@ msgstr "删除"
msgid "Delete fingerprint"
msgstr "删除指纹"
#. Context: Battery state
#: src/lib/i18n.ts
msgid "Discharging"
msgstr ""
#: src/components/systems-table/systems-table-columns.tsx
msgid "Disk"
msgstr "磁盘"
@@ -374,9 +392,9 @@ msgstr "磁盘I/O"
msgid "Disk unit"
msgstr "磁盘单位"
#: src/lib/utils.ts
#: src/components/routes/system.tsx
#: src/components/charts/disk-chart.tsx
#: src/components/routes/system.tsx
#: src/lib/alerts.ts
msgid "Disk Usage"
msgstr "磁盘使用"
@@ -401,10 +419,10 @@ msgid "Documentation"
msgstr "文档"
#. Context: System is down
#: src/lib/utils.ts
#: src/components/alerts-history-columns.tsx
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/system.tsx
#: src/components/systems-table/systems-table-columns.tsx
#: src/lib/alerts.ts
msgid "Down"
msgstr "离线"
@@ -417,8 +435,8 @@ msgstr "持续时间"
msgid "Edit"
msgstr "编辑"
#: src/components/login/forgot-pass-form.tsx
#: src/components/login/auth-form.tsx
#: src/components/login/forgot-pass-form.tsx
msgid "Email"
msgstr "电子邮件"
@@ -426,6 +444,11 @@ msgstr "电子邮件"
msgid "Email notifications"
msgstr "电子邮件通知"
#. Context: Battery state
#: src/lib/i18n.ts
msgid "Empty"
msgstr ""
#: src/components/login/login.tsx
msgid "Enter email address to reset password"
msgstr "输入电子邮件地址以重置密码"
@@ -434,11 +457,11 @@ msgstr "输入电子邮件地址以重置密码"
msgid "Enter email address..."
msgstr "输入电子邮件地址..."
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/routes/settings/notifications.tsx
#: src/components/routes/settings/config-yaml.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/login/auth-form.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/routes/settings/config-yaml.tsx
#: src/components/routes/settings/notifications.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
msgid "Error"
msgstr "错误"
@@ -473,8 +496,8 @@ msgstr "华氏度 (°F)"
msgid "Failed to authenticate"
msgstr "认证失败"
#: src/components/routes/settings/notifications.tsx
#: src/components/routes/settings/layout.tsx
#: src/components/routes/settings/notifications.tsx
msgid "Failed to save settings"
msgstr "保存设置失败"
@@ -482,13 +505,13 @@ msgstr "保存设置失败"
msgid "Failed to send test notification"
msgstr "发送测试通知失败"
#: src/components/alerts/alerts-system.tsx
#: src/components/alerts/alerts-sheet.tsx
msgid "Failed to update alert"
msgstr "更新警报失败"
#: src/components/systems-table/systems-table.tsx
#: src/components/routes/system.tsx
#: src/components/routes/settings/alerts-history-data-table.tsx
#: src/components/routes/system.tsx
#: src/components/systems-table/systems-table.tsx
msgid "Filter..."
msgstr "过滤..."
@@ -496,7 +519,7 @@ msgstr "过滤..."
msgid "Fingerprint"
msgstr "指纹"
#: src/components/alerts/alerts-system.tsx
#: src/components/alerts/alerts-sheet.tsx
msgid "For <0>{min}</0> {min, plural, one {minute} other {minutes}}"
msgstr "持续<0>{min}</0> {min, plural, one {分钟} other {分钟}}"
@@ -504,9 +527,14 @@ msgstr "持续<0>{min}</0> {min, plural, one {分钟} other {分钟}}"
msgid "Forgot password?"
msgstr "忘记密码?"
#. Context: Battery state
#: src/lib/i18n.ts
msgid "Full"
msgstr ""
#. Context: General settings
#: src/components/routes/settings/layout.tsx
#: src/components/routes/settings/general.tsx
#: src/components/routes/settings/layout.tsx
msgid "General"
msgstr "常规"
@@ -528,6 +556,11 @@ msgstr "Homebrew 安装命令"
msgid "Host / IP"
msgstr "主机/IP"
#. Context: Battery state
#: src/lib/i18n.ts
msgid "Idle"
msgstr ""
#: src/components/login/forgot-pass-form.tsx
msgid "If you've lost the password to your admin account, you may reset it using the following command."
msgstr "如果您丢失了管理员账户的密码,可以使用以下命令重置。"
@@ -549,24 +582,19 @@ msgstr "语言"
msgid "Layout"
msgstr "布局"
#. Light theme
#: src/components/mode-toggle.tsx
msgid "Light"
msgstr "浅色模式"
#: src/components/routes/system.tsx
msgid "Load Average"
msgstr "系统负载"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Load Average 15m"
msgstr "15分钟内的平均负载"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Load Average 1m"
msgstr "1分钟负载平均值"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Load Average 5m"
msgstr "5分钟内的平均负载"
@@ -583,13 +611,13 @@ msgstr "登出"
msgid "Login"
msgstr "登录"
#: src/components/login/forgot-pass-form.tsx
#: src/components/login/auth-form.tsx
#: src/components/login/forgot-pass-form.tsx
msgid "Login attempt failed"
msgstr "登录尝试失败"
#: src/components/navbar.tsx
#: src/components/command-palette.tsx
#: src/components/navbar.tsx
msgid "Logs"
msgstr "日志"
@@ -614,8 +642,8 @@ msgstr "1分钟内最大值"
msgid "Memory"
msgstr "内存"
#: src/lib/utils.ts
#: src/components/routes/system.tsx
#: src/lib/alerts.ts
msgid "Memory Usage"
msgstr "内存使用"
@@ -623,8 +651,8 @@ msgstr "内存使用"
msgid "Memory usage of docker containers"
msgstr "Docker 容器的内存使用"
#: src/components/alerts-history-columns.tsx
#: src/components/add-system.tsx
#: src/components/alerts-history-columns.tsx
msgid "Name"
msgstr "名称"
@@ -659,8 +687,8 @@ msgid "No systems found."
msgstr "未找到系统。"
#: src/components/command-palette.tsx
#: src/components/routes/settings/notifications.tsx
#: src/components/routes/settings/layout.tsx
#: src/components/routes/settings/notifications.tsx
msgid "Notifications"
msgstr "通知"
@@ -672,9 +700,9 @@ msgstr "支持 OAuth 2 / OIDC"
msgid "On each restart, systems in the database will be updated to match the systems defined in the file."
msgstr "每次重启时,数据库中的系统将更新以匹配文件中定义的系统。"
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
msgid "Open menu"
msgstr "打开菜单"
@@ -682,7 +710,7 @@ msgstr "打开菜单"
msgid "Or continue with"
msgstr "或使用以下方式登录"
#: src/components/alerts/alert-button.tsx
#: src/components/alerts/alerts-sheet.tsx
msgid "Overwrite existing alerts"
msgstr "覆盖现有警报"
@@ -729,12 +757,12 @@ msgstr "已暂停"
msgid "Please <0>configure an SMTP server</0> to ensure alerts are delivered."
msgstr "请<0>配置SMTP服务器</0>以确保警报被传递。"
#: src/components/alerts/alerts-system.tsx
#: src/components/alerts/alerts-sheet.tsx
msgid "Please check logs for more details."
msgstr "请检查日志以获取更多详细信息。"
#: src/components/login/forgot-pass-form.tsx
#: src/components/login/auth-form.tsx
#: src/components/login/forgot-pass-form.tsx
msgid "Please check your credentials and try again"
msgstr "请检查您的凭据并重试"
@@ -812,8 +840,8 @@ msgstr "每页行数"
msgid "Save address using enter key or comma. Leave blank to disable email notifications."
msgstr "使用回车键或逗号保存地址。留空以禁用电子邮件通知。"
#: src/components/routes/settings/notifications.tsx
#: src/components/routes/settings/general.tsx
#: src/components/routes/settings/notifications.tsx
msgid "Save Settings"
msgstr "保存设置"
@@ -829,7 +857,7 @@ msgstr "搜索"
msgid "Search for systems or settings..."
msgstr "搜索系统或设置..."
#: src/components/alerts/alert-button.tsx
#: src/components/alerts/alerts-sheet.tsx
msgid "See <0>notification settings</0> to configure how you receive alerts."
msgstr "查看<0>通知设置</0>以配置您接收警报的方式。"
@@ -873,7 +901,7 @@ msgstr "排序依据"
msgid "State"
msgstr "状态"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Status"
msgstr "状态"
@@ -885,12 +913,10 @@ msgstr "系统使用的 SWAP 空间"
msgid "Swap Usage"
msgstr "SWAP 使用"
#. System theme
#: src/lib/utils.ts
#: src/components/mode-toggle.tsx
#: src/components/alerts-history-columns.tsx
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/systems-table/systems-table-columns.tsx
#: src/lib/alerts.ts
msgid "System"
msgstr "系统"
@@ -915,8 +941,8 @@ msgstr "表格"
msgid "Temp"
msgstr "温度"
#: src/lib/utils.ts
#: src/components/routes/system.tsx
#: src/lib/alerts.ts
msgid "Temperature"
msgstr "温度"
@@ -975,8 +1001,8 @@ msgid "Token"
msgstr "令牌"
#: src/components/command-palette.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
#: src/components/routes/settings/layout.tsx
#: src/components/routes/settings/tokens-fingerprints.tsx
msgid "Tokens & Fingerprints"
msgstr "令牌和指纹"
@@ -988,39 +1014,39 @@ msgstr "令牌允许客户端连接和注册。指纹是每个系统唯一的稳
msgid "Tokens and fingerprints are used to authenticate WebSocket connections to the hub."
msgstr "令牌和指纹用于验证到中心的WebSocket连接。"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when 1 minute load average exceeds a threshold"
msgstr "当1分钟负载平均值超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when 15 minute load average exceeds a threshold"
msgstr "当15分钟负载平均值超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when 5 minute load average exceeds a threshold"
msgstr "当5分钟内的平均负载超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when any sensor exceeds a threshold"
msgstr "当任何传感器超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when combined up/down exceeds a threshold"
msgstr "当网络的上/下行速度超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when CPU usage exceeds a threshold"
msgstr "当CPU使用率超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when memory usage exceeds a threshold"
msgstr "当内存使用率超过阈值时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when status switches between up and down"
msgstr "当状态在上线与掉线之间切换时触发"
#: src/lib/utils.ts
#: src/lib/alerts.ts
msgid "Triggers when usage of any disk exceeds a threshold"
msgstr "当任何磁盘的使用率超过阈值时触发"
@@ -1033,9 +1059,14 @@ msgstr "单位偏好"
msgid "Universal token"
msgstr "通用令牌"
#. Context: Battery state
#: src/lib/i18n.ts
msgid "Unknown"
msgstr ""
#. Context: System is up
#: src/components/systems-table/systems-table-columns.tsx
#: src/components/routes/system.tsx
#: src/components/systems-table/systems-table-columns.tsx
msgid "Up"
msgstr "在线"
@@ -1058,13 +1089,13 @@ msgstr "使用"
msgid "Usage of root partition"
msgstr "根分区的使用"
#: src/components/charts/swap-chart.tsx
#: src/components/charts/mem-chart.tsx
#: src/components/charts/swap-chart.tsx
msgid "Used"
msgstr "已用"
#: src/components/navbar.tsx
#: src/components/command-palette.tsx
#: src/components/navbar.tsx
msgid "Users"
msgstr "用户"
@@ -1131,4 +1162,3 @@ msgstr "YAML配置"
#: src/components/routes/settings/layout.tsx
msgid "Your user settings have been updated."
msgstr "您的用户设置已更新。"