mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-31 16:37:27 -08:00
oops, something went wrong translation
This commit is contained in:
parent
8465806536
commit
124f9c84c2
|
@ -23,7 +23,7 @@ class AlphaEncrypted implements ValidationRule
|
|||
}
|
||||
} catch (\Exception $e) {
|
||||
report($e);
|
||||
$fail('something went wrong.');
|
||||
$fail(trans('general.something_went_wrong'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ class NumericEncrypted implements ValidationRule
|
|||
}
|
||||
} catch (\Exception $e) {
|
||||
report($e->getMessage());
|
||||
$fail('something went wrong');
|
||||
$fail(trans('general.something_went_wrong'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue