Skip to content

Commit

Permalink
chore(locales): 添加缺失的翻译项
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Mar 20, 2024
1 parent 714219b commit 40fc36a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")'
go-version: ${{ matrix.go }}
id: go

Expand All @@ -33,6 +32,7 @@ jobs:
run: go test -p=1 -parallel=1 -v -coverprofile='coverage.txt' -covermode=atomic ./...

- name: Upload Coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
file: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions locales/und.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ messages:
- key: not found the context session key
message:
msg: not found the context session key
- key: the client Authorization header %s is invalid JWT format
message:
msg: the client Authorization header %s is invalid JWT format
- key: the role %s has children role, can not deleted
message:
msg: the role %s has children role, can not deleted
Expand Down
3 changes: 3 additions & 0 deletions locales/zh-CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ messages:
- key: not found the context session key
message:
msg: 在当前对话中未找到相关的 session 数据
- key: the client Authorization header %s is invalid JWT format
message:
msg: 客户端提交到 Authorization 报头的 JWT 格式错误
- key: the role %s has children role, can not deleted
message:
msg: 不能删除拥有子角色的角色 %s
Expand Down

0 comments on commit 40fc36a

Please sign in to comment.