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