Fixed docker build

This commit is contained in:
2026-03-10 15:28:49 +08:00
parent 7d1de5f781
commit ddf452b92f
5 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,4 @@
.DS_Store
./golifehk
*.csv
*.json
*.swp

View File

@@ -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/"

View File

@@ -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"

View File

@@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"