refactor: 修改验证器语言包提示

This commit is contained in:
2025-05-28 10:47:01 +08:00
parent 40852fcea4
commit e8905b3753
4 changed files with 34 additions and 44 deletions

View File

@@ -35,27 +35,6 @@ return [
'信息已成功提交!' => 'Add Success',
'信息提交失败!' => 'Add Fail',
// 验证器中文本
'validate_first_name_require' => '名不能为空',
'validate_first_name_max' => '名不能超过64个字符',
'validate_last_name_require' => '姓不能为空',
'validate_last_name_max' => '姓不能超过64个字符',
'validate_email_require' => '邮箱不能为空',
'validate_email_email' => '邮箱格式不正确',
'validate_email_max' => '邮箱不能超过128个字符',
'validate_phone_max' => '电话号码不能超过32个字符',
'validate_country_name_require' => '国家不能为空',
'validate_country_name_max' => '国家不能超过128个字符',
'validate_corp_name_require' => '公司/组织不能为空',
'validate_corp_name_max' => '公司/组织不能超过128个字符',
'validate_industry_require' => '行业不能为空',
'validate_industry_max' => '行业不能超过64个字符',
'validate_message_require' => '询问内容不能为空',
'validate_message_max' => '询问内容不能超过1024个字符',
// 返回文本
'send_success' => '信息已成功提交',
'send_fail' => '信息提交失败',
// 附件下载
'软件下载' => 'Software download',
'支持型号' => 'Supported Models',

View File

@@ -25,4 +25,15 @@ return [
'感兴趣的产品种类不能超过255个字符' => 'Interested product categories cannot exceed 255 characters',
'留言内容不能为空' => 'Message content is required',
'留言内容不能超过1024个字符' => 'Message content cannot exceed 1024 characters',
'姓名不能为空' => 'Name is required',
'问题不能为空' => 'Question is required',
'问题不能超过1024个字符' => 'Question cannot exceed 1024 characters',
'国家不能为空' => 'Country is required',
'国家不能超过128个字符' => 'Country cannot exceed 128 characters',
'公司/组织不能为空' => 'Company/Organization is required',
'公司/组织不能超过128个字符' => 'Company/Organization cannot exceed 128 characters',
'行业不能为空' => 'Industry is required',
'行业不能超过64个字符' => 'Industry cannot exceed 64 characters',
'询问内容不能为空' => 'Inquiry is required',
'询问内容不能超过1024个字符' => 'Inquiry cannot exceed 1024 characters',
];