fix(ui): 校正三语指标文案并核对构建包译文

This commit is contained in:
2026-11-16 00:17:42 +08:00
parent 3ee6b45eb4
commit 36518d29db
10 changed files with 172 additions and 38 deletions
+2 -1
View File
@@ -162,7 +162,8 @@ struct MenuPanelView: View {
HStack {
HStack(spacing: 4) {
Text("panel.uptime")
MetricText(value: String(format: "%.1f h", snapshot.uptime / 3600))
let hours = (snapshot.uptime / 3600).formatted(.number.precision(.fractionLength(1)).grouping(.never).locale(locale))
Text("duration.hours \(hours)").monospacedDigit()
}.fixedSize()
Divider().frame(height: 14)
Text(verbatim: HardwareIdentity.displayName)