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

View File

@@ -13,6 +13,7 @@ return [
'settings' => '设置',
'users_medals' => '用户勋章',
'claims' => '用户认领',
'torrent_list' => '种子',
],
'resources' => [
'agent_allow' => [
@@ -64,5 +65,11 @@ return [
'bulk_action_pardon' => '批量免罪',
'action_pardon' => '免罪',
],
'torrent' => [
'bulk_action_pos_state' => '置顶',
'bulk_action_remove_tag' => '清除标签',
'bulk_action_attach_tag' => '设置标签',
'action_approval' => '审核',
],
]
];

View File

@@ -108,13 +108,21 @@ return [
],
'torrent' => [
'label' => '种子',
'size' => '体积',
'size' => '大小',
'ttl' => '存活时间',
'seeders' => '做种',
'leechers' => '下载',
'times_completed' => '完成次数',
'category' => '类型',
'approval_status' => '审核状态',
'pos_state' => '置顶',
'sp_state' => '优惠',
],
'hit_and_run' => [
],
'tag' => [
'label' => '标签',
'color' => '背景颜色',
'font_color' => '字体颜色',
'font_size' => '字体大小',

View File

@@ -13,6 +13,7 @@ return [
'settings' => '設置',
'users_medals' => '用戶勛章',
'claims' => '用戶認領',
'torrent_list' => '種子',
],
'resources' => [
'agent_allow' => [
@@ -64,5 +65,11 @@ return [
'bulk_action_pardon' => '批量免罪',
'action_pardon' => '免罪',
],
'torrent' => [
'bulk_action_pos_state' => '置頂',
'bulk_action_remove_tag' => '清除標簽',
'bulk_action_attach_tag' => '設置標簽',
'action_approval' => '審核',
],
]
];

View File

@@ -109,13 +109,21 @@ return [
],
'torrent' => [
'label' => '種子',
'size' => '體積',
'size' => '大小',
'ttl' => '存活時間',
'seeders' => '做种',
'leechers' => '下载',
'times_completed' => '完成次數',
'category' => '類型',
'approval_status' => '審核狀態',
'pos_state' => '置頂',
'sp_state' => '優惠',
],
'hit_and_run' => [
],
'tag' => [
'label' => '標簽',
'color' => '背景顏色',
'font_color' => '字體顏色',
'font_size' => '字體大小',