Skip to content

Commit a36bb08

Browse files
FIX validation massages (#35)
1 parent 70b9d51 commit a36bb08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Rules/ExistsEncrypted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ public function passes($attribute, $value): bool
4040

4141
public function message(): string
4242
{
43-
return 'The selected :attribute is invalid.';
43+
return __('validation.exists');
4444
}
4545
}

src/Rules/UniqueEncrypted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ public function passes($attribute, $value): bool
4040

4141
public function message(): string
4242
{
43-
return 'The :attribute has already been taken.';
43+
return __('validation.unique');
4444
}
4545
}

0 commit comments

Comments
 (0)