From ef6b5a6343f6e1b0ab48e7feb5fac5a07584752d Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Fri, 26 Feb 2016 08:49:55 +0000 Subject: [PATCH 1/2] Add language line for the "present" validation rule. --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index b0a1f143..d64e3e10 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -58,6 +58,7 @@ 'not_in' => 'The selected :attribute is invalid.', 'numeric' => 'The :attribute must be a number.', 'regex' => 'The :attribute format is invalid.', + 'present' => 'The :attribute field must be present.', 'required' => 'The :attribute field is required.', 'required_if' => 'The :attribute field is required when :other is :value.', 'required_unless' => 'The :attribute field is required unless :other is in :values.', From fa6c48d27c54d7495e64a9ace39392d29014e46a Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Fri, 26 Feb 2016 14:59:54 +0000 Subject: [PATCH 2/2] keep the lines sorted --- resources/lang/en/validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index d64e3e10..387d1dbb 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -57,8 +57,8 @@ ], 'not_in' => 'The selected :attribute is invalid.', 'numeric' => 'The :attribute must be a number.', - 'regex' => 'The :attribute format is invalid.', 'present' => 'The :attribute field must be present.', + 'regex' => 'The :attribute format is invalid.', 'required' => 'The :attribute field is required.', 'required_if' => 'The :attribute field is required when :other is :value.', 'required_unless' => 'The :attribute field is required unless :other is in :values.',