Browse Source

Merge pull request #3674 from themsaid/language-for-distinct

Add language line to the validation "distinct" rule
Taylor Otwell 9 years ago
parent
commit
7093812f80
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/lang/en/validation.php

+ 1 - 0
resources/lang/en/validation.php

@@ -34,6 +34,7 @@ return [
     'different'            => 'The :attribute and :other must be different.',
     'digits'               => 'The :attribute must be :digits digits.',
     'digits_between'       => 'The :attribute must be between :min and :max digits.',
+    'distinct'             => 'The :attribute field has a duplicate value.',
     'email'                => 'The :attribute must be a valid email address.',
     'exists'               => 'The selected :attribute is invalid.',
     'filled'               => 'The :attribute field is required.',