Fixed docker build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
.DS_Store
|
||||
./golifehk
|
||||
*.csv
|
||||
*.json
|
||||
*.swp
|
||||
|
||||
@@ -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/"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user