Added basic i18n
This commit is contained in:
9
cmd/po-build.sh
Executable file
9
cmd/po-build.sh
Executable 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"
|
||||
Reference in New Issue
Block a user