torrent operation log type add edit&delete

This commit is contained in:
xiaomlove
2022-12-08 03:48:20 +08:00
parent 6c58a38166
commit 7386806bd6
22 changed files with 386 additions and 71 deletions
+1
View File
@@ -31,6 +31,7 @@ return [
'plugin' => 'Plugins',
'category' => 'Categories',
'second_icon' => 'Second icons',
'torrent_operation_log' => 'Torrent operation logs',
],
'resources' => [
'agent_allow' => [
+4
View File
@@ -163,6 +163,10 @@ return [
'picktype' => 'Recommend',
'promotion_time_type' => 'Promotion type time',
'hr' => 'H&R',
'added_begin' => 'Added greater than',
'added_end' => 'Added less than',
'size_begin' => 'Size greater than',
'size_end' => 'Size less than',
],
'hit_and_run' => [
'label' => 'User H&R',
@@ -0,0 +1,7 @@
<?php
return [
'fields' => [
'action_type' => 'Action type',
],
];
+10
View File
@@ -59,6 +59,16 @@ return [
'type_text' => 'Not reviewed',
'notify_subject' => 'Torrent was mark as not reviewed',
'notify_msg' => 'Your torrent: [url=:detail_url]:torrent_name[/url] was mark as not reviewed by :operator',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_EDIT => [
'type_text' => 'Edit',
'notify_subject' => 'Torrent was edited',
'notify_msg' => 'Your torrent: [url=:detail_url]:torrent_name[/url] was edited by :operator',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_DELETE => [
'type_text' => 'Delete',
'notify_subject' => 'Torrent was deleted',
'notify_msg' => 'Your torrent: :torrent_name was deleted by :operator',
]
],
'owner_update_torrent_subject' => 'Denied torrent have been updated',