mirror of
https://github.com/v2board/v2board.git
synced 2025-06-15 06:07:49 +08:00
update: language more
This commit is contained in:
@ -22,9 +22,9 @@ class OrderSave extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'plan_id.required' => '套餐ID不能为空',
|
||||
'cycle.required' => '套餐周期不能为空',
|
||||
'cycle.in' => '套餐周期有误'
|
||||
'plan_id.required' => __('Plan ID cannot be empty'),
|
||||
'cycle.required' => __('Plan cycle cannot be empty'),
|
||||
'cycle.in' => __('Wrong plan cycle')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -23,10 +23,10 @@ class TicketSave extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'subject.required' => '工单主题不能为空',
|
||||
'level.required' => '工单级别不能为空',
|
||||
'level.in' => '工单级别格式不正确',
|
||||
'message.required' => '消息不能为空'
|
||||
'subject.required' => __('Ticket subject cannot be empty'),
|
||||
'level.required' => __('Ticket level cannot be empty'),
|
||||
'level.in' => __('Incorrect ticket level format'),
|
||||
'message.required' => __('Message cannot be empty')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -22,9 +22,8 @@ class TicketWithdraw extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'withdraw_method.required' => '提现方式不能为空',
|
||||
'withdraw_method.in' => '提现方式不支持',
|
||||
'withdraw_account.required' => '提现账号不能为空'
|
||||
'withdraw_method.required' => __('The withdrawal method cannot be empty'),
|
||||
'withdraw_account.required' => __('The withdrawal account cannot be empty')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -22,9 +22,9 @@ class UserChangePassword extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'old_password.required' => '旧密码不能为空',
|
||||
'new_password.required' => '新密码不能为空',
|
||||
'new_password.min' => '密码必须大于8位数'
|
||||
'old_password.required' => __('Old password cannot be empty'),
|
||||
'new_password.required' => __('New password cannot be empty'),
|
||||
'new_password.min' => __('Password must be greater than 8 digits')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -21,9 +21,9 @@ class UserTransfer extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'transfer_amount.required' => '划转金额不能为空',
|
||||
'transfer_amount.integer' => __('user.user.transfer.params_wrong'),
|
||||
'transfer_amount.min' => __('user.user.transfer.params_wrong')
|
||||
'transfer_amount.required' => __('The transfer amount cannot be empty'),
|
||||
'transfer_amount.integer' => __('The transfer amount parameter is wrong'),
|
||||
'transfer_amount.min' => __('The transfer amount parameter is wrong')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -22,8 +22,8 @@ class UserUpdate extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'show.in' => '过期提醒格式不正确',
|
||||
'renew.in' => '流量提醒格式不正确'
|
||||
'show.in' => __('Incorrect format of expiration reminder'),
|
||||
'renew.in' => __('Incorrect traffic alert format')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user