From 124f9c84c203ef30bcbee73665de5ae0bdfea804 Mon Sep 17 00:00:00 2001 From: spencerrlongg Date: Thu, 14 Nov 2024 13:45:47 -0600 Subject: [PATCH] oops, something went wrong translation --- app/Rules/AlphaEncrypted.php | 2 +- app/Rules/NumericEncrypted.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Rules/AlphaEncrypted.php b/app/Rules/AlphaEncrypted.php index 102e03dd6b..b39a5fedba 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 c4bf865f3b..4121ce5178 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')); } } }