arrangement after review for module history description #mz7u2p

This commit is contained in:
Sevan Nerse 2021-06-25 12:05:59 +03:00
parent 60624d40cf
commit 60b570bd57
3 changed files with 7 additions and 9 deletions

View File

@ -57,7 +57,7 @@ abstract class Module extends Command
'company_id' => $this->company_id, 'company_id' => $this->company_id,
'module_id' => $this->model->id, 'module_id' => $this->model->id,
'version' => $this->module->get('version'), 'version' => $this->module->get('version'),
'description' => trans('modules.history.' . $action, ['module' => $this->alias]), 'description' => trans('modules.' . $action, ['module' => $this->alias]),
]); ]);
} }

View File

@ -34,7 +34,7 @@ class CreateModuleUpdatedHistory
'company_id' => $model->company_id, 'company_id' => $model->company_id,
'module_id' => $model->id, 'module_id' => $model->id,
'version' => $event->new, 'version' => $event->new,
'description' => trans('modules.history.updated', ['module' => $module->getAlias()]), 'description' => trans('modules.updated_2', ['module' => $module->getAlias()]),
]); ]);
} }
} }

View File

@ -25,13 +25,11 @@ return [
'view' => 'View', 'view' => 'View',
'back' => 'Back', 'back' => 'Back',
'history' => [
'installed' => ':module installed', 'installed' => ':module installed',
'uninstalled' => ':module uninstalled', 'uninstalled' => ':module uninstalled',
'updated' => ':module updated', 'updated_2' => ':module updated',
'enabled' => ':module enabled', 'enabled' => ':module enabled',
'disabled' => ':module disabled', 'disabled' => ':module disabled',
],
'tab' => [ 'tab' => [
'installation' => 'Installation', 'installation' => 'Installation',