feat(insights): first isights impemetation

This commit is contained in:
misha
2026-11-09 15:35:10 +03:00
parent 67920b2016
commit 45d072cff4
63 changed files with 6374 additions and 1465 deletions

View File

@@ -537,6 +537,198 @@
"video_call_close": "Close",
"video_call_notification_in_progress": "Call in progress",
"video_call_notification_return": "Return to call",
"video_call_notification_end": "End call"
"video_call_notification_end": "End call",
"insights_title": "Analytics",
"insights_subtitle_closed": "tap to see your progress",
"insights_subtitle_open": "weight, measurements and nutrition",
"insights_tab_weight": "Weight",
"insights_tab_bmi": "BMI",
"insights_tab_measures": "Measurements",
"insights_tab_daily": "Nutrition by day",
"insights_tab_intra": "Throughout the day",
"insights_period_1m": "1M",
"insights_period_3m": "3M",
"insights_period_6m": "6M",
"insights_period_1y": "1Y",
"insights_period_all": "All time",
"insights_period_1w": "1W",
"insights_period_2w": "2W",
"insights_series_waist": "Waist",
"insights_series_chest": "Chest",
"insights_series_hips": "Hips",
"insights_series_calories": "Calories",
"insights_series_proteins": "Protein",
"insights_series_fats": "Fat",
"insights_series_carbs": "Carbs",
"insights_series_satiety": "Satiety",
"insights_series_mood": "Mood",
"insights_series_sleep": "Sleep and wake-up",
"insights_unit_kg": "kg",
"insights_unit_bmi": "BMI",
"insights_unit_cm": "cm",
"insights_unit_cm_waist": "cm waist",
"insights_unit_kcal": "kcal",
"insights_unit_kcal_avg": "kcal on average",
"insights_unit_grams": "grams",
"insights_unit_kcal_per_meal": "kcal per meal",
"insights_period_label_1": "month",
"insights_period_label_3": "3 months",
"insights_period_label_6": "6 months",
"insights_period_label_12": "year",
"insights_period_label_all": "all time",
"insights_not_enough": "Not enough data",
"insights_need_height": "Set your height to calculate BMI.",
"insights_weight_lost": "Lost {value} kg over {period}",
"@insights_weight_lost": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
}
}
},
"insights_weight_gained": "Gained {value} kg over {period}",
"@insights_weight_gained": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
}
}
},
"insights_weight_same": "Weight unchanged over {period}",
"@insights_weight_same": {
"placeholders": {
"period": {
"type": "String"
}
}
},
"insights_bmi_lower": "BMI lower by {value} over {period} · {category}",
"@insights_bmi_lower": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
},
"category": {
"type": "String"
}
}
},
"insights_bmi_higher": "BMI higher by {value} over {period} · {category}",
"@insights_bmi_higher": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
},
"category": {
"type": "String"
}
}
},
"insights_bmi_same": "BMI unchanged over {period} · {category}",
"@insights_bmi_same": {
"placeholders": {
"period": {
"type": "String"
},
"category": {
"type": "String"
}
}
},
"insights_bmi_hint": "Green zone is normal (18.5–25), yellow is overweight, pink is obesity. Calculated for a height of {height} cm.",
"@insights_bmi_hint": {
"placeholders": {
"height": {
"type": "String"
}
}
},
"insights_bmi_severe_underweight": "severe underweight",
"insights_bmi_underweight": "underweight",
"insights_bmi_normal": "normal",
"insights_bmi_overweight": "overweight",
"insights_bmi_obesity_1": "obesity class I",
"insights_bmi_obesity_2": "obesity class II",
"insights_bmi_obesity_3": "obesity class III",
"insights_measure_less": "{name} down {value} cm",
"@insights_measure_less": {
"placeholders": {
"name": {
"type": "String"
},
"value": {
"type": "String"
}
}
},
"insights_measure_more": "{name} up {value} cm",
"@insights_measure_more": {
"placeholders": {
"name": {
"type": "String"
},
"value": {
"type": "String"
}
}
},
"insights_measure_same": "{name} unchanged",
"@insights_measure_same": {
"placeholders": {
"name": {
"type": "String"
}
}
},
"insights_measures_summary": "{parts} over {period}",
"@insights_measures_summary": {
"placeholders": {
"parts": {
"type": "String"
},
"period": {
"type": "String"
}
}
},
"insights_add_record": "Add entry",
"insights_add_weight_empty": "Add your weight",
"insights_add_measures_empty": "Add your measurements",
"insights_load_error": "Failed to load analytics",
"insights_retry": "Retry",
"insights_intra_hint": "Bars show what each meal consists of: protein, fat and carbs in kcal. Lines show satiety and mood on a 0–5 scale.",
"insights_sleep_shade": "Shading — sleep time",
"insights_wake_at": "Wake-up at {time}",
"@insights_wake_at": {
"placeholders": {
"time": {
"type": "String"
}
}
},
"insights_sleep_at": "Bedtime at {time}",
"@insights_sleep_at": {
"placeholders": {
"time": {
"type": "String"
}
}
},
"insights_prev_day": "Previous day",
"insights_next_day": "Next day",
"insights_pick_date": "Pick a date",
"insights_today": "Today",
"insights_save_error": "Failed to save the entry"
}

View File

@@ -282,5 +282,198 @@
"video_call_notification_in_progress": "Звонок идёт",
"video_call_notification_return": "Вернуться к звонку",
"video_call_notification_end": "Завершить звонок",
"blog_post_image_min_size_error": "Минимальный размер изображения — 500×500 px"
"blog_post_image_min_size_error": "Минимальный размер изображения — 500×500 px",
"insights_title": "Аналитика",
"insights_subtitle_closed": "нажмите, чтобы посмотреть прогресс",
"insights_subtitle_open": "вес, замеры и питание",
"insights_tab_weight": "Вес",
"insights_tab_bmi": "ИМТ",
"insights_tab_measures": "Замеры",
"insights_tab_daily": "КБЖУ по дням",
"insights_tab_intra": "В течение дня",
"insights_period_1m": "1М",
"insights_period_3m": "3М",
"insights_period_6m": "6М",
"insights_period_1y": "1Г",
"insights_period_all": "Всё время",
"insights_period_1w": "1Н",
"insights_period_2w": "2Н",
"insights_series_waist": "Талия",
"insights_series_chest": "Грудь",
"insights_series_hips": "Бёдра",
"insights_series_calories": "Калории",
"insights_series_proteins": "Белки",
"insights_series_fats": "Жиры",
"insights_series_carbs": "Углеводы",
"insights_series_satiety": "Сытость",
"insights_series_mood": "Настроение",
"insights_series_sleep": "Сон и подъём",
"insights_unit_kg": "кг",
"insights_unit_bmi": "ИМТ",
"insights_unit_cm": "см",
"insights_unit_cm_waist": "см талия",
"insights_unit_kcal": "ккал",
"insights_unit_kcal_avg": "ккал в среднем",
"insights_unit_grams": "граммы",
"insights_unit_kcal_per_meal": "ккал за приём",
"insights_period_label_1": "месяц",
"insights_period_label_3": "3 месяца",
"insights_period_label_6": "6 месяцев",
"insights_period_label_12": "год",
"insights_period_label_all": "всё время",
"insights_not_enough": "Недостаточно данных",
"insights_need_height": "Укажите рост, чтобы посчитать ИМТ.",
"insights_weight_lost": "Снизили на {value} кг за {period}",
"@insights_weight_lost": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
}
}
},
"insights_weight_gained": "Набрали {value} кг за {period}",
"@insights_weight_gained": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
}
}
},
"insights_weight_same": "Вес не изменился за {period}",
"@insights_weight_same": {
"placeholders": {
"period": {
"type": "String"
}
}
},
"insights_bmi_lower": "ИМТ ниже на {value} за {period} · {category}",
"@insights_bmi_lower": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
},
"category": {
"type": "String"
}
}
},
"insights_bmi_higher": "ИМТ выше на {value} за {period} · {category}",
"@insights_bmi_higher": {
"placeholders": {
"value": {
"type": "String"
},
"period": {
"type": "String"
},
"category": {
"type": "String"
}
}
},
"insights_bmi_same": "ИМТ не изменился за {period} · {category}",
"@insights_bmi_same": {
"placeholders": {
"period": {
"type": "String"
},
"category": {
"type": "String"
}
}
},
"insights_bmi_hint": "Зелёная зона — норма (18.5–25), жёлтая — избыточный вес, розовая — ожирение. Считаем при росте {height} см.",
"@insights_bmi_hint": {
"placeholders": {
"height": {
"type": "String"
}
}
},
"insights_bmi_severe_underweight": "выраженный дефицит массы",
"insights_bmi_underweight": "недостаточная масса",
"insights_bmi_normal": "норма",
"insights_bmi_overweight": "избыточная масса",
"insights_bmi_obesity_1": "ожирение I ст.",
"insights_bmi_obesity_2": "ожирение II ст.",
"insights_bmi_obesity_3": "ожирение III ст.",
"insights_measure_less": "{name} меньше на {value} см",
"@insights_measure_less": {
"placeholders": {
"name": {
"type": "String"
},
"value": {
"type": "String"
}
}
},
"insights_measure_more": "{name} больше на {value} см",
"@insights_measure_more": {
"placeholders": {
"name": {
"type": "String"
},
"value": {
"type": "String"
}
}
},
"insights_measure_same": "{name} без изменений",
"@insights_measure_same": {
"placeholders": {
"name": {
"type": "String"
}
}
},
"insights_measures_summary": "{parts} за {period}",
"@insights_measures_summary": {
"placeholders": {
"parts": {
"type": "String"
},
"period": {
"type": "String"
}
}
},
"insights_add_record": "Добавить запись",
"insights_add_weight_empty": "Добавьте Ваш вес",
"insights_add_measures_empty": "Добавьте Ваши замеры",
"insights_load_error": "Не удалось загрузить аналитику",
"insights_retry": "Повторить",
"insights_intra_hint": "Столбики показывают, из чего состоят приёмы пищи: белки, жиры и углеводы в ккал. Линии — сытость и настроение по шкале от 0 до 5.",
"insights_sleep_shade": "Затемнение — время сна",
"insights_wake_at": "Подъём в {time}",
"@insights_wake_at": {
"placeholders": {
"time": {
"type": "String"
}
}
},
"insights_sleep_at": "Отход ко сну в {time}",
"@insights_sleep_at": {
"placeholders": {
"time": {
"type": "String"
}
}
},
"insights_prev_day": "Предыдущий день",
"insights_next_day": "Следующий день",
"insights_pick_date": "Выбрать дату",
"insights_today": "Сегодня",
"insights_save_error": "Не удалось сохранить запись"
}