默认国际化资源文件内容

2018-12-24 22:38 更新

默认国际化资源文件内容

验证框架的默认国际化资源文件名称为 validation.properties,其内容如下:

ymp.validation.compare_not_eq={0} can not eq {1}.
ymp.validation.compare_eq={0} must be eq {1}.

ymp.validation.datetime={0} not a valid datetime.

ymp.validation.email={0} not a valid email address.

ymp.validation.length_between={0} length must be between {1} and {2}.
ymp.validation.length_min={0} length must be gt {1}.
ymp.validation.length_max={0} length must be lt {1}.

ymp.validation.numeric={0} not a valid numeric.
ymp.validation.numeric_between={0} numeric must be between {1} and {2}.
ymp.validation.numeric_min={0} numeric must be gt {1}.
ymp.validation.numeric_max={0} numeric must be lt {1}.

ymp.validation.regex={0} regex not match.

ymp.validation.requried={0} must be requried.
以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号