在单位回退时就近提示缺少可用标定

让实时和回放的原始单位回退原因出现在力曲线单位按钮旁。相关定向测试与 lint gate 通过。
This commit is contained in:
ykcheungab
2026-10-10 15:05:09 +08:00
parent cf86bd0702
commit 48de5b74e6
7 changed files with 42 additions and 3 deletions
+1 -1
View File
@@ -504,7 +504,7 @@
"finger_run_unavailable": "Run is not available for this sensor type",
"video_required": "Select a video file first",
"config_missing": "Sensor config not found for {type}",
"units_raw_fallback": "Calibration unavailable — showing raw units",
"units_raw_fallback": "No usable calibration; showing raw for now",
"reveal_failed": "Could not reveal config: {error}"
},
"scene3d": {
+1 -1
View File
@@ -504,7 +504,7 @@
"finger_run_unavailable": "此传感器类型暂不支持运行",
"video_required": "请先选择视频文件",
"config_missing": "未找到传感器配置: {type}",
"units_raw_fallback": "无标定数据 — 显示原始单位",
"units_raw_fallback": "无可用标定,暂显示原始单位",
"reveal_failed": "无法打开配置位置: {error}"
},
"scene3d": {