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

7
cmd/po-export.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
RES_ROOT=./resources
./cmd/compilei18n/compliei18n
json2po -P "$RES_ROOT/src/" "$RES_ROOT/pot/"
pot2po -t "$RES_ROOT/po/zh-Hant" "$RES_ROOT/pot" "$RES_ROOT/po/zh-Hant"