[admin] torrent add more bulk action

This commit is contained in:
xiaomlove
2022-10-02 21:14:11 +08:00
parent cdaec9bc62
commit bb000fb67a
28 changed files with 313 additions and 28 deletions
+3
View File
@@ -89,6 +89,9 @@ return [
'bulk_action_attach_tag' => 'Attach tag',
'action_approval' => 'Approval',
'bulk_action_attach_tag_remove_old' => 'Also delete old tags',
'bulk_action_recommend' => 'Recommend',
'bulk_action_sp_state' => 'Promotion',
'bulk_action_hr' => 'H&R',
],
'seed_box_record' => [
'toggle_status' => 'Change status',
+6 -1
View File
@@ -73,9 +73,11 @@ return [
'no_promotion' => 'No promotion',
'no_promotion_help' => 'No Promotion, uploaded/downloaded are calculated according to the actual value',
'max_uploaded' => 'Maximum upload volume multiplier',
'max_uploaded_help' => 'The total upload volume is at most a multiple of its volume',
'max_uploaded_help' => 'The total upload volume is at most a multiple of its volume. Set to 0 No limitation',
'not_seed_box_max_speed' => 'Not SeedBox max upload speed',
'not_seed_box_max_speed_help' => 'Unit: Mbps, if this value is exceeded and the SeedBox record cannot be matched, download permission is disabled',
'max_uploaded_duration' => 'Maximum upload volume multiplier effective time range',
'max_uploaded_duration_help' => 'Unit: hours. The maximum upload volume multiplier takes effect within this time range after the torrent is published, and does not take effect beyond this range. A setting of 0 is always in effect',
],
'system' => [
'tab_header' => 'System',
@@ -149,6 +151,9 @@ return [
'pos_state' => 'Pos state',
'sp_state' => 'Promotion',
'visible' => 'Visible',
'picktype' => 'Recommend',
'promotion_time_type' => 'Promotion type time',
'hr' => 'H&R',
],
'hit_and_run' => [
'label' => 'User H&R',
+4
View File
@@ -5,6 +5,10 @@ return [
'text' => 'Approval Torrent',
'desc' => 'Allow, Deny, or mark as unreviewed',
],
'torrent-set-special-tag' => [
'text' => 'Set torrent special tags',
'desc' => 'Set the Official/Zero bonus tag to torrents',
],
'defaultclass' => [
'text' => 'Default Class',
'desc' => ' Class upon registration',
+5
View File
@@ -76,4 +76,9 @@ return [
'logs_label' => 'Approval logs'
],
'show_hide_media_info' => 'Show/Hide raw MediaInfo',
'promotion_time_types' => [
\App\Models\Torrent::PROMOTION_TIME_TYPE_GLOBAL => 'Global',
\App\Models\Torrent::PROMOTION_TIME_TYPE_PERMANENT => 'Permanent',
\App\Models\Torrent::PROMOTION_TIME_TYPE_DEADLINE => 'Until',
],
];