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

View File

@@ -79,6 +79,7 @@ return [
'confirm_bulk' => 'Bulk confirm',
'change_bonus_etc_duration_label' => 'Duration',
'change_bonus_etc_duration_help' => 'Required when adding temporary invitation, in days',
'change_class_btn' => 'Change class',
]
],
'exam_user' => [

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.',
],
],
];

View File

@@ -77,6 +77,7 @@ return [
'confirm_bulk' => '批量确认',
'change_bonus_etc_duration_label' => '有效期',
'change_bonus_etc_duration_help' => '增加临时邀请时必须,单位:天',
'change_class_btn' => '修改等级',
]
],
'exam_user' => [

View File

@@ -16,6 +16,7 @@ return [
'invites' => '邀请',
'attendance_card' => '补签卡',
'props' => '道具',
'class' => '等级',
],
'class_names' => [
\App\Models\User::CLASS_VIP => '贵宾',
@@ -41,4 +42,12 @@ return [
'metas' => [
'already_valid_forever' => ':meta_key_text already valid forever',
],
'edit_notifications' => [
'change_class' => [
'promote' => '提升',
'demote' => '降级',
'subject' => '等级变化',
'body' => '你被:action为:new_class管理员:operator, 原因::reason。',
],
],
];

View File

@@ -79,6 +79,7 @@ return [
'confirm_bulk' => '批量確認',
'change_bonus_etc_duration_label' => '有效期',
'change_bonus_etc_duration_help' => '增加臨時邀請時必須,單位:天',
'change_class_btn' => '修改等級',
]
],
'exam_user' => [

View File

@@ -16,6 +16,7 @@ return [
'invites' => '邀請',
'attendance_card' => '補簽卡',
'props' => '道具',
'class' => '等級',
],
'class_names' => [
\App\Models\User::CLASS_VIP => '貴賓',
@@ -41,4 +42,12 @@ return [
'metas' => [
'already_valid_forever' => ':meta_key_text 已經永久有效',
],
'edit_notifications' => [
'change_class' => [
'promote' => '提升',
'demote' => '降級',
'subject' => '等級變化',
'body' => '你被:action為:new_class管理員:operator, 原因::reason。',
],
],
];