paid torrent

This commit is contained in:
xiaomlove
2023-02-11 16:08:48 +08:00
parent 43b35b4e77
commit 3c64e76011
50 changed files with 556 additions and 87 deletions
+2 -1
View File
@@ -22,7 +22,7 @@ return [
'download_speed' => 'Download speed',
'isp' => 'ISP',
'menu' => 'Custom menu',
'username_change_log' => 'Username change log',
'username_change_log' => 'Username change logs',
'torrent_deny_reason' => 'Deny Reasons',
'roles' => 'Role',
'permissions' => 'Permissions',
@@ -36,6 +36,7 @@ return [
'user_props' => 'User props',
'login_log' => 'Login logs',
'bonus_log' => 'Bonus logs',
'torrent_buy_log' => 'Torrent buy logs',
],
'resources' => [
'agent_allow' => [
+2
View File
@@ -20,8 +20,10 @@ return [
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_RAINBOW_ID => 'Buy rainbow ID',
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_CHANGE_USERNAME_CARD => 'Buy change username card',
\App\Models\BonusLogs::BUSINESS_TYPE_GIFT_MEDAL => 'Gift medal',
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_TORRENT => 'Buy torrent',
\App\Models\BonusLogs::BUSINESS_TYPE_ROLE_WORK_SALARY => 'Role work salary',
\App\Models\BonusLogs::BUSINESS_TYPE_TORRENT_BE_DOWNLOADED => 'Torrent be downloaded',
],
'fields' => [
'business_type' => 'Business type',
+3
View File
@@ -7,6 +7,8 @@ return [
'comment_buy_rainbow_id' => 'Spend :bonus bonus buy :duration days rainbow ID',
'comment_buy_change_username_card' => 'Spend :bonus bonus buy change username card',
'comment_gift_medal' => 'Spend :bonus bonus buy :medal_name and gift to :to_username',
'comment_buy_torrent' => 'Spend :bonus bonus buy torrent: :torrent_id',
'comment_torrent_be_downloaded' => 'Proceeds from torrent downloaded by :username(UID: :uid)',
'table_thead' => [
'reward_type' => 'Reward type',
'count' => 'Count',
@@ -23,4 +25,5 @@ return [
'official_addition' => 'Official addition',
'medal_addition' => 'Medal addition',
],
'not_enough' => 'No enough bonus! Requires :require_bonus, you currently only have: :now_bonus',
];
+4
View File
@@ -13,6 +13,10 @@ return [
'text' => 'Torrent approval allow automatically',
'desc' => 'Torrent is the approval allow status after upload automatically',
],
'torrent-set-price' => [
'text' => 'Set torrent paid',
'desc' => 'Set torrent paid',
],
'defaultclass' => [
'text' => 'Default Class',
'desc' => ' Class upon registration',
+1
View File
@@ -34,6 +34,7 @@ return [
'user_props' => '用户道具',
'login_log' => '登录记录',
'bonus_log' => '魔力记录',
'torrent_buy_log' => '种子购买',
],
'resources' => [
'agent_allow' => [
+2
View File
@@ -20,8 +20,10 @@ return [
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_RAINBOW_ID => '购买彩虹 ID',
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_CHANGE_USERNAME_CARD => '购买改名卡',
\App\Models\BonusLogs::BUSINESS_TYPE_GIFT_MEDAL => '赠送勋章',
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_TORRENT => '购买种子',
\App\Models\BonusLogs::BUSINESS_TYPE_ROLE_WORK_SALARY => '工作组工资',
\App\Models\BonusLogs::BUSINESS_TYPE_TORRENT_BE_DOWNLOADED => '种子被下载',
],
'fields' => [
'business_type' => '业务类型',
+3
View File
@@ -7,6 +7,8 @@ return [
'comment_buy_rainbow_id' => '花费 :bonus 魔力购买了 :duration 天的彩虹 ID',
'comment_buy_change_username_card' => '花费 :bonus 魔力购买了改名卡',
'comment_gift_medal' => '花费 :bonus 魔力购买了 :medal_name 并赠送给 :to_username',
'comment_buy_torrent' => '花费 :bonus 魔力购买了种子::torrent_id',
'comment_torrent_be_downloaded' => '收益来自种子被 :username(UID: :uid) 下载',
'table_thead' => [
'reward_type' => '奖励类型',
'count' => '数量',
@@ -23,4 +25,5 @@ return [
'official_addition' => '官种加成',
'medal_addition' => '勋章加成',
],
'not_enough' => '魔力不足! 需要 :require_bonus,你当前仅有::now_bonus',
];
+2
View File
@@ -176,6 +176,8 @@ return [
'added_end' => '发布时间小于',
'size_begin' => '体积大于',
'size_end' => '体积小于',
'price' => '价格',
'price_help' => '用户下载种子时,发布者将获得收入,但要扣除相应税率,当前税率::tax_factor',
],
'hit_and_run' => [
'label' => '用户 H&R',
+4
View File
@@ -13,6 +13,10 @@ return [
'text' => '种子自动通过审核',
'desc' => '种子发布即为审核通过状态',
],
'torrent-set-price' => [
'text' => '设置种子收费',
'desc' => '设置种子收费',
],
'defaultclass' => [
'text' => '默认等级',
'desc' => '注册时获得的等级',
+1
View File
@@ -91,4 +91,5 @@ return [
\App\Models\Torrent::PROMOTION_TIME_TYPE_PERMANENT => '永久',
\App\Models\Torrent::PROMOTION_TIME_TYPE_DEADLINE => '直到',
],
'paid_torrent' => '收费种子',
];
+1
View File
@@ -36,6 +36,7 @@ return [
'user_props' => '用戶道具',
'login_log' => '登錄記錄',
'bonus_log' => '魔力記錄',
'torrent_buy_log' => '種子購買',
],
'resources' => [
'agent_allow' => [
+2
View File
@@ -20,8 +20,10 @@ return [
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_RAINBOW_ID => '購買彩虹 ID',
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_CHANGE_USERNAME_CARD => '購買改名卡',
\App\Models\BonusLogs::BUSINESS_TYPE_GIFT_MEDAL => '贈送勛章',
\App\Models\BonusLogs::BUSINESS_TYPE_BUY_TORRENT => '購買種子',
\App\Models\BonusLogs::BUSINESS_TYPE_ROLE_WORK_SALARY => '工作組工資',
\App\Models\BonusLogs::BUSINESS_TYPE_TORRENT_BE_DOWNLOADED => '種子被下載',
],
'fields' => [
'business_type' => '業務類型',
+3
View File
@@ -7,6 +7,8 @@ return [
'comment_buy_rainbow_id' => '花費 :bonus 魔力購買了 :duration 天的彩虹 ID',
'comment_buy_change_username_card' => '花費 :bonus 魔力購買了改名卡',
'comment_gift_medal' => '花費 :bonus 魔力購買了 :medal_name 並贈送給 :to_username',
'comment_buy_torrent' => '花費 :bonus 魔力購買了種子::torrent_id',
'comment_torrent_be_downloaded' => '收益來自種子被 :username(UID: :uid) 下載',
'table_thead' => [
'reward_type' => '獎勵類型',
'count' => '數量',
@@ -23,4 +25,5 @@ return [
'official_addition' => '官種加成',
'medal_addition' => '勛章加成',
],
'not_enough' => '魔力不足! 需要 :require_bonus,你當前僅有::now_bonus',
];
+4
View File
@@ -13,6 +13,10 @@ return [
'text' => '種子自動通過審核',
'desc' => '種子發布即為審核通過狀態',
],
'torrent-set-price' => [
'text' => '設置種子收費',
'desc' => '設置種子收費',
],
'defaultclass' => [
'text' => '預設等級',
'desc' => '註冊時獲得的等級',