Added basic i18n

This commit is contained in:
2026-03-10 15:18:34 +08:00
parent 093a8745ac
commit 7d1de5f781
25 changed files with 660 additions and 105 deletions

9
cmd/po-build.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
RES_ROOT=./resources
# Primary language
cp -r "$RES_ROOT/src" "$RES_ROOT/langpacks/en"
# zh-Hant
po2json -t "$RES_ROOT/src/" "$RES_ROOT/po/zh-Hant" "$RES_ROOT/langpacks/zh-Hant"