validate import sheet name

This commit is contained in:
denisdulici
2018-06-27 17:01:26 +03:00
parent 5b147834ad
commit e7c7a472c1
4 changed files with 53 additions and 6 deletions

View File

@ -18,7 +18,8 @@ return [
'no_file' => 'Error: No file selected!',
'last_category' => 'Error: Can not delete the last :type category!',
'invalid_token' => 'Error: The token entered is invalid!',
'import_failed' => 'Error: :message Sheet name: :sheet. Line number: :line.',
'import_column' => 'Error: :message Sheet name: :sheet. Line number: :line.',
'import_sheet' => 'Error: Sheet name is not valid. Please, check the sample file.',
],
'warning' => [
'deleted' => 'Warning: You are not allowed to delete <b>:name</b> because it has :text related.',