oops, something went wrong translation

This commit is contained in:
spencerrlongg 2024-11-14 13:45:47 -06:00
parent 8465806536
commit 124f9c84c2
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class AlphaEncrypted implements ValidationRule
}
} catch (\Exception $e) {
report($e);
$fail('something went wrong.');
$fail(trans('general.something_went_wrong'));
}
}
}

View file

@ -25,7 +25,7 @@ class NumericEncrypted implements ValidationRule
}
} catch (\Exception $e) {
report($e->getMessage());
$fail('something went wrong');
$fail(trans('general.something_went_wrong'));
}
}
}