user modify migrate

This commit is contained in:
xiaomlove
2022-11-08 19:06:37 +08:00
parent c9ed79b227
commit b92b911b1e
27 changed files with 583 additions and 263 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'actions' => [
'install' => 'Install',
'delete' => 'Remove',
'update' => 'Upgrade',
],
'labels' => [
'display_name' => 'Name',
'package_name' => 'Package name',
'remote_url' => 'Repository address',
'installed_version' => 'Installed version',
'status' => 'Status',
'updated_at' => 'Last action at',
],
'status' => [
\App\Models\Plugin::STATUS_NORMAL => 'Normal',
\App\Models\Plugin::STATUS_NOT_INSTALLED => 'Not installed',
\App\Models\Plugin::STATUS_PRE_INSTALL => 'Ready to install',
\App\Models\Plugin::STATUS_INSTALLING => 'Installing',
\App\Models\Plugin::STATUS_INSTALL_FAILED => 'Install fail',
\App\Models\Plugin::STATUS_PRE_UPDATE => 'Ready to upgrade',
\App\Models\Plugin::STATUS_UPDATING => 'Upgrading',
\App\Models\Plugin::STATUS_UPDATE_FAILED => 'Upgrade fail',
\App\Models\Plugin::STATUS_PRE_DELETE => 'Ready to remove',
\App\Models\Plugin::STATUS_DELETING => 'Removing',
\App\Models\Plugin::STATUS_DELETE_FAILED => 'Remove fail',
],
];
+9
View File
@@ -29,4 +29,13 @@ return [
'change_username_lte_min_interval' => 'Last change time: :last_change_time, unmet minimum interval: :interval days',
'destroy_by_admin' => 'Physical delete by administrator',
'disable_by_admin' => 'Disable by administrator',
'genders' => [
\App\Models\User::GENDER_MALE => 'Male',
\App\Models\User::GENDER_FEMALE => 'Female',
\App\Models\User::GENDER_UNKNOWN => 'Unknown',
],
'grant_props_notification' => [
'subject' => 'Get Props:name',
'body' => ':operator Grant you :name, Validity period: :duration.',
],
];