new feature: claim

This commit is contained in:
xiaomlove
2022-05-05 22:19:48 +08:00
parent 3990c74038
commit a739cf924e
30 changed files with 815 additions and 59 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
$lang_claim = [
'title_for_torrent' => '种子认领详情',
'title_for_user' => '用户认领种子详情',
'th_id' => 'ID',
'th_username' => '用户',
'th_torrent_name' => '种子名称',
'th_torrent_size' => '种子大小',
'th_torrent_ttl' => '种子存活',
'th_claim_at' => '认领时间',
'th_last_settle' => '上次结算时间',
'th_seed_time_this_month' => '本月做种时间',
'th_uploaded_this_month' => '本月上传量',
'th_reached_or_not' => '本月是否达标',
];
-41
View File
@@ -1,41 +0,0 @@
<?php
$lang_clients = [
'client_management' => '客户端管理',
'text_manage' => '管理',
'text_add' => '添加',
'text_client' => '客户端',
'text_delete' => '删除',
'text_edit' => '编辑',
'col_id' => 'ID',
'col_name' => 'Name',
'col_name_help' => '仅允许数字、字母、下划线',
'col_label' => '显示标签',
'col_type' => '类型',
'col_required' => '不能为空',
'col_help' => '辅助说明',
'col_options' => '选项',
'col_options_help' => '类型为单选、多选、下拉时必填,一行一个,格式:选项值|选项描述文本',
'col_action' => '操作',
'col_is_single_row' => '展示时单独一行',
'col_family' => '家族',
'col_start_name' => '起始名称',
'col_peer_id_pattern' => 'Peer 正则',
'col_peer_id_match_num' => 'Peer 匹配次数',
'col_peer_id_matchtype' => 'Peer 匹配类型',
'col_peer_id_start' => 'Peer 起始',
'col_agent_pattern' => 'Agent 正则',
'col_agent_match_num' => 'Agent 匹配次数',
'col_agent_matchtype' => 'Agent 匹配类型',
'col_agent_start' => 'Agent 起始',
'js_sure_to_delete_this' => '你确信要删除此项目吗?',
'submit_submit' => '提交',
'client_type_text' => '短文本',
'client_type_textarea' => '长文本',
'client_type_radio' => '横向单选',
'client_type_checkbox' => '横向多选',
'client_type_select' => '下拉单选',
'client_type_image' => '图片',
];
+6
View File
@@ -231,6 +231,12 @@ $lang_details = array
'magic_show_all_description' => '查看详单',
'magic_haveGotBonus' => '目前发布人已获得Number个魔力值奖励。',
'magic_have_no_enough_bonus_value' => '需要更多魔力值。',
'claim_already' => '已认领',
'claim_now' => '认领',
'claim_info' => '已被 <b>%s</b> 个用户认领,剩余 <b>%s</b> 个名额。',
'claim_detail' => '认领详情',
'claim_label' => '认领种子',
'claim_confirm' => '确定要认领此种子吗?',
);
?>
+3 -2
View File
@@ -295,8 +295,8 @@ $lang_functions = array
'text_thirty_percent_down' => "30%",
'text_please_download_something_within' => "请在",
'text_inactive_account_be_deleted' => "内做些下载。没有流量的用户会被删除账号。",
'text_attendance' => '签到得魔力',
'text_attended' => '(签到已得%u, 补签卡:%d)',
'text_attendance' => '[签到得魔力]',
'text_attended' => '[签到已得%u, 补签卡:%d]',
'imdb_cache_dir_can_not_create' => 'imdb 缓存目录无法创建',
'imdb_cache_dir_is_not_writeable' => 'imdb 缓存目录不可写',
'imdb_photo_dir_can_not_create' => 'imdb 图片目录无法创建',
@@ -316,6 +316,7 @@ $lang_functions = array
'text_seed_points' => '做种积分',
'spoiler_expand_collapse' => '点击展开/收缩',
'spoiler_default_title' => '折叠内容',
'menu_claim' => '认领: ',
);
?>
+8
View File
@@ -744,6 +744,14 @@ $lang_settings = array
'row_default_user_two' => '',
'row_show_top_uploader' => '显示最多上传(种子数)',
'text_show_top_uploader_note' => "默认'否'。在首页显示最多上传的用户(按种子数计算)。",
'claim_label' => '种子认领',
'claim_torrent_ttl' => '种子发布 %s 天后可以认领。',
'claim_torrent_user_counts_up_limit' => '一个种子最多可以被 %s 个用户认领。',
'claim_user_torrent_counts_up_limit' => '一个用户最多可以认领 %s 个种子。',
'claim_remove_deduct_user_bonus' => '种子不达标时将被删除并扣除用户 %s 魔力(非认领首月)。',
'claim_give_up_deduct_user_bonus' => '用户主动放弃认领扣除用户 %s 魔力。',
'claim_reach_standard' => '达标标准:每月做种时间大于等于 %s 小时, 或上传量大于等于其体积 %s 倍。',
'claim_bonus_multiplier' => '计算达标种子魔力奖励是正常魔力值的 %s 倍。',
);
?>
+6
View File
@@ -230,6 +230,12 @@ $lang_details = array
'magic_show_all_description' => '查看詳單',
'magic_haveGotBonus' => '目前發佈人已獲得Number個魔力值獎勵。',
'magic_have_no_enough_bonus_value' => '需要更多魔力值。',
'claim_already' => '已認領',
'claim_now' => '認領',
'claim_info' => '已被 <b>%s</b> 個用戶認領,剩余 <b>%s</b> 個名額。',
'claim_detail' => '認領詳情',
'claim_label' => '認領種子',
'claim_confirm' => '確定要認領此種子嗎?',
);
?>
+3 -2
View File
@@ -297,8 +297,8 @@ $lang_functions = array
'text_thirty_percent_down' => "30%",
'text_please_download_something_within' => "請在",
'text_inactive_account_be_deleted' => "內做些下載。沒有流量的用戶會被移除賬號。",
'text_attendance' => '簽到得魔力',
'text_attended' => '(簽到已得%u, 補簽卡:%d)',
'text_attendance' => '[簽到得魔力]',
'text_attended' => '[簽到已得%u, 補簽卡:%d]',
'text_pt_gen_douban_url_note' => "(來自 <strong><a href=\"https://www.douban.com/\">douban</a></strong> 的鏈接。如電影 <b>Transformers</b> 的鏈接是<b> https://movie.douban.com/subject/1794171/</b>)",
'row_pt_gen_imdb_url' => "PT-Gen imdb 鏈接",
'text_pt_gen_imdb_url_note' => "(來自 <strong><a href=\"https://www.imdb.com//\">imdb</a></strong> 的鏈接。如電影 <b>Transformers</b> 的鏈接是<b> https://www.imdb.com/title/tt0418279/</b>)",
@@ -323,6 +323,7 @@ $lang_functions = array
'text_seed_points' => '做種積分',
'spoiler_expand_collapse' => '點擊展開/收縮',
'spoiler_default_title' => '折疊內容',
'menu_claim' => '認領: ',
);
?>
+13
View File
@@ -738,6 +738,19 @@ $lang_settings = array
'row_site_language_enabled' => '站點啟用語言',
'text_site_language_enabled_note' => '選擇站點啟用的語言',
'keep_at_least_one' => '至少保留一個',
'text_alias' => '等級別名:',
'row_default_user_one' => '默認為',
'row_default_user_two' => '',
'row_show_top_uploader' => '顯示最多上傳(種子數)',
'text_show_top_uploader_note' => "默認'否'。在首頁顯示最多上傳的用戶(按種子數計算)。",
'claim_label' => '種子認領',
'claim_torrent_ttl' => '種子發布 %s 天後可以認領。',
'claim_torrent_user_counts_up_limit' => '一個種子最多可以被 %s 個用戶認領。',
'claim_user_torrent_counts_up_limit' => '一個用戶最多可以認領 %s 個種子。',
'claim_remove_deduct_user_bonus' => '種子不達標時將被刪除並扣除用戶 %s 魔力(非認領首月)。',
'claim_give_up_deduct_user_bonus' => '用戶主動放棄認領扣除用戶 %s 魔力。',
'claim_reach_standard' => '達標標準:每月做種時間大於等於 %s 小時, 或上傳量大於等於其體積 %s 倍。',
'claim_bonus_multiplier' => '計算達標種子魔力獎勵是正常魔力值的 %s 倍。',
);
?>
+6
View File
@@ -230,6 +230,12 @@ $lang_details = array
'magic_show_all_description' => 'View details of a single',
'magic_haveGotBonus' => 'Publisher now has been got Number Bonus of award.',
'magic_have_no_enough_bonus_value' => 'more points needed',
'claim_already' => 'Claimed',
'claim_now' => 'Claim',
'claim_info' => 'Already claimed by <b>%s</b> users, <b>%s</b> place left.',
'claim_detail' => 'Claim detail',
'claim_label' => 'Claim torrent',
'claim_confirm' => 'Are you sure to claim this torrent?',
);
+3 -2
View File
@@ -297,8 +297,8 @@ $lang_functions = array
'text_thirty_percent_down' => "30%",
'text_please_download_something_within' => "Please download something within ",
'text_inactive_account_be_deleted' => ". Inactive accounts (with no transfer amount) will be deleted.",
'text_attendance' => 'Attend get bouns',
'text_attended' => '(Attend got bouns %u, card:%d)',
'text_attendance' => '[Attend get bouns]',
'text_attended' => '[Attend got bouns %u, card:%d]',
'row_pt_gen_douban_url' => "PT-Gen douban link",
'text_pt_gen_douban_url_note' => "(URL taken from <strong><a href=\"https://www.douban.com/\">douban</a></strong>. e.g.&nbsp;for movie <b>Transformers</b> the URL is <b> https://movie.douban.com/subject/1794171//</b>)",
'row_pt_gen_imdb_url' => "PT-Gen imdb link",
@@ -324,6 +324,7 @@ $lang_functions = array
'text_seed_points' => 'Seed points',
'spoiler_expand_collapse' => 'Click to expand/collapse',
'spoiler_default_title' => 'Collapse content',
'menu_claim' => 'Claim: ',
);
?>
+13
View File
@@ -738,6 +738,19 @@ $lang_settings = array
'row_site_language_enabled' => 'Site enabled language',
'text_site_language_enabled_note' => 'Select site enabled language',
'keep_at_least_one' => 'Keep at least one',
'text_alias' => 'Class alias: ',
'row_default_user_one' => 'Default is',
'row_default_user_two' => '',
'row_show_top_uploader' => 'Show top uploaded(Torrent count)',
'text_show_top_uploader_note' => "Default 'No'. Show top upload user(Torrent count) at homepage.",
'claim_label' => 'Torrent claim',
'claim_torrent_ttl' => 'Torrent can be claimed after %s of days of release.',
'claim_torrent_user_counts_up_limit' => 'A Torrent can be claimed by up to %s of users.',
'claim_user_torrent_counts_up_limit' => 'A user can claim up to %s of torrents.',
'claim_remove_deduct_user_bonus' => "Claimed torrent will be deleted and %s of the user's bonus will be deducted if they do not meet the standard (not the first month of claiming).",
'claim_give_up_deduct_user_bonus' => 'User actively gives up claiming deduct user %s bonus.',
'claim_reach_standard' => 'Standard: Monthly seeding time greater than or equal to %s of hours, or uploaded greater than or equal to %s times its size.',
'claim_bonus_multiplier' => 'Calculate %s times the normal bonus value of the attained seed bonus.',
);
?>