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
+17
View File
@@ -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.',
],
];