Max size upload file
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
return [
|
||||
'success' => 'Request has been successfully processed.',
|
||||
'server_error' => 'Internal server error.',
|
||||
'not_found' => 'Data not found',
|
||||
'not_found' => 'Data not found.',
|
||||
'password' => 'Password wrong. Please try again.',
|
||||
'read_notification' => 'Notification has been read.',
|
||||
'already_exists' => 'Data already exists.',
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
return [
|
||||
'required' => 'The :attribute field is required.',
|
||||
'invalid' => 'The :attribute field is invalid.',
|
||||
'max' => ':attribute cannot exceed :length characters.',
|
||||
'max' => [
|
||||
'file' => ':attribute max size is :max.',
|
||||
],
|
||||
'email' => 'Invalid email format.'
|
||||
];
|
||||
@@ -3,6 +3,8 @@
|
||||
return [
|
||||
'required' => 'Kolom :attribute harus diisi.',
|
||||
'invalid' => 'Kolom :attribute tidak valid.',
|
||||
'max' => ':attribute tidak boleh melebihi :length karakter.',
|
||||
'max' => [
|
||||
'file' => ':attribute tidak boleh melebihi :max.',
|
||||
],
|
||||
'email' => 'Format email salah.'
|
||||
];
|
||||
Reference in New Issue
Block a user