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 倍。',
);
?>