[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

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',

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',

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',

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',
],
];

View File

@@ -90,6 +90,9 @@ return [
'bulk_action_attach_tag' => '设置标签',
'action_approval' => '审核',
'bulk_action_attach_tag_remove_old' => '同时删除旧标签',
'bulk_action_recommend' => '推荐',
'bulk_action_sp_state' => '优惠',
'bulk_action_hr' => 'H&R',
],
'seed_box_record' => [
'toggle_status' => '更改状态',

View File

@@ -73,9 +73,11 @@ return [
'no_promotion' => '无优惠',
'no_promotion_help' => '不享受任何优惠,上传量/下载量按实际值计算',
'max_uploaded' => '最大上传量倍数',
'max_uploaded_help' => '总上传量最多为其体积的多少倍',
'max_uploaded_help' => '总上传量最多为其体积的多少倍。设置为 0 无此限制',
'not_seed_box_max_speed' => '非 SeedBox 最高限速',
'not_seed_box_max_speed_help' => '单位Mbps。若超过此值又不能匹配 SeedBox 记录,禁用下载权限',
'max_uploaded_duration' => '最大上传量倍数有效时间范围',
'max_uploaded_duration_help' => '单位:小时。种子发布后的这个时间范围内,最大上传量倍数生效,超过此范围不生效。设置为 0 一直生效',
],
'system' => [
'tab_header' => '系统',
@@ -148,6 +150,9 @@ return [
'pos_state' => '置顶',
'sp_state' => '优惠',
'visible' => '活种',
'picktype' => '推荐',
'promotion_time_type' => '优惠时间类型',
'hr' => 'H&R',
],
'hit_and_run' => [
'label' => '用户 H&R',

View File

@@ -5,6 +5,10 @@ return [
'text' => '审核种子',
'desc' => '通过种子、拒绝种子、或将种子标记为未审',
],
'torrent-set-special-tag' => [
'text' => '设定种子特殊标签',
'desc' => '设定种子的官方、零魔标签',
],
'defaultclass' => [
'text' => '默认等级',
'desc' => '注册时获得的等级',

View File

@@ -76,4 +76,9 @@ return [
'logs_label' => '审核记录',
],
'show_hide_media_info' => '显示/隐藏原始 MediaInfo',
'promotion_time_types' => [
\App\Models\Torrent::PROMOTION_TIME_TYPE_GLOBAL => '全局',
\App\Models\Torrent::PROMOTION_TIME_TYPE_PERMANENT => '永久',
\App\Models\Torrent::PROMOTION_TIME_TYPE_DEADLINE => '直到',
],
];

View File

@@ -89,6 +89,9 @@ return [
'bulk_action_attach_tag' => '設置標簽',
'action_approval' => '審核',
'bulk_action_attach_tag_remove_old' => '同時刪除舊標簽',
'bulk_action_recommend' => '推薦',
'bulk_action_sp_state' => '優惠',
'bulk_action_hr' => 'H&R',
],
'seed_box_record' => [
'toggle_status' => '更改狀態',

View File

@@ -73,9 +73,11 @@ return [
'no_promotion' => '無優惠',
'no_promotion_help' => '不享受任何優惠,上傳量/下載量按實際值計算',
'max_uploaded' => '最大上傳量倍數',
'max_uploaded_help' => '總上傳量最多為其體積的多少倍',
'max_uploaded_help' => '總上傳量最多為其體積的多少倍。設置為 0 無此限製',
'not_seed_box_max_speed' => '非 SeedBox 最高限速',
'not_seed_box_max_speed_help' => '單位Mbps。若超過此值又不能匹配 SeedBox 記錄,禁用下載權限',
'max_uploaded_duration' => '最大上傳量倍數有效時間範圍',
'max_uploaded_duration_help' => '單位:小時。種子發布後的這個時間範圍內,最大上傳量倍數生效,超過此範圍不生效。設置為 0 一直生效',
],
'system' => [
'tab_header' => '系統',
@@ -149,6 +151,9 @@ return [
'pos_state' => '置頂',
'sp_state' => '優惠',
'visible' => '活種',
'picktype' => '推薦',
'promotion_time_type' => '優惠時間類型',
'hr' => 'H&R',
],
'hit_and_run' => [
'label' => '用戶 H&R',

View File

@@ -5,6 +5,10 @@ return [
'text' => '審核種子',
'desc' => '通過種子、拒絕種子、或將種子標記為未審',
],
'torrent-set-special-tag' => [
'text' => '設定種子特殊標簽',
'desc' => '設定種子的官方、零魔標簽',
],
'defaultclass' => [
'text' => '預設等級',
'desc' => '註冊時獲得的等級',

View File

@@ -76,4 +76,9 @@ return [
'logs_label' => '審核記錄'
],
'show_hide_media_info' => '顯示/隱藏原始 MediaInfo',
'promotion_time_types' => [
\App\Models\Torrent::PROMOTION_TIME_TYPE_GLOBAL => '全局',
\App\Models\Torrent::PROMOTION_TIME_TYPE_PERMANENT => '永久',
\App\Models\Torrent::PROMOTION_TIME_TYPE_DEADLINE => '直到',
],
];