mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
valid field length
This commit is contained in:
1
util/gvalid/testdata/i18n/cn/validation.toml
vendored
1
util/gvalid/testdata/i18n/cn/validation.toml
vendored
@ -28,6 +28,7 @@
|
||||
"gf.gvalid.rule.length" = ":attribute 字段长度为:min到:max个字符"
|
||||
"gf.gvalid.rule.min-length" = ":attribute 字段最小长度为:min"
|
||||
"gf.gvalid.rule.max-length" = ":attribute 字段最大长度为:max"
|
||||
"gf.gvalid.rule.size" = ":attribute 字段长度为必须为:size"
|
||||
"gf.gvalid.rule.between" = ":attribute 字段大小为:min到:max"
|
||||
"gf.gvalid.rule.min" = ":attribute 字段最小值为:min"
|
||||
"gf.gvalid.rule.max" = ":attribute 字段最大值为:max"
|
||||
|
||||
1
util/gvalid/testdata/i18n/en/validation.toml
vendored
1
util/gvalid/testdata/i18n/en/validation.toml
vendored
@ -28,6 +28,7 @@
|
||||
"gf.gvalid.rule.length" = "The :attribute value length must be between :min and :max"
|
||||
"gf.gvalid.rule.min-length" = "The :attribute value length must be equal or greater than :min"
|
||||
"gf.gvalid.rule.max-length" = "The :attribute value length must be equal or lesser than :max"
|
||||
"gf.gvalid.rule.size" = "The :attribute value length must be :size"
|
||||
"gf.gvalid.rule.between" = "The :attribute value must be between :min and :max"
|
||||
"gf.gvalid.rule.min" = "The :attribute value must be equal or greater than :min"
|
||||
"gf.gvalid.rule.max" = "The :attribute value must be equal or lesser than :max"
|
||||
|
||||
Reference in New Issue
Block a user