admin add torrents

This commit is contained in:
xiaomlove
2022-07-03 14:00:07 +08:00
parent 9cf1cc7277
commit bd11527f4b
26 changed files with 393 additions and 31 deletions

View File

@@ -13,6 +13,7 @@ return [
'settings' => 'Settings',
'users_medals' => 'User medals',
'claims' => 'User claims',
'torrent_list' => 'Torrents',
],
'resources' => [
'agent_allow' => [
@@ -64,5 +65,11 @@ return [
'bulk_action_pardon' => 'Bulk pardon',
'action_pardon' => 'Pardon',
],
'torrent' => [
'bulk_action_pos_state' => 'Sticky',
'bulk_action_remove_tag' => 'Remove tag',
'bulk_action_attach_tag' => 'Attach tag',
'action_approval' => 'Approval',
],
]
];

View File

@@ -111,11 +111,19 @@ return [
'label' => 'Torrent',
'size' => 'Size',
'ttl' => 'TTL',
'seeders' => 'Seeders',
'leechers' => 'Leechers',
'times_completed' => 'Complete',
'category' => 'Category',
'approval_status' => 'Approval status',
'pos_state' => 'Pos state',
'sp_state' => 'Promotion',
],
'hit_and_run' => [
],
'tag' => [
'label' => 'Tag',
'color' => 'Background color',
'font_color' => 'Font color',
'font_size' => 'Font size',

View File

@@ -69,8 +69,8 @@ return [
'comment_label' => 'Comment(optional)',
'status_text' => [
\App\Models\Torrent::APPROVAL_STATUS_NONE => 'Not reviewed',
\App\Models\Torrent::APPROVAL_STATUS_ALLOW => 'Review approved',
\App\Models\Torrent::APPROVAL_STATUS_DENY => 'Review not approved',
\App\Models\Torrent::APPROVAL_STATUS_ALLOW => 'Approved',
\App\Models\Torrent::APPROVAL_STATUS_DENY => 'Not approved',
],
'deny_comment_show' => 'Denied, reason: :reason',
],