feat: history and calculate needs for user
This commit is contained in:
+8
-5
@@ -16,7 +16,7 @@ return [
|
||||
'sections' => [
|
||||
'account' => 'Account',
|
||||
'profile' => 'Profile',
|
||||
'nutrition_goals' => 'Nutrition goals',
|
||||
'nutrition_plan' => 'Active nutrition plan',
|
||||
'activity' => 'Activity',
|
||||
'metadata' => 'Metadata',
|
||||
],
|
||||
@@ -36,17 +36,20 @@ return [
|
||||
'password' => 'Password',
|
||||
'bio' => 'Bio',
|
||||
'height' => 'Height',
|
||||
'current_weight' => 'Current weight',
|
||||
'target_weight' => 'Target weight',
|
||||
'date_of_birth' => 'Date of birth',
|
||||
'sex' => 'Sex',
|
||||
'daily_calorie_goal' => 'Calories',
|
||||
'daily_protein_goal' => 'Protein',
|
||||
'daily_carbs_goal' => 'Carbs',
|
||||
'daily_fats_goal' => 'Fats',
|
||||
'calorie_goal' => 'Calories',
|
||||
'protein_goal' => 'Protein',
|
||||
'carbs_goal' => 'Carbs',
|
||||
'fats_goal' => 'Fats',
|
||||
'physical_activity_level' => 'Activity level',
|
||||
'physical_activity_level_short' => 'Activity',
|
||||
'weight_goal' => 'Weight goal',
|
||||
'weight_goal_short' => 'Weight goal',
|
||||
'pace_preference' => 'Pace',
|
||||
'onboarding_completed_at' => 'Nutrition profile completed at',
|
||||
'created_at' => 'Created at',
|
||||
'updated_at' => 'Updated at',
|
||||
],
|
||||
|
||||
+26
-3
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user