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

@@ -22,32 +22,62 @@ class MessageLookup extends MessageLookupByLibrary {
static String m0(date) => "Консультант прокомментировал день ${date}";
static String m1(planName) => "План «${planName}» начался";
static String m1(value, period, category) =>
"BMI higher by ${value} over ${period} · ${category}";
static String m2(planName, name) =>
static String m2(height) =>
"Green zone is normal (18.5–25), yellow is overweight, pink is obesity. Calculated for a height of ${height} cm.";
static String m3(value, period, category) =>
"BMI lower by ${value} over ${period} · ${category}";
static String m4(period, category) =>
"BMI unchanged over ${period} · ${category}";
static String m5(name, value) => "${name} down ${value} cm";
static String m6(name, value) => "${name} up ${value} cm";
static String m7(name) => "${name} unchanged";
static String m8(parts, period) => "${parts} over ${period}";
static String m9(time) => "Bedtime at ${time}";
static String m10(time) => "Wake-up at ${time}";
static String m11(value, period) => "Gained ${value} kg over ${period}";
static String m12(value, period) => "Lost ${value} kg over ${period}";
static String m13(period) => "Weight unchanged over ${period}";
static String m14(planName) => "План «${planName}» начался";
static String m15(planName, name) =>
"План «${planName}» с пользователем ${name} начался";
static String m3(percent, amount) =>
static String m16(percent, amount) =>
"Discount ${percent}% — you save ${amount} ₽";
static String m4(step) => "шаг ${step} из 2";
static String m17(step) => "шаг ${step} из 2";
static String m5(planName, name) =>
static String m18(planName, name) =>
"Завтра начинается план «${planName}» с пользователем ${name}";
static String m6(planName) =>
static String m19(planName) =>
"Завтра начнется прохождение плана «${planName}»";
static String m7(name, planName) =>
static String m20(name, planName) =>
"Пользователь ${name} отменил подписку на план «${planName}»";
static String m8(name, planName) =>
static String m21(name, planName) =>
"Пользователь ${name} оплатил план «${planName}»";
static String m9(name, planName) =>
static String m22(name, planName) =>
"Пользователь ${name} подписался на план «${planName}»";
static String m10(planName) => "Вы отменили подписку на план «${planName}»";
static String m23(planName) => "Вы отменили подписку на план «${planName}»";
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
@@ -503,6 +533,126 @@ class MessageLookup extends MessageLookupByLibrary {
"initial_measurements": MessageLookupByLibrary.simpleMessage(
"Первичные замеры",
),
"insights_add_measures_empty": MessageLookupByLibrary.simpleMessage(
"Add your measurements",
),
"insights_add_record": MessageLookupByLibrary.simpleMessage("Add entry"),
"insights_add_weight_empty": MessageLookupByLibrary.simpleMessage(
"Add your weight",
),
"insights_bmi_higher": m1,
"insights_bmi_hint": m2,
"insights_bmi_lower": m3,
"insights_bmi_normal": MessageLookupByLibrary.simpleMessage("normal"),
"insights_bmi_obesity_1": MessageLookupByLibrary.simpleMessage(
"obesity class I",
),
"insights_bmi_obesity_2": MessageLookupByLibrary.simpleMessage(
"obesity class II",
),
"insights_bmi_obesity_3": MessageLookupByLibrary.simpleMessage(
"obesity class III",
),
"insights_bmi_overweight": MessageLookupByLibrary.simpleMessage(
"overweight",
),
"insights_bmi_same": m4,
"insights_bmi_severe_underweight": MessageLookupByLibrary.simpleMessage(
"severe underweight",
),
"insights_bmi_underweight": MessageLookupByLibrary.simpleMessage(
"underweight",
),
"insights_intra_hint": MessageLookupByLibrary.simpleMessage(
"Bars show what each meal consists of: protein, fat and carbs in kcal. Lines show satiety and mood on a 0–5 scale.",
),
"insights_load_error": MessageLookupByLibrary.simpleMessage(
"Failed to load analytics",
),
"insights_measure_less": m5,
"insights_measure_more": m6,
"insights_measure_same": m7,
"insights_measures_summary": m8,
"insights_need_height": MessageLookupByLibrary.simpleMessage(
"Set your height to calculate BMI.",
),
"insights_next_day": MessageLookupByLibrary.simpleMessage("Next day"),
"insights_not_enough": MessageLookupByLibrary.simpleMessage(
"Not enough data",
),
"insights_period_1m": MessageLookupByLibrary.simpleMessage("1M"),
"insights_period_1w": MessageLookupByLibrary.simpleMessage("1W"),
"insights_period_1y": MessageLookupByLibrary.simpleMessage("1Y"),
"insights_period_2w": MessageLookupByLibrary.simpleMessage("2W"),
"insights_period_3m": MessageLookupByLibrary.simpleMessage("3M"),
"insights_period_6m": MessageLookupByLibrary.simpleMessage("6M"),
"insights_period_all": MessageLookupByLibrary.simpleMessage("All time"),
"insights_period_label_1": MessageLookupByLibrary.simpleMessage("month"),
"insights_period_label_12": MessageLookupByLibrary.simpleMessage("year"),
"insights_period_label_3": MessageLookupByLibrary.simpleMessage("3 months"),
"insights_period_label_6": MessageLookupByLibrary.simpleMessage("6 months"),
"insights_period_label_all": MessageLookupByLibrary.simpleMessage(
"all time",
),
"insights_pick_date": MessageLookupByLibrary.simpleMessage("Pick a date"),
"insights_prev_day": MessageLookupByLibrary.simpleMessage("Previous day"),
"insights_retry": MessageLookupByLibrary.simpleMessage("Retry"),
"insights_save_error": MessageLookupByLibrary.simpleMessage(
"Failed to save the entry",
),
"insights_series_calories": MessageLookupByLibrary.simpleMessage(
"Calories",
),
"insights_series_carbs": MessageLookupByLibrary.simpleMessage("Carbs"),
"insights_series_chest": MessageLookupByLibrary.simpleMessage("Chest"),
"insights_series_fats": MessageLookupByLibrary.simpleMessage("Fat"),
"insights_series_hips": MessageLookupByLibrary.simpleMessage("Hips"),
"insights_series_mood": MessageLookupByLibrary.simpleMessage("Mood"),
"insights_series_proteins": MessageLookupByLibrary.simpleMessage("Protein"),
"insights_series_satiety": MessageLookupByLibrary.simpleMessage("Satiety"),
"insights_series_sleep": MessageLookupByLibrary.simpleMessage(
"Sleep and wake-up",
),
"insights_series_waist": MessageLookupByLibrary.simpleMessage("Waist"),
"insights_sleep_at": m9,
"insights_sleep_shade": MessageLookupByLibrary.simpleMessage(
"Shading — sleep time",
),
"insights_subtitle_closed": MessageLookupByLibrary.simpleMessage(
"tap to see your progress",
),
"insights_subtitle_open": MessageLookupByLibrary.simpleMessage(
"weight, measurements and nutrition",
),
"insights_tab_bmi": MessageLookupByLibrary.simpleMessage("BMI"),
"insights_tab_daily": MessageLookupByLibrary.simpleMessage(
"Nutrition by day",
),
"insights_tab_intra": MessageLookupByLibrary.simpleMessage(
"Throughout the day",
),
"insights_tab_measures": MessageLookupByLibrary.simpleMessage(
"Measurements",
),
"insights_tab_weight": MessageLookupByLibrary.simpleMessage("Weight"),
"insights_title": MessageLookupByLibrary.simpleMessage("Analytics"),
"insights_today": MessageLookupByLibrary.simpleMessage("Today"),
"insights_unit_bmi": MessageLookupByLibrary.simpleMessage("BMI"),
"insights_unit_cm": MessageLookupByLibrary.simpleMessage("cm"),
"insights_unit_cm_waist": MessageLookupByLibrary.simpleMessage("cm waist"),
"insights_unit_grams": MessageLookupByLibrary.simpleMessage("grams"),
"insights_unit_kcal": MessageLookupByLibrary.simpleMessage("kcal"),
"insights_unit_kcal_avg": MessageLookupByLibrary.simpleMessage(
"kcal on average",
),
"insights_unit_kcal_per_meal": MessageLookupByLibrary.simpleMessage(
"kcal per meal",
),
"insights_unit_kg": MessageLookupByLibrary.simpleMessage("kg"),
"insights_wake_at": m10,
"insights_weight_gained": m11,
"insights_weight_lost": m12,
"insights_weight_same": m13,
"invite": MessageLookupByLibrary.simpleMessage("Пригласить"),
"invited_people_count": MessageLookupByLibrary.simpleMessage(
"Количество приглашенных",
@@ -684,11 +834,11 @@ class MessageLookup extends MessageLookupByLibrary {
"Физическая форма",
),
"place_of_living": MessageLookupByLibrary.simpleMessage("Место проживания"),
"planStarted": m1,
"planStarted": m14,
"planWillBeConfirmedAfterThreeDays": MessageLookupByLibrary.simpleMessage(
"Если вы не подтвердите, то план через три дня подтвердится автоматически",
),
"planWithUserStarted": m2,
"planWithUserStarted": m15,
"plan_author": MessageLookupByLibrary.simpleMessage("Автор плана"),
"plan_desc": MessageLookupByLibrary.simpleMessage("Описание плана"),
"plan_desc_example": MessageLookupByLibrary.simpleMessage(
@@ -731,7 +881,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Promo code applied!",
),
"promo_code": MessageLookupByLibrary.simpleMessage("Promo code"),
"promo_discount_hint": m3,
"promo_discount_hint": m16,
"promo_invalid": MessageLookupByLibrary.simpleMessage(
"Promo code not found or expired",
),
@@ -857,7 +1007,7 @@ class MessageLookup extends MessageLookupByLibrary {
"step_by_step_photo_recipe": MessageLookupByLibrary.simpleMessage(
"Пошаговый фоторецепт",
),
"step_widget": m4,
"step_widget": m17,
"successfully_published": MessageLookupByLibrary.simpleMessage(
"успешно опубликован",
),
@@ -882,8 +1032,8 @@ class MessageLookup extends MessageLookupByLibrary {
"toOffer": MessageLookupByLibrary.simpleMessage("Предложить"),
"to_draft": MessageLookupByLibrary.simpleMessage("В черновик"),
"to_order": MessageLookupByLibrary.simpleMessage("Заказать"),
"tommorowPlanWithUserWillStart": m5,
"tomorrowYourPlanWillStart": m6,
"tommorowPlanWithUserWillStart": m18,
"tomorrowYourPlanWillStart": m19,
"try_again": MessageLookupByLibrary.simpleMessage("Попробовать снова"),
"try_again_2": MessageLookupByLibrary.simpleMessage("Попробуйте ещё раз"),
"typeAmoutOfReturn": MessageLookupByLibrary.simpleMessage(
@@ -917,7 +1067,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Верхние показатели давления:",
),
"upper": MessageLookupByLibrary.simpleMessage("Верхнее"),
"userCanceldThePlanSubscription": m7,
"userCanceldThePlanSubscription": m20,
"userConfirmedPlanCompletion": MessageLookupByLibrary.simpleMessage(
"Пользователь подтвердил прохождения плана. В ближайшее время Вы получите",
),
@@ -925,8 +1075,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage(
"Пользователь подтвердил прохождения плана.",
),
"userPaidThePlan": m8,
"userSubscribedToPlan": m9,
"userPaidThePlan": m21,
"userSubscribedToPlan": m22,
"user_authorization": MessageLookupByLibrary.simpleMessage(
"Аутентификация",
),
@@ -1056,7 +1206,7 @@ class MessageLookup extends MessageLookupByLibrary {
"youCanComplain": MessageLookupByLibrary.simpleMessage(
"Если вас что-то не устроило, вы можете подать жалобу",
),
"youCanceledSubscriptionToPlan": m10,
"youCanceledSubscriptionToPlan": m23,
"youShureYouWantToCancelOrder": MessageLookupByLibrary.simpleMessage(
"Вы уверены, что хотите отменить заказ?",
),

View File

@@ -20,7 +20,37 @@ typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'ru';
static String m3(percent, amount) =>
static String m1(value, period, category) =>
"ИМТ выше на ${value} за ${period} · ${category}";
static String m2(height) =>
"Зелёная зона — норма (18.5–25), жёлтая — избыточный вес, розовая — ожирение. Считаем при росте ${height} см.";
static String m3(value, period, category) =>
"ИМТ ниже на ${value} за ${period} · ${category}";
static String m4(period, category) =>
"ИМТ не изменился за ${period} · ${category}";
static String m5(name, value) => "${name} меньше на ${value} см";
static String m6(name, value) => "${name} больше на ${value} см";
static String m7(name) => "${name} без изменений";
static String m8(parts, period) => "${parts} за ${period}";
static String m9(time) => "Отход ко сну в ${time}";
static String m10(time) => "Подъём в ${time}";
static String m11(value, period) => "Набрали ${value} кг за ${period}";
static String m12(value, period) => "Снизили на ${value} кг за ${period}";
static String m13(period) => "Вес не изменился за ${period}";
static String m16(percent, amount) =>
"Скидка ${percent}% — вы экономите ${amount} ₽";
final messages = _notInlinedMessages(_notInlinedMessages);
@@ -212,6 +242,124 @@ class MessageLookup extends MessageLookupByLibrary {
"initial_measurements": MessageLookupByLibrary.simpleMessage(
"Первичные замеры",
),
"insights_add_measures_empty": MessageLookupByLibrary.simpleMessage(
"Добавьте Ваши замеры",
),
"insights_add_record": MessageLookupByLibrary.simpleMessage(
"Добавить запись",
),
"insights_add_weight_empty": MessageLookupByLibrary.simpleMessage(
"Добавьте Ваш вес",
),
"insights_bmi_higher": m1,
"insights_bmi_hint": m2,
"insights_bmi_lower": m3,
"insights_bmi_normal": MessageLookupByLibrary.simpleMessage("норма"),
"insights_bmi_obesity_1": MessageLookupByLibrary.simpleMessage(
"ожирение I ст.",
),
"insights_bmi_obesity_2": MessageLookupByLibrary.simpleMessage(
"ожирение II ст.",
),
"insights_bmi_obesity_3": MessageLookupByLibrary.simpleMessage(
"ожирение III ст.",
),
"insights_bmi_overweight": MessageLookupByLibrary.simpleMessage(
"избыточная масса",
),
"insights_bmi_same": m4,
"insights_bmi_severe_underweight": MessageLookupByLibrary.simpleMessage(
"выраженный дефицит массы",
),
"insights_bmi_underweight": MessageLookupByLibrary.simpleMessage(
"недостаточная масса",
),
"insights_intra_hint": MessageLookupByLibrary.simpleMessage(
"Столбики показывают, из чего состоят приёмы пищи: белки, жиры и углеводы в ккал. Линии — сытость и настроение по шкале от 0 до 5.",
),
"insights_load_error": MessageLookupByLibrary.simpleMessage(
"Не удалось загрузить аналитику",
),
"insights_measure_less": m5,
"insights_measure_more": m6,
"insights_measure_same": m7,
"insights_measures_summary": m8,
"insights_need_height": MessageLookupByLibrary.simpleMessage(
"Укажите рост, чтобы посчитать ИМТ.",
),
"insights_next_day": MessageLookupByLibrary.simpleMessage("Следующий день"),
"insights_not_enough": MessageLookupByLibrary.simpleMessage(
"Недостаточно данных",
),
"insights_period_1m": MessageLookupByLibrary.simpleMessage("1М"),
"insights_period_1w": MessageLookupByLibrary.simpleMessage("1Н"),
"insights_period_1y": MessageLookupByLibrary.simpleMessage("1Г"),
"insights_period_2w": MessageLookupByLibrary.simpleMessage("2Н"),
"insights_period_3m": MessageLookupByLibrary.simpleMessage("3М"),
"insights_period_6m": MessageLookupByLibrary.simpleMessage("6М"),
"insights_period_all": MessageLookupByLibrary.simpleMessage("Всё время"),
"insights_period_label_1": MessageLookupByLibrary.simpleMessage("месяц"),
"insights_period_label_12": MessageLookupByLibrary.simpleMessage("год"),
"insights_period_label_3": MessageLookupByLibrary.simpleMessage("3 месяца"),
"insights_period_label_6": MessageLookupByLibrary.simpleMessage(
"6 месяцев",
),
"insights_period_label_all": MessageLookupByLibrary.simpleMessage(
"всё время",
),
"insights_pick_date": MessageLookupByLibrary.simpleMessage("Выбрать дату"),
"insights_prev_day": MessageLookupByLibrary.simpleMessage(
"Предыдущий день",
),
"insights_retry": MessageLookupByLibrary.simpleMessage("Повторить"),
"insights_save_error": MessageLookupByLibrary.simpleMessage(
"Не удалось сохранить запись",
),
"insights_series_calories": MessageLookupByLibrary.simpleMessage("Калории"),
"insights_series_carbs": MessageLookupByLibrary.simpleMessage("Углеводы"),
"insights_series_chest": MessageLookupByLibrary.simpleMessage("Грудь"),
"insights_series_fats": MessageLookupByLibrary.simpleMessage("Жиры"),
"insights_series_hips": MessageLookupByLibrary.simpleMessage("Бёдра"),
"insights_series_mood": MessageLookupByLibrary.simpleMessage("Настроение"),
"insights_series_proteins": MessageLookupByLibrary.simpleMessage("Белки"),
"insights_series_satiety": MessageLookupByLibrary.simpleMessage("Сытость"),
"insights_series_sleep": MessageLookupByLibrary.simpleMessage(
"Сон и подъём",
),
"insights_series_waist": MessageLookupByLibrary.simpleMessage("Талия"),
"insights_sleep_at": m9,
"insights_sleep_shade": MessageLookupByLibrary.simpleMessage(
"Затемнение — время сна",
),
"insights_subtitle_closed": MessageLookupByLibrary.simpleMessage(
"нажмите, чтобы посмотреть прогресс",
),
"insights_subtitle_open": MessageLookupByLibrary.simpleMessage(
"вес, замеры и питание",
),
"insights_tab_bmi": MessageLookupByLibrary.simpleMessage("ИМТ"),
"insights_tab_daily": MessageLookupByLibrary.simpleMessage("КБЖУ по дням"),
"insights_tab_intra": MessageLookupByLibrary.simpleMessage("В течение дня"),
"insights_tab_measures": MessageLookupByLibrary.simpleMessage("Замеры"),
"insights_tab_weight": MessageLookupByLibrary.simpleMessage("Вес"),
"insights_title": MessageLookupByLibrary.simpleMessage("Аналитика"),
"insights_today": MessageLookupByLibrary.simpleMessage("Сегодня"),
"insights_unit_bmi": MessageLookupByLibrary.simpleMessage("ИМТ"),
"insights_unit_cm": MessageLookupByLibrary.simpleMessage("см"),
"insights_unit_cm_waist": MessageLookupByLibrary.simpleMessage("см талия"),
"insights_unit_grams": MessageLookupByLibrary.simpleMessage("граммы"),
"insights_unit_kcal": MessageLookupByLibrary.simpleMessage("ккал"),
"insights_unit_kcal_avg": MessageLookupByLibrary.simpleMessage(
"ккал в среднем",
),
"insights_unit_kcal_per_meal": MessageLookupByLibrary.simpleMessage(
"ккал за приём",
),
"insights_unit_kg": MessageLookupByLibrary.simpleMessage("кг"),
"insights_wake_at": m10,
"insights_weight_gained": m11,
"insights_weight_lost": m12,
"insights_weight_same": m13,
"label": MessageLookupByLibrary.simpleMessage("Название"),
"language": MessageLookupByLibrary.simpleMessage("Язык"),
"last_name": MessageLookupByLibrary.simpleMessage("Фамилия"),
@@ -338,7 +486,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Промокод применён!",
),
"promo_code": MessageLookupByLibrary.simpleMessage("Промокод"),
"promo_discount_hint": m3,
"promo_discount_hint": m16,
"promo_invalid": MessageLookupByLibrary.simpleMessage(
"Промокод не найден или истёк",
),

View File

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