Skip to content

A free open source IT asset/license management system

oops, something went wrong translation

spencerrlongg124f9c84c203
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'));
}
}
}