Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tr] Add prohibited validation rule #1565

Merged
merged 6 commits into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions script/en/validation-inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
'required_with_all' => 'This field is required when :values are present.',
'required_without' => 'This field is required when :values is not present.',
'required_without_all' => 'This field is required when none of :values are present.',
'prohibited' => 'This field is prohibited.',
'prohibited_if' => 'This field is prohibited when :other is :value.',
'prohibited_unless' => 'This field is prohibited unless :other is in :values.',
'same' => 'The value of this field must match the one from :other.',
'size' => [
'numeric' => 'The value must be :size.',
Expand Down
3 changes: 3 additions & 0 deletions script/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
Expand Down
3 changes: 3 additions & 0 deletions src/tr/validation-inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
'required_with_all' => 'This field is required when :values are present.',
'required_without' => 'This field is required when :values is not present.',
'required_without_all' => 'This field is required when none of :values are present.',
'prohibited' => 'Bu alan kısıtlanmıştır.',
'prohibited_if' => ':other alanının değeri :value olduğunda bu alana veri girişi yapılamaz.',
'prohibited_unless' => ':other alanı :value değerlerinin dışında olduğunda bu alana veri girişi yapılamaz.',
'same' => 'The value of this field must match the one from :other.',
'size' => [
'array' => 'The content must contain :size items.',
Expand Down
3 changes: 3 additions & 0 deletions src/tr/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
'required_with_all' => ':attribute herhangi bir :values değeri varken mutlaka gereklidir.',
'required_without' => ':attribute :values yokken mutlaka gereklidir.',
'required_without_all' => ':attribute :values değerlerinden herhangi biri yokken mutlaka gereklidir.',
'prohibited' => ':attribute alanı kısıtlanmıştır.',
'prohibited_if' => ':other alanının değeri :value olduğunda :attribute alanına veri girişi yapılamaz.',
'prohibited_unless' => ':other alanı :value değerlerinin dışında olduğunda :attribute alanına veri girişi yapılamaz.',
'same' => ':attribute ile :other eşleşmelidir.',
'size' => [
'array' => ':attribute mutlaka :size öğeye sahip olmalıdır.',
Expand Down