improve filament trans + user profile actions

This commit is contained in:
xiaomlove
2022-06-30 21:08:25 +08:00
parent 459d7462de
commit 579351c0eb
27 changed files with 966 additions and 178 deletions
+42
View File
@@ -11,5 +11,47 @@ return [
'exams_list' => '考核',
'medals_list' => '勋章',
'settings' => '设置',
'users_medal' => '用户勋章',
],
'resources' => [
'agent_allow' => [
'check_modal_btn' => '检测',
'check_modal_header' => '检测客户端是否被允许',
'check_pass_msg' => '恭喜,此客户端被规则 :id 通过!',
],
'user' => [
'actions' => [
'enable_modal_btn' => '启用',
'enable_modal_title' => '启用用户',
'enable_disable_reason' => '原因',
'enable_disable_reason_placeholder' => '可选',
'disable_modal_btn' => '禁用',
'disable_modal_title' => '禁用用户',
'disable_two_step_authentication' => '取消两步登录验证',
'change_bonus_etc_btn' => '修改上传量等',
'change_bonus_etc_action_increment' => '增加',
'change_bonus_etc_action_decrement' => '减少',
'change_bonus_etc_field_label' => '类别',
'change_bonus_etc_action_label' => '动作',
'change_bonus_etc_value_label' => '数量',
'change_bonus_etc_value_help' => '如果类别是上传量/下载量,单位为:GB',
'change_bonus_etc_reason_label' => '原因',
'reset_password_btn' => '重置密码',
'reset_password_label' => '新密码',
'reset_password_confirmation_label' => '确认新密码',
'assign_exam_btn' => '分配考核',
'assign_exam_exam_label' => '选择考核',
'assign_exam_begin_label' => '开始时间',
'assign_exam_end_label' => '结束时间',
'assign_exam_end_help' => '如果不指定开始/结束时间,将使用考核本身设定的时间范围',
'grant_medal_btn' => '授予勋章',
'grant_medal_medal_label' => '选择勋章',
'grant_medal_duration_label' => '有效时长',
'grant_medal_duration_help' => '单位:天。如果留空,用户永久拥有',
]
],
'exam_user' => [
'bulk_action_avoid_label' => '批量免除',
],
]
];
+83 -1
View File
@@ -1,6 +1,28 @@
<?php
return [
'name' => '名称',
'email' => '邮箱',
'image' => '图片',
'expire_at' => '过期时间',
'username' => '用户',
'status' => '状态',
'created_at' => '创建时间',
'updated_at' => '更新时间',
'begin' => '开始时间',
'end' => '结束时间',
'uploaded' => '上传量',
'downloaded' => '下载量',
'ratio' => '分享率',
'seed_time_required' => '还需做种时间',
'inspect_time_left' => '考察剩余时间',
'added' => '添加时间',
'last_access' => '最后访问时间',
'priority' => '优先级',
'comment' => '备注',
'duration' => '时长',
'description' => '描述',
'price' => '价格',
'setting' => [
'nav_text' => '设置',
'backup' => [
@@ -36,6 +58,66 @@ return [
]
],
'user' => [
'uploaded' => '上传量',
'downloaded' => '下载量',
'invites' => '邀请',
'seedbonus' => '魔力',
'attendance_card' => '补签卡',
'class' => '等级',
'status' => '状态',
'enabled' => '启用',
'username' => '用户名',
],
'medal' => [
'label' => '勋章',
'image_large' => '大图',
'image_small' => '小图',
'get_type' => '获取方式',
'duration' => '有效时长',
'duration_help' => '单位:天。如果留空,用户永久拥有',
],
'exam' => [
'label' => '考核',
'is_done' => '是否完成',
'is_discovered' => '自动发现',
'register_time_range' => [
'begin' => '注册时间开始',
'end' => '注册时间结束',
],
'donated' => '是否捐赠',
'index_formatted' => '考核指标',
'filter_formatted' => '目标用户',
],
'torrent' => [
'label' => '种子',
],
'hit_and_run' => [
]
],
'tag' => [
'color' => '背景颜色',
'font_color' => '字体颜色',
'font_size' => '字体大小',
'margin' => '外边距',
'padding' => '内边距',
'border_radius' => '边框圆角',
],
'agent_allow' => [
'family' => '系列',
'start_name' => '起始名称',
'peer_id_start' => 'Peer ID 超始',
'peer_id_pattern' => 'Peer ID 正则',
'peer_id_matchtype' => 'Peer ID 匹配类型',
'peer_id_match_num' => 'Peer ID 匹配次数',
'agent_start' => 'Agent 起始',
'agent_pattern' => 'Agent 正则',
'agent_matchtype' => 'Agent 匹配类型',
'agent_match_num' => 'Agent 匹配次数',
'exception' => '排除',
'allowhttps' => '允许 https',
],
'agent_deny' => [
'peer_id' => 'Peer ID',
'agent' => 'Agent',
],
];