預設國際化資源檔案內容
預設國際化資源檔案內容
驗證框架的預設國際化資源檔案名稱為 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.