diff --git a/.gitignore b/.gitignore index d52b31e..9da3372 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .DS_Store -./golifehk *.csv *.json *.swp diff --git a/Dockerfile b/Dockerfile index 27b5ee7..3ea3eae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ COPY [ "go.mod", "go.sum", "./" ] RUN go mod download COPY "datasources" "./datasources/" +COPY "resources/langpacks" "./resources/langpacks/" COPY "adaptors" "./adaptors/" COPY "utils" "./utils/" COPY "query" "./query/" diff --git a/cmd/po-build.sh b/cmd/po-build.sh index de38e2b..1e40c24 100755 --- a/cmd/po-build.sh +++ b/cmd/po-build.sh @@ -3,7 +3,7 @@ RES_ROOT=./resources # Primary language -cp -r "$RES_ROOT/src" "$RES_ROOT/langpacks/en" +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" diff --git a/resources/po/zh-Hant/messages.po b/resources/po/zh-Hant/messages.po index 955691a..a215d37 100644 --- a/resources/po/zh-Hant/messages.po +++ b/resources/po/zh-Hant/messages.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-03-10 15:02+0800\n" +"POT-Creation-Date: 2026-03-10 15:23+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/pot/messages.pot b/resources/pot/messages.pot index 4bc56de..64f12c8 100644 --- a/resources/pot/messages.pot +++ b/resources/pot/messages.pot @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-03-10 15:02+0800\n" +"POT-Creation-Date: 2026-03-10 15:23+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"