feat: moderation
This commit is contained in:
@@ -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' => '-',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
@@ -5,6 +5,7 @@ return [
|
||||
'registered_unverified' => 'Account created. Check your email to verify it.',
|
||||
'invalid_credentials' => 'Invalid credentials.',
|
||||
'email_not_verified' => 'Verify your email address before signing in.',
|
||||
'suspended' => 'This account is suspended.',
|
||||
'already_verified' => 'Account already verified.',
|
||||
'verified' => 'Account verified successfully.',
|
||||
'verification_sent' => 'Verification email sent.',
|
||||
@@ -27,6 +28,19 @@ return [
|
||||
'notifications' => [
|
||||
'test_title' => 'Test',
|
||||
'test_body' => 'Test notification from the Laravel API.',
|
||||
'moderation_threshold_title' => 'Reports need review',
|
||||
'moderation_threshold_body' => ':count reports received for :type.',
|
||||
],
|
||||
'reports' => [
|
||||
'created' => 'Report sent. Thanks, our team will review this content.',
|
||||
'already_exists' => 'You have already reported this content.',
|
||||
'cannot_report_self' => 'You cannot report your own profile.',
|
||||
'cannot_report_own_meal' => 'You cannot report your own meal.',
|
||||
'targets' => [
|
||||
'meal_post' => 'a meal',
|
||||
'user' => 'a user',
|
||||
'unknown' => 'content',
|
||||
],
|
||||
],
|
||||
'post_reviews' => [
|
||||
'already_exists' => 'You have already reviewed this meal.',
|
||||
@@ -50,5 +64,8 @@ return [
|
||||
'nutrition_goals_required' => 'Fill in all nutrition goals.',
|
||||
'nutrition_goals_positive' => 'Nutrition goals must be positive.',
|
||||
'nutrition_goals_max' => 'This nutrition goal value is too high.',
|
||||
'report_reason_required' => 'Choose a report reason.',
|
||||
'report_reason_valid' => 'Choose a valid report reason.',
|
||||
'report_details_max' => 'The report details may not be greater than 2000 characters.',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -24,6 +24,27 @@ return [
|
||||
'admin' => 'Administrator',
|
||||
'moderator' => 'Moderator',
|
||||
],
|
||||
'report_reason' => [
|
||||
'spam' => 'Spam',
|
||||
'harassment' => 'Harassment',
|
||||
'hate_speech' => 'Hate speech',
|
||||
'inappropriate' => 'Inappropriate content',
|
||||
'dangerous_content' => 'Dangerous content',
|
||||
'misleading' => 'Misleading information',
|
||||
'other' => 'Other',
|
||||
],
|
||||
'report_status' => [
|
||||
'open' => 'Open',
|
||||
'reviewing' => 'Reviewing',
|
||||
'resolved' => 'Resolved',
|
||||
'rejected' => 'Rejected',
|
||||
],
|
||||
'moderation_case_status' => [
|
||||
'open' => 'Open',
|
||||
'reviewing' => 'Reviewing',
|
||||
'resolved' => 'Resolved',
|
||||
'rejected' => 'Rejected',
|
||||
],
|
||||
'weight_goal' => [
|
||||
'lose_weight' => 'Lose weight',
|
||||
'maintain_weight' => 'Maintain weight',
|
||||
|
||||
Reference in New Issue
Block a user