feat: history and calculate needs for user
CI / 🧪 Tests Laravel (push) Failing after 2m18s
CI / 🐳 Build & Push Images (push) Has been skipped

This commit is contained in:
2026-08-14 12:45:37 +02:00
parent ea5a5737ec
commit 69372a49ed
51 changed files with 2226 additions and 305 deletions
+26 -3
View File
@@ -125,6 +125,32 @@ return [
'blocked' => 'User blocked.',
'cannot_block_self' => 'You cannot block yourself.',
],
'nutrition' => [
'onboarding_required' => 'Complete your nutrition profile before continuing.',
'weekly_adjustment_unavailable' => 'No weekly adjustment is available.',
'weekly_adjustment_already_accepted' => 'This adjustment has already been applied.',
'weekly_adjustment_stale' => 'Your plan changed after this review. Generate a new review before adapting it.',
'validation' => [
'adults_only' => 'Automatic calculation is available to adults only.',
'birth_date_range' => 'This birth date cannot be used for the calculation.',
'sex_reference' => 'Choose the female or male calculation reference.',
'estimate_acceptance' => 'You must confirm that you understand this is an estimate.',
'target_lower' => 'The target weight must be lower than the current weight.',
'target_higher' => 'The target weight must be higher than the current weight.',
],
'weekly_review' => [
'insufficient_tracking' => 'Log at least 5 days of meals and 4 weigh-ins across two weeks to receive a recommendation.',
'insufficient_adherence' => 'Food tracking is still too far from the plan to make a reliable adjustment.',
'on_track' => 'Your weight trend matches your goal. The plan remains unchanged.',
'plan_changed' => 'Your plan changed after this period. Keep tracking with the new plan before adapting it.',
'loss_slower' => 'Weight loss is slower than expected. A small calorie decrease is proposed.',
'loss_faster' => 'Weight loss is faster than expected. A small calorie increase is proposed.',
'gain_slower' => 'Weight gain is slower than expected. A small calorie increase is proposed.',
'gain_faster' => 'Weight gain is faster than expected. A small calorie decrease is proposed.',
'maintenance_down' => 'Weight is trending down. A small calorie increase is proposed.',
'maintenance_up' => 'Weight is trending up. A small calorie decrease is proposed.',
],
],
'validation' => [
'image_required' => 'Add an image to analyze.',
'image_file' => 'The file must be an image.',
@@ -134,9 +160,6 @@ return [
'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.',