temporary invite

This commit is contained in:
xiaomlove
2022-12-13 13:51:39 +08:00
parent 6fa604ce56
commit f413c61901
42 changed files with 727 additions and 47 deletions
+3
View File
@@ -32,6 +32,7 @@ return [
'category' => 'Categories',
'second_icon' => 'Second icons',
'torrent_operation_log' => 'Torrent operation logs',
'invite' => 'Invites',
],
'resources' => [
'agent_allow' => [
@@ -76,6 +77,8 @@ return [
'grant_prop_form_duration' => 'Duration',
'grant_prop_form_duration_help' => 'Unit: days. If left blank, the user has it permanently. Note: There is no time limit for Name Change Card, ignore this value.' ,
'confirm_bulk' => 'Bulk confirm',
'change_bonus_etc_duration_label' => 'Duration',
'change_bonus_etc_duration_help' => 'Required when adding temporary invitation, in days',
]
],
'exam_user' => [
+16
View File
@@ -2,4 +2,20 @@
return [
'invalid_inviter' => 'Invalid inviter! The invite code is banned!',
'fields' => [
'inviter' => 'Sender',
'invitee' => 'Receive email',
'time_invited' => 'Send time',
'valid' => 'Valid',
'invitee_register_uid' => 'Registered UID',
'invitee_register_email' => 'Registered email',
'invitee_register_username' => 'Registered username',
'expired_at' => 'hash expired at',
],
'send_deny_reasons' => [
'invite_system_closed' => 'Invite system is closed',
'no_permission' => 'Require :class or above to send invitations',
'invite_not_enough' => 'Invites not enough',
],
'send_allow_text' => 'Invite someone',
];
+1
View File
@@ -102,6 +102,7 @@ return [
'downloadpos' => 'Download privileges',
'parked' => 'Parked',
'offer_allowed_count' => 'Offer allowed count',
'tmp_invites' => 'Temporary invite',
],
'medal' => [
'label' => 'Medal',
+4
View File
@@ -23,4 +23,8 @@ return [
'subject' => 'Download permission restored',
'body' => 'Your download privileges restored, you can now download torrents. By: :operator',
],
'temporary_invite_change' => [
'subject' => 'Temporary invite :change_type',
'body' => 'Your temporary invite count had :change_type :count by :operator, reason: :reason.',
],
];
+2
View File
@@ -10,4 +10,6 @@ return [
],
'select_all' => 'Select all',
'unselect_all' => 'Unselect all',
'increment' => 'increment',
'decrement' => 'decrement',
];