fix(langpack): sync WebK catalog alias support

This commit is contained in:
iamxvbaba 2026-07-25 14:08:43 +08:00
parent 9ef746d45e
commit a785ae7491
7 changed files with 313 additions and 8 deletions

View file

@ -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