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
+41
View File
@@ -12,4 +12,45 @@ return [
'medals_list' => 'Medals',
'settings' => 'Settings',
],
'resources' => [
'agent_allow' => [
'check_modal_btn' => 'Check',
'check_modal_header' => 'Detect if the client is allowed',
'check_pass_msg' => 'Congratulations, this client was passed by rule :id!',
],
'user' => [
'actions' => [
'enable_modal_btn' => 'Enable',
'enable_modal_title' => 'Enable user',
'enable_disable_reason' => 'Reason',
'enable_disable_reason_placeholder' => 'Optional',
'disable_modal_btn' => 'Disable',
'disable_modal_title' => 'Disable user',
'disable_two_step_authentication' => 'Cancel two-step authentication',
'change_bonus_etc_btn' => 'Change Uploaded etc.',
'change_bonus_etc_action_increment' => 'Increment',
'change_bonus_etc_action_decrement' => 'Decrement',
'change_bonus_etc_field_label' => 'Field',
'change_bonus_etc_action_label' => 'Action',
'change_bonus_etc_value_label' => 'Value',
'change_bonus_etc_value_help' => 'If the type is Uploaded/Download, the unit is: GB',
'change_bonus_etc_reason_label' => 'Reason',
'reset_password_btn' => 'Reset password',
'reset_password_label' => 'New password',
'reset_password_confirmation_label' => 'Confirm new password',
'assign_exam_btn' => 'Assign exam',
'assign_exam_exam_label' => 'Select exam',
'assign_exam_begin_label' => 'Begin time',
'assign_exam_end_label' => 'End time',
'assign_exam_end_help' => 'If you do not specify a begin/end time, the time range set by the exam itself will be used',
'grant_medal_btn' => 'Grant medal',
'grant_medal_medal_label' => 'Select medal',
'grant_medal_duration_label' => 'Duration',
'grant_medal_duration_help' => 'Unit: days. If left blank, the user has permanent possession',
]
],
'exam_user' => [
'bulk_action_avoid_label' => 'Bulk avoid',
],
]
];
+61 -1
View File
@@ -36,6 +36,66 @@ return [
]
],
'user' => [
'uploaded' => 'Uploaded',
'downloaded' => 'Downloaded',
'invites' => 'Invites',
'seedbonus' => 'Bonus',
'attendance_card' => 'Attendance ard',
'class' => 'Class',
'status' => 'Status',
'enabled' => 'Enabled',
'username' => 'Username',
],
'medal' => [
'label' => 'Medal',
'image_large' => 'Image large',
'image_small' => 'Image small',
'get_type' => 'Get type',
'duration' => 'Duration',
'duration_help' => 'Unit: days. If left blank, the user has permanent possession',
],
'exam' => [
'label' => 'Exam',
'is_done' => 'Is done',
'is_discovered' => 'Discovered',
'register_time_range' => [
'begin' => 'Register time begin',
'end' => 'Register time end',
],
'donated' => 'Donated',
'index_formatted' => 'Exam indexes',
'filter_formatted' => 'Target users',
],
'torrent' => [
'label' => 'Torrent',
],
'hit_and_run' => [
]
],
'tag' => [
'color' => 'Background color',
'font_color' => 'Font color',
'font_size' => 'Font size',
'margin' => 'Margin',
'padding' => 'Padding',
'border_radius' => 'Border radius',
],
'agent_allow' => [
'family' => 'Family',
'start_name' => 'Start name',
'peer_id_start' => 'Peer ID start',
'peer_id_pattern' => 'Peer ID pattern',
'peer_id_matchtype' => 'Peer ID match type',
'peer_id_match_num' => 'Peer ID match num',
'agent_start' => 'Agent start',
'agent_pattern' => 'Agent pattern',
'agent_matchtype' => 'Agent match type',
'agent_match_num' => 'Agent match num',
'exception' => 'Exception',
'allowhttps' => 'Allow https',
],
'agent_deny' => [
'peer_id' => 'Peer ID',
'agent' => 'Agent',
],
];