部分中文转换为多语言代号

This commit is contained in:
刘祥超
2023-06-30 18:09:43 +08:00
parent 141dd89f6f
commit fd9849c9ff
175 changed files with 2510 additions and 709 deletions

View File

@@ -2,4 +2,12 @@
package langs
type MessageCode = string
type MessageCode string
func (this MessageCode) For(langCode LangCode, args ...any) string {
return Message(langCode, this, args...)
}
func (this MessageCode) String() string {
return string(this)
}