Translate StarPilot into Simplified Chinese

This commit is contained in:
clementatt
2026-11-24 09:30:29 -06:00
committed by firestar5683
6 changed files with 23088 additions and 19 deletions
@@ -1,6 +1,8 @@
Japanese and Korean subsets expanded for the shared StarPilot UI catalogs.
Generated with fontTools.subset, retaining the union of each original font cmap
and all characters in app_ja.po/app_ko.po. Original subset: Dom 1f1b1d5db9.
Japanese, Korean and Simplified Chinese subsets expanded for the shared StarPilot
UI catalogs. Generated with fontTools.subset (default options), retaining the
union of each original font cmap and all characters in app_ja.po/app_ko.po/
app_zh-CHS.po. Original subset: Dom 1f1b1d5db9. Regenerate the Simplified Chinese
subset whenever app_zh-CHS.po gains characters.
The official upstream source fonts are licensed under Noto-OFL.txt.
NotoSansCJKjp-Regular.otf
@@ -12,3 +14,8 @@ NotoSansCJKkr-Regular.otf
Source: https://raw.githubusercontent.com/notofonts/noto-cjk/main/Sans/OTF/Korean/NotoSansCJKkr-Regular.otf
Source SHA-256: 6bcb2a0703aa137e874fc2dffa85f6c21ba9a67fa329e81b8c801663af7e992a
Subset SHA-256: 846e22c2bf1afffc11718ee95e4acc258538cc528b20aab3aa122476e64533b8
NotoSansCJKsc-Regular.otf
Source: https://raw.githubusercontent.com/notofonts/noto-cjk/main/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Regular.otf
Source SHA-256: 2c76254f6fc379fddfce0a7e84fb5385bb135d3e399294f6eeb6680d0365b74b
Subset SHA-256: 159db5944e2e2d2fbeaea3dd6db56b95f57eff80036f93fb7ac612ef25f03e84
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "039faa7282d73968f6a428d4ca05524da23c1c86519a26383fd10e3f59f321e4", "schema_version": 1}
{"protected_inventory_sha256": "37357ae5b7e795297ce284ada9f2877cf922a7eb887c982701e23f0e7e9c5fe4", "schema_version": 1}
+1
View File
@@ -13,6 +13,7 @@ LARGE_TEXT_FILES = frozenset((
'openpilot/selfdrive/ui/translations/app_ja.po',
'openpilot/selfdrive/ui/translations/app_ko.po',
'openpilot/selfdrive/ui/translations/app_vi.po',
'openpilot/selfdrive/ui/translations/app_zh-CHS.po',
'openpilot/starpilot/ui/translation_messages.json',
# shortcut: these existing modules bypass 120 KiB; split when their responsibilities warrant it.
'openpilot/selfdrive/selfdrived/selfdrived.py',
@@ -40,6 +40,7 @@ class LargeFilePolicyTest(unittest.TestCase):
'openpilot/selfdrive/ui/translations/app_ja.po',
'openpilot/selfdrive/ui/translations/app_ko.po',
'openpilot/selfdrive/ui/translations/app_vi.po',
'openpilot/selfdrive/ui/translations/app_zh-CHS.po',
'openpilot/starpilot/ui/translation_messages.json',
):
self.assertEqual(self.check(name, 1000000), 0)