Skip to content

A free open source IT asset/license management system

Create the language string to show in the importer GUI indicating the file is empty

Ivan Nieto Vivanco0c5d54dfdead
diff --git a/resources/lang/en/help.php b/resources/lang/en/help.php
index a3a2ddd762..a59e0056be 100644
--- a/resources/lang/en/help.php
+++ b/resources/lang/en/help.php
@@ -30,5 +30,6 @@ return [
'consumables' => 'Consumables are anything purchased that will be used up over time. For example, printer ink or copier paper.',
'depreciations' => 'You can set up asset depreciations to depreciate assets based on straight-line depreciation.',
-
+
+ 'empty_file' => 'The importer detects that this file is empty.'
];
diff --git a/resources/views/livewire/importer.blade.php b/resources/views/livewire/importer.blade.php
index c134718429..48c1a2938c 100644
--- a/resources/views/livewire/importer.blade.php
+++ b/resources/views/livewire/importer.blade.php
@@ -241,7 +241,7 @@
</div>
@else
@php
- $statusText = trans('general.empty_file');
+ $statusText = trans('help.empty_file');
$statusType = 'info';
@endphp
@endif