oops, something went wrong translation
This commit is contained in:
parent
8465806536
commit
124f9c84c2
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ class AlphaEncrypted implements ValidationRule
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
report($e);
|
report($e);
|
||||||
$fail('something went wrong.');
|
$fail(trans('general.something_went_wrong'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ class NumericEncrypted implements ValidationRule
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
report($e->getMessage());
|
report($e->getMessage());
|
||||||
$fail('something went wrong');
|
$fail(trans('general.something_went_wrong'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue