fixed import/export notification

This commit is contained in:
Denis Duliçi 2022-08-02 16:19:32 +03:00
parent 20413c00ff
commit 2a1d61ff84
3 changed files with 10 additions and 7 deletions

View File

@ -65,9 +65,7 @@ class ExportFailed extends Notification implements ShouldQueue
{
return [
'title' => trans('notifications.menu.export_failed.title'),
'description' => trans('notifications.menu.export_failed.description', [
'issues' => $this->message,
]),
'description' => trans('notifications.menu.export_failed.description'),
'message' => $this->message,
];
}

View File

@ -70,9 +70,7 @@ class ImportFailed extends Notification implements ShouldQueue
{
return [
'title' => trans('notifications.menu.import_failed.title'),
'description' => trans('notifications.menu.import_failed.description', [
'issues' => $this->errors,
]),
'description' => trans('notifications.menu.import_failed.description'),
'errors' => $this->errors,
];
}

View File

@ -75,7 +75,7 @@ return [
'export_failed' => [
'title' => 'Export failed',
'description' => 'Not able to create the export file due to the following issue: :issues',
'description' => 'Not able to create the export file due to several issues. Check out your email for the details.',
],
@ -86,6 +86,13 @@ return [
],
'import_failed' => [
'subject' => 'Import failed',
'description' => 'Not able to import the file due to several issues. Check out your email for the details.',
],
'new_apps' => [
'title' => 'New App',