mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
user modify migrate
This commit is contained in:
@@ -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',
|
||||
],
|
||||
];
|
||||
@@ -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.',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user