feat(lang): 添加并扩展多语言验证和管理员提示信息
- 在英语和尼泊尔语中新增管理员相关提示‘integration_site_store_deprecated’ - 丰富了验证属性的多语言条目,覆盖更多字段及嵌套属性 - 新增验证业务规则的语言提示,补充限制和条件说明 - 扩展自定义验证消息,加入数组、邮箱、角色、返点率等多种验证提示 - 增加多个验证规则的语言描述,支持更多常见的验证类型及场景 - 尼泊尔语验证文件调整,改用多个文件合并方式加载结构 - 尼泊尔语钱包错误消息中新增代码1011的翻译描述
This commit is contained in:
@@ -51,4 +51,82 @@ return [
|
||||
],
|
||||
'after_or_equal' => ':attribute must be on or after :date.',
|
||||
'distinct' => ':attribute has a duplicate value.',
|
||||
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
|
||||
'active_url' => ':attribute must be a valid URL.',
|
||||
'after' => ':attribute must be after :date.',
|
||||
'alpha' => ':attribute may only contain letters.',
|
||||
'alpha_dash' => ':attribute may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => ':attribute may only contain letters and numbers.',
|
||||
'ascii' => ':attribute may only contain single-byte alphanumeric characters and symbols.',
|
||||
'before' => ':attribute must be before :date.',
|
||||
'before_or_equal' => ':attribute must be on or before :date.',
|
||||
'date_equals' => ':attribute must equal :date.',
|
||||
'decimal' => ':attribute must have :decimal decimal places.',
|
||||
'declined' => 'The :attribute must be declined.',
|
||||
'different' => ':attribute and :other must be different.',
|
||||
'digits' => ':attribute must be :digits digits.',
|
||||
'digits_between' => ':attribute must be between :min and :max digits.',
|
||||
'ends_with' => ':attribute must end with one of the following: :values.',
|
||||
'enum' => 'The selected :attribute is invalid.',
|
||||
'file' => ':attribute must be a file.',
|
||||
'image' => ':attribute must be an image.',
|
||||
'in_array' => ':attribute does not exist in :other.',
|
||||
'ip' => ':attribute must be a valid IP address.',
|
||||
'lowercase' => ':attribute must be lowercase.',
|
||||
'uppercase' => ':attribute must be uppercase.',
|
||||
'prohibited_if' => ':attribute is prohibited when :other is :value.',
|
||||
'required_unless' => ':attribute is required unless :other is in :values.',
|
||||
'required_without_all' => ':attribute is required when none of :values are present.',
|
||||
'required_array_keys' => ':attribute must contain: :values.',
|
||||
'starts_with' => ':attribute must start with one of the following: :values.',
|
||||
'timezone' => ':attribute must be a valid timezone.',
|
||||
'uploaded' => ':attribute failed to upload.',
|
||||
'between' => [
|
||||
'array' => ':attribute must have between :min and :max items.',
|
||||
'file' => ':attribute must be between :min and :max kilobytes.',
|
||||
'numeric' => ':attribute must be between :min and :max.',
|
||||
'string' => ':attribute must be between :min and :max characters.',
|
||||
],
|
||||
'max' => [
|
||||
'array' => ':attribute may not have more than :max items.',
|
||||
'file' => ':attribute may not be greater than :max kilobytes.',
|
||||
'numeric' => ':attribute may not be greater than :max.',
|
||||
'string' => ':attribute may not exceed :max characters.',
|
||||
],
|
||||
'min' => [
|
||||
'array' => ':attribute must have at least :min items.',
|
||||
'file' => ':attribute must be at least :min kilobytes.',
|
||||
'numeric' => ':attribute must be at least :min.',
|
||||
'string' => ':attribute must be at least :min characters.',
|
||||
],
|
||||
'size' => [
|
||||
'array' => ':attribute must contain :size items.',
|
||||
'file' => ':attribute must be :size kilobytes.',
|
||||
'numeric' => ':attribute must be :size.',
|
||||
'string' => ':attribute must be :size characters.',
|
||||
],
|
||||
'gt' => [
|
||||
'array' => ':attribute must have more than :value items.',
|
||||
'file' => ':attribute must be greater than :value kilobytes.',
|
||||
'numeric' => ':attribute must be greater than :value.',
|
||||
'string' => ':attribute must be greater than :value characters.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => ':attribute must have at least :value items.',
|
||||
'file' => ':attribute must be at least :value kilobytes.',
|
||||
'numeric' => ':attribute must be at least :value.',
|
||||
'string' => ':attribute must be at least :value characters.',
|
||||
],
|
||||
'lt' => [
|
||||
'array' => ':attribute must have less than :value items.',
|
||||
'file' => ':attribute must be less than :value kilobytes.',
|
||||
'numeric' => ':attribute must be less than :value.',
|
||||
'string' => ':attribute must be less than :value characters.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => ':attribute may not have more than :value items.',
|
||||
'file' => ':attribute may not be greater than :value kilobytes.',
|
||||
'numeric' => ':attribute may not be greater than :value.',
|
||||
'string' => ':attribute may not exceed :value characters.',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user