Skip to content

Commit 124f9c8

Browse files
committed
oops, something went wrong translation
1 parent 8465806 commit 124f9c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Rules/AlphaEncrypted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
2323
}
2424
} catch (\Exception $e) {
2525
report($e);
26-
$fail('something went wrong.');
26+
$fail(trans('general.something_went_wrong'));
2727
}
2828
}
2929
}

app/Rules/NumericEncrypted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
2525
}
2626
} catch (\Exception $e) {
2727
report($e->getMessage());
28-
$fail('something went wrong');
28+
$fail(trans('general.something_went_wrong'));
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)