mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-08-05 18:29:32 +00:00
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
ko Pack Bundle
This bundle keeps Korean external to the firmware image.
It contains:
- locale pack:
ko - font pack:
ko-cjk
The locale manifest points to:
ui_font_pack=ko-cjkcontent_font_pack=ko-cjk
Bundle-level package metadata lives in:
package.iniDESCRIPTION.txtREADME.md
Bundle Layout
package.iniDESCRIPTION.txtREADME.mdfonts/ko-cjk/manifest.inibuild.inicharset.txtranges.txtfont.binafter generation
locales/ko/manifest.inistrings.tsv
Generate The Font Pack
- Refresh the subset files:
python tools/build_locale_pack_charset.py --pack-root packs/ko --font-pack-id ko-cjk
- Generate
font.bin:
python tools/generate_binfont_with_lv_font_conv.py `
--font tools/fonts/NotoSansCJKsc-Regular.otf `
--charset-file packs/ko/fonts/ko-cjk/charset.txt `
--output packs/ko/fonts/ko-cjk/font.bin `
--size 16 `
--bpp 2 `
--node-exe C:\Users\VicLi\AppData\Local\nodejs22\current\node.exe `
--no-compress
Notes:
- This bundle is display-only for now. It does not declare an IME pack yet.
build.iniis the source-of-truth for generatingfont.binduring Pages/package builds.font.binis ignored by Git. Regenerate it whenever the subset changes.- The runtime uses
ranges.txtandestimated_ram_bytesto decide when Korean can be activated or loaded as extra content coverage.
Distribution Package
python scripts/build_pack_repository.py --pack-root packs --site-root site produces:
site/assets/packs/ko-1.1.1.zipsite/data/packs.json
The zip is the bundle artifact for a future Extensions downloader. Its payload/ directory unpacks into /trailmate/packs/....
Copy To SD Card
Copy the bundle contents so the SD card ends up with:
/trailmate/packs/fonts/ko-cjk/manifest.ini
/trailmate/packs/fonts/ko-cjk/ranges.txt
/trailmate/packs/fonts/ko-cjk/font.bin
/trailmate/packs/locales/ko/manifest.ini
/trailmate/packs/locales/ko/strings.tsv
After reboot, 한국어 appears in Settings only after the locale is promoted to translation_status=release. While it is in review, the runtime can install and index the pack but will not offer it as a selectable UI language.