api/lang/en/api.php

52 lines
2.4 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.',
'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.',
'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.',
],
'notifications' => [
'test_title' => 'Test',
'test_body' => 'Test notification from the Laravel API.',
],
'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.',
],
'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.',
],
];