Skip to content

Commit

Permalink
Create the language string to show in the importer GUI indicating the…
Browse files Browse the repository at this point in the history
… file is empty
  • Loading branch information
inietov committed Oct 24, 2023
1 parent 49f6eef commit 0c5d54d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/lang/en/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
'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.'
];
2 changes: 1 addition & 1 deletion resources/views/livewire/importer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class="col-md-12 table table-striped snipe-table">
</div>
@else
@php
$statusText = trans('general.empty_file');
$statusText = trans('help.empty_file');
$statusType = 'info';
@endphp
@endif
Expand Down

0 comments on commit 0c5d54d

Please sign in to comment.