Commit Graph

31 Commits

Author SHA1 Message Date
mawei 38fe76e2df 编辑launch_openpilot.sh 2026-06-06 22:37:02 +08:00
Comma Device c430381736 VERSION 2026-06-04 13:13:02 +00:00
mawei 24ce7c586b feat(home): increase welcome text font size to 100 2026-06-04 20:19:19 +08:00
mawei 6332384304 feat(sidebar): use Chinese for remote connection status 2026-06-04 20:18:10 +08:00
mawei c6416a899b feat(sidebar): change CONNECT label to REMOTE when connected 2026-06-04 20:17:42 +08:00
mawei e578a8ef87 feat(sidebar): show max CPU temperature instead of static GOOD/OK/HIGH 2026-06-04 20:16:18 +08:00
mawei 30239bfbd2 fix(updated): fall back to current branch when target_branch not found on remote
Prevents false 'update available' notifications when the stored
target_branch doesn't match any branch on the remote. Instead, compare
against the currently running branch for accurate update detection.
2026-06-04 20:16:18 +08:00
mawei 0cc5666b64 编辑manager.py 2026-06-04 08:47:58 +08:00
mawei 59d951ea32 设置面板主菜单字号加大到85px 2026-06-03 20:40:02 +08:00
mawei 10bf80af09 unifont 字体渲染尺寸改为 64px 2026-06-03 20:30:42 +08:00
mawei 1bff880a88 隐藏 Sunnylink 和 Models 菜单 2026-06-03 17:25:34 +08:00
mawei 74f0ba7b7a 首页免责声明去掉末尾感叹号 2026-06-03 17:23:36 +08:00
mawei cdf424d261 manager_init 中默认设置语言为中文简体 (zh-CHS) 2026-06-03 17:21:55 +08:00
mawei 92ebfb42ca 默认语言改为中文简体 (zh-CHS) 2026-06-03 17:17:33 +08:00
mawei 6fe513fd66 Revert "移植 IQ.Pilot panda 子系统"
This reverts commit 237816d8f9.

Reason: IQ.Pilot panda 子系统依赖 cereal::IQCarParams 和 iqState
service,在 openpilot 标准 cereal 中不存在,设备上编译失败。
回退到上一个正常编译版本。panda 固件层(F4/H7)已确认编译通过,
保留固件编译修复的成果。
2026-06-03 16:20:36 +08:00
mawei 237816d8f9 移植 IQ.Pilot panda 子系统
- 用 IQ.Pilot 的 panda/ 完整替换原版(含 board 固件、python 库、certs、构建脚本)
- 同步 selfdrive/pandad/ 为 IQ.Pilot 版(多 panda 管理,新增 panda_comms.cc)
- 修复 IQ.Pilot board 固件编译问题:
  - health.h 补充 CAN_PACKET_VERSION 宏定义
  - IQ.Pilot 特有变量/函数名改回 sunnypilot 原版
    (current_safety_param_iq→current_safety_param_sp 等)
- 固件编译通过:panda(F4)/panda_h7/panda_jungle_h7/body_h7
2026-06-03 16:10:12 +08:00
mawei c75bf1ad61 mazda: steerFaultTemporary 恒为 False 2026-06-03 15:09:26 +08:00
mawei 7dc8596bbd chore: 统一首页字体大小,免责声明改为红色 2026-06-03 11:44:18 +08:00
mawei 5eca39c629 chore: 首页增加免责声明 2026-06-03 11:40:00 +08:00
mawei 2997cb455b chore: 首页显示欢迎选用 MR.ONE 2026-06-03 11:33:32 +08:00
mawei a0844b6aa3 Revert "feat: 首页内容区替换为 HelloKitty 图片"
This reverts commit e53e809fce.
2026-06-03 11:31:58 +08:00
mawei e53e809fce feat: 首页内容区替换为 HelloKitty 图片 2026-06-03 11:25:21 +08:00
mawei e810b1c1e7 chore: 移除主界面 sunnylink 连接状态显示 2026-06-03 11:15:24 +08:00
mawei 9967a69abe chore: 隐藏 OSM、行程、数据洪流菜单 2026-06-03 10:47:37 +08:00
mawei 858a9d6fb9 chore: 隐藏数据洪流(Firehose)菜单 2026-06-03 10:47:16 +08:00
mawei 026d0a5e48 fix(i18n): 将菜单文字翻译延迟到渲染时执行,修复语言切换后仍是英文的问题
PanelInfo 构造时调用 tr() 只会在模块加载时(默认 en)执行一次,
后续语言切换后 panel_info.name 不会自动更新。
将 NavButton._render() 中对 self.panel_info.name 的引用改为
tr(self.panel_info.name),在每次渲染时实时翻译。
2026-06-03 09:57:03 +08:00
mawei b2f5adc98f fix(i18n): replace tr_noop with tr for sidebar menu names in sunnypilot settings
Root cause: all sidebar menu buttons used tr_noop() which returns the
original string without translation. Replaced with tr() for all 16 menu
items (Device, Network, sunnylink, Toggles, Software, Models, Steering,
Cruise, Visuals, Display, OSM, Trips, Vehicle, Firehose, Developer).

Also fixes:
- PairBigButton: pair/paired/subscribed/upgrade to prime hardcoded text
- UpdateOpenpilotBigButton: 'update sunnypilot' hardcoded text
- SunnylinkHeader title: '🚀 sunnylink 🚀' hardcoded text
- OSM: DELETING..., Loading... hardcoded text
- PO: added 25 new translation entries for all above items
2026-06-02 21:10:16 +08:00
mawei cae81899fb fix(i18n): 修复汉化问题 - 补充 tr() 包裹和 PO 翻译
1. 源码 8 个文件:40 处硬编码英文改为 tr() 调用
   - settings.py: 主菜单按钮(toggles/network/device/developer/firehose)
   - network_layout.py: 网络设置全部按钮
   - toggles.py: 开关页全部选项
   - developer.py: 开发者页全部按钮
   - device.py: 设备页按钮
   - onboarding.py: 引导页全部按钮文字
   - sunnylink.py: Backup/Restore 确认对话框
   - sunnypilot/onboarding.py: sunnylink 引导页

2. PO 文件 app_zh-CHS.po: 新增 40 条翻译条目
   - 覆盖所有新增 tr() 调用的中文翻译
   - 翻译风格与原有中文 PO 保持一致

改动: 9 files, +215/-38 lines
2026-06-02 20:55:17 +08:00
mawei 4015dbd04c feat(i18n): 完整汉化 + 替换中文字体(NotoSansSC 子集)
汉化:
- app_zh-CHS.po 从 182 条翻译扩展至 519 条(+1241/-38)
- 覆盖所有功能名称、设置项描述、系统提示等

字体:
- 替换 unifont.otf(5.1MB 像素字体)→ unifont.ttf(426KB NotoSansSC 子集)
- 矢量字体渲染更清晰圆润,体积仅原来的 1/12
- 在设备运行 process.py 后生效
2026-06-02 20:18:52 +08:00
1okko 3c388b5648 2026-5-31 2026-06-02 19:07:47 +08:00
github-actions[bot] 7c44d10fed sunnypilot v2026.002.000 release
date: 2026-06-02T19:04:03
master commit: dfc3c98b226da57a653daf57131a8a3d66166fcb
2026-06-02 19:04:12 +08:00