From ce9000a9890c77ba1a7ee00ea2c8cef60a2d445c Mon Sep 17 00:00:00 2001 From: EldersJavas <55266266+EldersJavas@users.noreply.github.com> Date: Fri, 29 Jan 2021 21:56:56 +0800 Subject: [PATCH 1/4] Add Chinese translation --- l10n/walk-zh_hans.tr | 1 + l10n/walk-zh_hant.tr | 1 + 2 files changed, 2 insertions(+) create mode 100644 l10n/walk-zh_hans.tr create mode 100644 l10n/walk-zh_hant.tr diff --git a/l10n/walk-zh_hans.tr b/l10n/walk-zh_hans.tr new file mode 100644 index 000000000..7eab93ee9 --- /dev/null +++ b/l10n/walk-zh_hans.tr @@ -0,0 +1 @@ +{"Messages":[{"Locations":[{"File":"../validators.go","Line":"87"}],"Source":"Number out of allowed range","Context":["walk"],"Translation":"数字超出范围"},{"Locations":[{"File":"../validators.go","Line":"128"}],"Source":"The text does not match the required pattern.","Context":["walk"],"Translation":"字符串不符合要求格式."},{"Locations":[{"File":"../validators.go","Line":"147"}],"Source":"Selection Required","Context":["walk"],"Translation":"需要选择"},{"Locations":[{"File":"../validators.go","Line":"148"}],"Source":"Please select one of the provided options.","Context":["walk"],"Translation":"请选择其中一项."},{"Locations":[{"File":"../tooltiperrorpresenter.go","Line":"107"}],"Source":"Invalid Input","Context":null,"Translation":"输入错误"},{"Locations":[{"File":"../declarative/radiobuttongroup.go","Line":"93"}],"Source":"A selection is required.","Context":["walk"],"Translation":"必选项."},{"Locations":[{"File":"../validators.go","Line":"80"}],"Source":"Please enter a number from %.f to %.f.","Context":["walk"],"Translation":"请输入一个从 %.f 到 %.f 的数字."},{"Locations":[{"File":"../validators.go","Line":"83"}],"Source":"Please enter a number from %s to %s.","Context":["walk"],"Translation":"请输入一个从 %s 到 %s 的数字."}]} \ No newline at end of file diff --git a/l10n/walk-zh_hant.tr b/l10n/walk-zh_hant.tr new file mode 100644 index 000000000..958cdf911 --- /dev/null +++ b/l10n/walk-zh_hant.tr @@ -0,0 +1 @@ +{"Messages":[{"Locations":[{"File":"../validators.go","Line":"87"}],"Source":"Number out of allowed range","Context":["walk"],"Translation":"數字超出範圍"},{"Locations":[{"File":"../validators.go","Line":"128"}],"Source":"The text does not match the required pattern.","Context":["walk"],"Translation":"字符串不符合要求格式."},{"Locations":[{"File":"../validators.go","Line":"147"}],"Source":"Selection Required","Context":["walk"],"Translation":"需要選擇"},{"Locations":[{"File":"../validators.go","Line":"148"}],"Source":"Please select one of the provided options.","Context":["walk"],"Translation":"請選擇其中一項."},{"Locations":[{"File":"../tooltiperrorpresenter.go","Line":"107"}],"Source":"Invalid Input","Context":null,"Translation":"輸入錯誤"},{"Locations":[{"File":"../declarative/radiobuttongroup.go","Line":"93"}],"Source":"A selection is required.","Context":["walk"],"Translation":"必選項."},{"Locations":[{"File":"../validators.go","Line":"80"}],"Source":"Please enter a number from %.f to %.f.","Context":["walk"],"Translation":"請輸入一個從 %.f 到 %.f 的數字."},{"Locations":[{"File":"../validators.go","Line":"83"}],"Source":"Please enter a number from %s to %s.","Context":["walk"],"Translation":"請輸入一個從 %s 到 %s 的數字."}]} \ No newline at end of file From 87224e796edfab13731c7e1cb057d581d46af5ff Mon Sep 17 00:00:00 2001 From: EldersJavas <55266266+EldersJavas@users.noreply.github.com> Date: Fri, 29 Jan 2021 21:58:56 +0800 Subject: [PATCH 2/4] update update.bat Add Chinese --- l10n/update.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n/update.bat b/l10n/update.bat index 91c33565b..e9d04bf51 100644 --- a/l10n/update.bat +++ b/l10n/update.bat @@ -1 +1 @@ -polyglot -name="walk" -dir=".." -locales="de,fr,ko" +polyglot -name="walk" -dir=".." -locales="de,fr,ko,zh_hans,zh_hant" From ced52bebe2d4a6c63f45b47cdae183dc0f2238bc Mon Sep 17 00:00:00 2001 From: EldersJavas <55266266+EldersJavas@users.noreply.github.com> Date: Fri, 29 Jan 2021 22:15:53 +0800 Subject: [PATCH 3/4] Create go.yml --- .github/workflows/go.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 000000000..1bd0a1f91 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,25 @@ +name: Go + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... From 85012d2acee32814fbee90f22820102640e5eb00 Mon Sep 17 00:00:00 2001 From: EldersJavas <55266266+EldersJavas@users.noreply.github.com> Date: Fri, 29 Jan 2021 22:18:26 +0800 Subject: [PATCH 4/4] Delete go.yml --- .github/workflows/go.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 1bd0a1f91..000000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Go - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.15 - - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./...