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',
+1
View File
@@ -29,6 +29,7 @@ return [
'plugin' => '插件',
'category' => '主分类',
'second_icon' => '第二图标',
'torrent_operation_log' => '种子操作记录',
],
'resources' => [
'agent_allow' => [
+4
View File
@@ -163,6 +163,10 @@ return [
'picktype' => '推荐',
'promotion_time_type' => '优惠时间类型',
'hr' => 'H&R',
'added_begin' => '发布时间大于',
'added_end' => '发布时间小于',
'size_begin' => '体积大于',
'size_end' => '体积小于',
],
'hit_and_run' => [
'label' => '用户 H&R',
@@ -0,0 +1,7 @@
<?php
return [
'fields' => [
'action_type' => '操作类型',
],
];
+10
View File
@@ -59,6 +59,16 @@ return [
'type_text' => '标记未审核',
'notify_subject' => '种子标记未审核',
'notify_msg' => '你的种子:[url=:detail_url]:torrent_name[/url] 被 :operator 标记未审核',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_EDIT => [
'type_text' => '编辑',
'notify_subject' => '种子被编辑',
'notify_msg' => '你的种子:[url=:detail_url]:torrent_name[/url] 被 :operator 编辑',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_DELETE => [
'type_text' => '删除',
'notify_subject' => '种子被删除',
'notify_msg' => '你的种子::torrent_name 被 :operator 删除',
]
],
'owner_update_torrent_subject' => '审核拒绝种子已更新',
+1
View File
@@ -31,6 +31,7 @@ return [
'plugin' => '插件',
'category' => '主分類',
'second_icon' => '第二圖標',
'torrent_operation_log' => '種子操作記錄',
],
'resources' => [
'agent_allow' => [
+4
View File
@@ -163,6 +163,10 @@ return [
'picktype' => '推薦',
'promotion_time_type' => '優惠時間類型',
'hr' => 'H&R',
'added_begin' => '發布時間大於',
'added_end' => '發布時間小於',
'size_begin' => '體積大於',
'size_end' => '體積小於',
],
'hit_and_run' => [
'label' => '用戶 H&R',
@@ -0,0 +1,7 @@
<?php
return [
'fields' => [
'action_type' => '操作類型',
],
];
+10
View File
@@ -59,6 +59,16 @@ return [
'type_text' => '標記未審核',
'notify_subject' => '種子標記未審核',
'notify_msg' => '妳的種子:[url=:detail_url]:torrent_name[/url] 被 :operator 標記未審核',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_EDIT => [
'type_text' => '編輯',
'notify_subject' => '種子被編輯',
'notify_msg' => '你的種子:[url=:detail_url]:torrent_name[/url] 被 :operator 編輯',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_DELETE => [
'type_text' => '刪除',
'notify_subject' => '種子被刪除',
'notify_msg' => '你的種子::torrent_name 被 :operator 刪除',
]
],
'owner_update_torrent_subject' => '審核拒絕種子已更新',