ban/unban torrent send notification

This commit is contained in:
xiaomlove
2022-06-14 01:07:05 +08:00
parent 4e20c339d9
commit bcaaa020b1
18 changed files with 283 additions and 49 deletions
+14
View File
@@ -44,4 +44,18 @@ return [
'claim_number_reach_user_maximum' => 'The maximum number of user is reached',
'claim_number_reach_torrent_maximum' => 'The maximum number of torrent is reached',
'claim_disabled' => 'Claim is disabled',
'operation_log' => [
\App\Models\TorrentOperationLog::ACTION_TYPE_BAN => [
'type_text' => 'Banned',
'notify_subject' => 'Torrent was banned',
'notify_msg' => 'Your torrent[url=:detail_url]:torrent_name[/url] was banned by :operator, Reason: :reason',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_CANCEL_BAN => [
'type_text' => 'Cancel banned',
'notify_subject' => 'Torrent was unbanned',
'notify_msg' => 'Your torrent: [url=:detail_url]:torrent_name[/url] unbanned by :operator',
]
],
'owner_update_torrent_subject' => 'Banned torrent have been updated',
'owner_update_torrent_msg' => 'Torrent[url=:detail_url]:torrent_name[/url] has been updated by the owner, you can check if it meets the requirements and cancel the ban',
];