Skip to content

Commit

Permalink
chore: 更新翻译文件格式错误
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Oct 16, 2024
1 parent f935356 commit eb39c5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion locales/und.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
id: und
languages:
- und
messages:
- key: can not get the ip
message:
Expand Down
4 changes: 3 additions & 1 deletion locales/cmn-Hans.yaml → locales/zh.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
id: cmn-Hans
languages:
- zh-Hans
- cmn-Hans
messages:
- key: can not get the ip
message:
Expand Down
2 changes: 1 addition & 1 deletion webuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: MIT

//go:generate web locale -l=und -m -f=yaml ./
//go:generate web update-locale -src=./locales/und.yaml -dest=./locales/cmn-Hans.yaml
//go:generate web update-locale -src=./locales/und.yaml -dest=./locales/zh.yaml

// Package webuse 适用 [web] 的中间件、插件和一些常用的路由函数
//
Expand Down

0 comments on commit eb39c5a

Please sign in to comment.