Handled a few more hard-coded strings

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2023-03-21 23:56:07 -07:00
parent 473211397f
commit 545d023a18
4 changed files with 24 additions and 15 deletions
@@ -630,7 +630,7 @@ class AssetsController extends Controller
try {
$results = $csv->getRecords();
} catch (\Exception $e) {
return back()->with('error', 'There was an error reading the CSV file: '.$e->getMessage());
return back()->with('error', trans('general.error_in_import_file', ['error' => $e->getMessage()]));
}
$item = [];
$status = [];