forked from eatvio/eatvio_app
feat(insights): first isights impemetation
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user