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

This commit is contained in:
Ivan Nieto Vivanco 2023-10-23 22:09:17 -06:00
parent 49f6eef9df
commit 0c5d54dfde
2 changed files with 3 additions and 2 deletions

View file

@ -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.'
];

View file

@ -241,7 +241,7 @@
</div>
@else
@php
$statusText = trans('general.empty_file');
$statusText = trans('help.empty_file');
$statusType = 'info';
@endphp
@endif