add i18n configuration
This commit is contained in:
parent
6b06e78b61
commit
1d7c7fd8af
|
@ -57,6 +57,7 @@ var (
|
|||
"Regexp[%s] matching failed": "正则表达式[%s]匹配失败",
|
||||
"Regexp[%s] matched, but cannot get substring()": "主正则[%s]匹配成功,但无法匹配到子串",
|
||||
"TagKey or TagValue contains illegal characters[:,/=\r\n\t]": "标签KEY或者标签值包含非法字符串[:,/=\r\n\t]",
|
||||
"Resource cannot delete in preset classpath": "预置分组不能删除资源",
|
||||
}
|
||||
langDict = map[string]map[string]string{
|
||||
"zh": dict,
|
||||
|
|
|
@ -109,7 +109,7 @@ func classpathDelResources(c *gin.Context) {
|
|||
me := loginUser(c).MustPerm("classpath_del_resource")
|
||||
|
||||
if classpathId == 1 {
|
||||
bomb(200, "Resource cannot delete in preset classpath")
|
||||
bomb(200, _s("Resource cannot delete in preset classpath"))
|
||||
}
|
||||
|
||||
cp := Classpath(classpathId)
|
||||
|
|
Loading…
Reference in New Issue