fix(langpack): sync WebK catalog alias support
This commit is contained in:
parent
9ef746d45e
commit
a785ae7491
7 changed files with 313 additions and 8 deletions
|
|
@ -1,5 +1,14 @@
|
|||
package domain
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
// ErrLangPackInvalid 表示客户端请求的语言包目录不存在。
|
||||
ErrLangPackInvalid = errors.New("lang pack invalid")
|
||||
// ErrLangCodeNotSupported 表示语言包目录存在,但其中没有请求的语言码。
|
||||
ErrLangCodeNotSupported = errors.New("lang code not supported")
|
||||
)
|
||||
|
||||
// LangPack 是一份客户端语言包的查询结果。
|
||||
type LangPack struct {
|
||||
LangPack string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue