feat: moderation

This commit is contained in:
2026-05-22 11:56:17 +02:00
parent f5b460c650
commit 1c472e46db
43 changed files with 1836 additions and 3 deletions
+47
View File
@@ -53,4 +53,51 @@ return [
'empty' => '-',
],
],
'moderation_cases' => [
'navigation' => [
'label' => 'Moderation',
'singular' => 'Moderation case',
'plural' => 'Moderation cases',
],
'sections' => [
'case' => 'Case',
'target' => 'Reported content',
'resolution' => 'Resolution',
'metadata' => 'Metadata',
],
'fields' => [
'id' => 'ID',
'target_type' => 'Type',
'target_title' => 'Target',
'caseable_id' => 'Target ID',
'status' => 'Status',
'reports_count' => 'Reports',
'threshold' => 'Threshold',
'threshold_notified_at' => 'Notification sent at',
'assigned_to' => 'Assigned to',
'resolved_by' => 'Resolved by',
'resolved_at' => 'Resolved at',
'resolution_note' => 'Resolution note',
'created_at' => 'Created at',
'updated_at' => 'Updated at',
],
'targets' => [
'meal_post' => 'Meal',
'user' => 'User',
'unknown' => 'Unknown',
],
'actions' => [
'mark_reviewing' => 'Start review',
'hide_meal' => 'Hide meal',
'suspend_user' => 'Suspend',
'resolve' => 'Resolve',
'reject' => 'Reject',
],
'filters' => [
'target_type' => 'Type',
],
'placeholders' => [
'empty' => '-',
],
],
];