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