change user class migrate to admin

This commit is contained in:
xiaomlove
2023-01-07 19:34:59 +08:00
parent 02058237f1
commit 2cef77a7f2
11 changed files with 122 additions and 20 deletions
+10 -1
View File
@@ -16,6 +16,7 @@ return [
'invites' => 'Invites',
'attendance_card' => 'Attend card',
'props' => 'Props',
'class' => 'Class',
],
'class_names' => [
\App\Models\User::CLASS_VIP => 'Vip',
@@ -39,6 +40,14 @@ return [
'body' => ':operator Grant you :name, Validity period: :duration.',
],
'metas' => [
'already_valid_forever' => ':meta_key_text 已經永久有效',
'already_valid_forever' => ':meta_key_text already valid forever',
],
'edit_notifications' => [
'change_class' => [
'promote' => 'Promote',
'demote' => 'Demote',
'subject' => 'Class changed',
'body' => 'You had been :action to :new_class, administrator: :operator, reason: :reason.',
],
],
];