Skip to content

Commit

Permalink
增加中文汉化
Browse files Browse the repository at this point in the history
增加中文汉化
  • Loading branch information
DoiiarX committed Feb 1, 2024
1 parent c52495a commit 0b08e0a
Show file tree
Hide file tree
Showing 5 changed files with 1,952 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
python-version: ['3.9']

steps:
- name: Set UTF-8 encoding
run: |
echo 'export LC_ALL=C.UTF-8' >> $GITHUB_ENV
echo 'export LANG=C.UTF-8' >> $GITHUB_ENV
echo 'export LANGUAGE=zh_CN.UTF-8' >> $GITHUB_ENV
shell: bash

- uses: actions/checkout@v2
with:
submodules: true
Expand All @@ -45,6 +52,9 @@ jobs:
shell: bash -l {0}
env:
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
LC_ALL: C.UTF-8
LANG: C.UTF-8 # Set the LANG environment variable to UTF-8
ENV LANGUAGE: zh_CN.UTF-8
run: |
which python
python --version
Expand Down
Loading

0 comments on commit 0b08e0a

Please sign in to comment.