diff --git a/app/Rules/AlphaEncrypted.php b/app/Rules/AlphaEncrypted.php index 102e03dd6..b39a5fedb 100644 --- a/app/Rules/AlphaEncrypted.php +++ b/app/Rules/AlphaEncrypted.php @@ -23,7 +23,7 @@ class AlphaEncrypted implements ValidationRule } } catch (\Exception $e) { report($e); - $fail('something went wrong.'); + $fail(trans('general.something_went_wrong')); } } } diff --git a/app/Rules/NumericEncrypted.php b/app/Rules/NumericEncrypted.php index c4bf865f3..4121ce517 100644 --- a/app/Rules/NumericEncrypted.php +++ b/app/Rules/NumericEncrypted.php @@ -25,7 +25,7 @@ class NumericEncrypted implements ValidationRule } } catch (\Exception $e) { report($e->getMessage()); - $fail('something went wrong'); + $fail(trans('general.something_went_wrong')); } } }