api/lang/en/api.php

118 lines
5.6 KiB
PHP

<?php
return [
'auth' => [
'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.',
'verification_sent_if_unverified' => 'If an unverified account exists for this address, a verification email has been sent.',
'verification_email_failed' => 'Unable to send the verification email right now. Please try again later.',
'password_reset_link_sent' => 'If an account exists for this address, a password reset link has been sent.',
'password_reset' => 'Password reset successfully.',
'password_updated' => 'Password updated successfully.',
'logout' => 'Logged out successfully.',
'unauthenticated' => 'Unauthenticated.',
'deleted' => 'Account deleted successfully.',
'invalid_verification_link' => 'This verification link is invalid or has expired.',
],
'device_tokens' => [
'created' => 'Device token registered.',
'updated' => 'Device token updated.',
'notification_sent' => 'Notification sent.',
],
'meal_image_analysis' => [
'failed' => 'Unable to analyze the image right now.',
'insufficient_credits' => 'You do not have any analysis credits left.',
],
'legal_documents' => [
'not_found' => 'Legal document not found.',
],
'billing' => [
'active_subscription_exists' => 'You already have an active subscription.',
'no_active_subscription' => 'There is no active subscription to manage.',
],
'notifications' => [
'test_title' => 'Test',
'test_body' => 'Test notification from the Laravel API.',
'meal_post_commented_title' => 'New comment',
'meal_post_commented_body' => ':name commented on your meal ":meal".',
'someone' => 'Someone',
'your_meal' => 'your meal',
'moderation_threshold_title' => 'Reports need review',
'moderation_threshold_body' => ':count reports received for :type.',
'engagement_reminders' => [
'publish_meal' => [
'title' => 'Your next meal is waiting',
'body' => "Do not hesitate to publish today's meal on Bowli.",
],
'meal_photo' => [
'title' => 'A plate worth sharing?',
'body' => 'Take a quick photo and keep track of your meal.',
],
'evening_checkin' => [
'title' => 'Small Bowli reminder',
'body' => "Add today's meal to keep your habits on track.",
],
'community_inspiration' => [
'title' => 'Inspire the community',
'body' => 'Publish your meal and give other users new ideas.',
],
'workout_checkin' => [
'title' => 'Meal or workout?',
'body' => 'If you moved today, add your workout in Bowli too.',
],
],
],
'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.',
'cannot_report_own_review' => 'You cannot report your own review.',
'targets' => [
'meal_post' => 'a meal',
'post_review' => 'a review',
'user' => 'a user',
'unknown' => 'content',
],
],
'post_reviews' => [
'already_exists' => 'You have already reviewed this meal.',
],
'strava' => [
'state_expired' => 'The Strava connection has expired. Start the connection again.',
'refused' => 'Strava connection refused.',
'missing_connection' => 'Connect Strava before syncing your workouts.',
'missing_activity_scope' => 'The Strava connection must allow the activity:read or activity:read_all scope.',
'disconnect_failed' => 'Unable to revoke Strava access right now. Please try again in a moment.',
],
'follows' => [
'cannot_follow_self' => 'You cannot follow yourself.',
'followed' => 'Follow request recorded.',
'unfollowed' => 'Unfollowed successfully.',
'accepted' => 'Follow request accepted.',
'rejected' => 'Follow request rejected.',
'not_found' => 'No request found.',
],
'validation' => [
'image_required' => 'Add an image to analyze.',
'image_file' => 'The file must be an image.',
'image_max_2mb' => 'The image must not be greater than 2 MB.',
'image_max_4mb' => 'The image must not be greater than 4 MB.',
'meal_image_required' => 'Add an image to the meal.',
'visibility_valid' => 'Choose a valid visibility.',
'month_valid' => 'Choose a valid month.',
'calories_integer' => 'Calories must be an integer.',
'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.',
],
];