From b05d3b891b5c2314b408882f5246b6202f6f2c3b Mon Sep 17 00:00:00 2001 From: misha Date: Wed, 18 Nov 2026 14:38:15 +0300 Subject: [PATCH] fix: issue-1141 --- .../chat/presentation/pages/chat_screen.dart | 24 +- .../diary/presentation/bloc/diary_cubit.dart | 102 +- .../plans/enums/chosen_plan_state_enum.dart | 12 + .../pages/video_call_recordings_screen.dart | 32 +- .../services/public_downloads_saver.dart | 2 +- lib/generated/intl/messages_all.dart | 26 +- lib/generated/intl/messages_en.dart | 2233 ++++++++--------- lib/generated/intl/messages_ru.dart | 1310 +++++----- lib/generated/l10n.dart | 1284 ++++++++-- pubspec.yaml | 2 +- .../pages/chat_screen_loaded_smoke_test.dart | 174 ++ .../presentation/bloc/diary_cubit_test.dart | 957 ++++--- .../enums/chosen_plan_state_enum_test.dart | 303 ++- .../video_call_recordings_screen_test.dart | 114 + 14 files changed, 3983 insertions(+), 2592 deletions(-) create mode 100644 test/features/video_calls/recordings/presentation/pages/video_call_recordings_screen_test.dart diff --git a/lib/features/chat/presentation/pages/chat_screen.dart b/lib/features/chat/presentation/pages/chat_screen.dart index 6714a27a..e0ec7cd0 100644 --- a/lib/features/chat/presentation/pages/chat_screen.dart +++ b/lib/features/chat/presentation/pages/chat_screen.dart @@ -30,6 +30,7 @@ import 'package:eatvio_app/features/chat/utils/chat_counterpart_utils.dart'; import 'package:eatvio_app/features/consultations/utils/consultation_progress_mapper.dart'; import 'package:eatvio_app/features/order_info/presentation/info_by_order_screen.dart'; import 'package:eatvio_app/features/plans/enums/chosen_plan_state_enum.dart'; +import 'package:eatvio_app/features/plans/models/chosen_plan_model.dart'; import 'package:eatvio_app/features/user_details/presentation/user_details_screen.dart'; import 'package:eatvio_app/features/video_calls/managers/video_call_manager.dart'; import 'package:eatvio_app/features/video_calls/presentation/pages/video_call_screen.dart'; @@ -72,6 +73,10 @@ class _ChatScreenState extends State { String? get conversationUuid => _effectiveUuid ?? widget.uuid; + bool _canStartVideoCall(ChosenPlanModel? chosenPlan) { + return chosenPlan?.chosenPlanState.allowsVideoCall ?? false; + } + void _onHide() { chatRoomCubit.cancelTimer(); } @@ -205,6 +210,7 @@ class _ChatScreenState extends State { chosenPlan != null && chosenPlan.chosenPlanState != ChosenPlanStateEnum.stateCanceledByTheInitiator; + final showVideoCallButton = _canStartVideoCall(chosenPlan); return Scaffold( resizeToAvoidBottomInset: true, @@ -300,12 +306,14 @@ class _ChatScreenState extends State { ), ), actions: [ - Padding( - padding: const EdgeInsetsDirectional.only(end: 8), - child: _ChatHeaderVideoCallButton( - onPressed: () => _openVideoCall(context, state, chatCounterpart), + if (showVideoCallButton) + Padding( + padding: const EdgeInsetsDirectional.only(end: 8), + child: _ChatHeaderVideoCallButton( + onPressed: () => + _openVideoCall(context, state, chatCounterpart), + ), ), - ), ], ), body: SafeArea( @@ -324,8 +332,7 @@ class _ChatScreenState extends State { InfoByOrderScreen.path, extra: { 'planId': chosenPlan?.id, - 'customerSlug': - state.chatRoom.users.receiver.slug, + 'customerSlug': state.chatRoom.users.receiver.slug, }, ); return; @@ -1018,7 +1025,8 @@ class _ChatScreenState extends State { required bool? amIConsultant, }) { if (message.type == ChatMessageType.videoCallStarted && - !isCurrentUserAuthor) { + !isCurrentUserAuthor && + _canStartVideoCall(state.chatRoom.chosenPlan)) { return VideoCallChatMessageWidget( text: message.data.trim(), sendTime: message.updatedAt, diff --git a/lib/features/diary/presentation/bloc/diary_cubit.dart b/lib/features/diary/presentation/bloc/diary_cubit.dart index 289e3ecf..5f30b688 100644 --- a/lib/features/diary/presentation/bloc/diary_cubit.dart +++ b/lib/features/diary/presentation/bloc/diary_cubit.dart @@ -102,9 +102,9 @@ class DiaryCubit extends Cubit { setDiary(diaryDay: diaryEntity, diaryId: diaryId); return true; } - if (diaryDay.typeOfDiary.hasChosenDiet == true && diaryDay.typeOfDiary.diaryState == null) { - setDiaryForDietOnly(diaryDay.toDiaryFutureDayEntity()); - return true; + + if (_isUnsavedDietPreview(diaryDay)) { + return await setDiaryForDietOnly(diaryDay.toDiaryFutureDayEntity()); } emit(currentState); return false; @@ -157,84 +157,50 @@ class DiaryCubit extends Cubit { } } + bool _isUnsavedDietPreview(DiaryDayModel diaryDay) { + final diaryState = diaryDay.typeOfDiary.diaryState; + final dayNotStarted = diaryState == null || diaryState == DiaryStateEnum.init; + return diaryDay.typeOfDiary.hasChosenDiet && dayNotStarted; + } + Future setDiaryForDietOnly(DiaryFutureDietDayEntity diaryDay) async { - if (!diaryDay.typeOfDiary.hasChosenDiet) { + final dietId = diaryDay.diet?.id; + final dayOfChosenDiet = diaryDay.dayOfChosenDiet; + if (!diaryDay.typeOfDiary.hasChosenDiet || dietId == null || dayOfChosenDiet == null) { return false; } emit(const DiaryState.loading()); try { - if (diaryDay.diet?.id != null && diaryDay.dayOfChosenDiet != null) { - final diet = await dietRepository.getDiet((diaryDay.diet?.id)!); - final meals = diet.dailySchedule[diaryDay.dayOfChosenDiet]; - final firstMealPortions = meals?[1]?.values.map((elem) { - return PortionModel( - id: 0, - productName: elem.name, - quantity: elem.quantity, - portion: elem.portion.getValue(), - fromDiet: true, - portionState: PortionState.filledDiet, - ); - }).toList(); + final diet = await dietRepository.getDiet(dietId); + final meals = diet.dailySchedule[dayOfChosenDiet]; + List portionsOfMeal(int mealNumber) { + return meals?[mealNumber]?.values + .map( + (elem) => PortionModel( + id: 0, + productName: elem.name, + quantity: elem.quantity, + portion: elem.portion.getValue(), + fromDiet: true, + portionState: PortionState.filledDiet, + ), + ) + .toList() ?? + []; + } - final secondMealPortions = meals?[2]?.values.map((elem) { - return PortionModel( - id: 0, - productName: elem.name, - quantity: elem.quantity, - portion: elem.portion.getValue(), - fromDiet: true, - portionState: PortionState.filledDiet, - ); - }).toList(); + MealModel meal(int mealNumber) { + return MealModel(id: 0, time: '0', typeNumber: mealNumber, satiety: 0, mood: 0, portions: portionsOfMeal(mealNumber), photos: []); + } - final thirdMealPortions = meals?[3]?.values.map((elem) { - return PortionModel( - id: 0, - productName: elem.name, - quantity: elem.quantity, - portion: elem.portion.getValue(), - fromDiet: true, - portionState: PortionState.filledDiet, - ); - }).toList(); - - final fourthMealPortions = meals?[4]?.values.map((elem) { - return PortionModel( - id: 0, - productName: elem.name, - quantity: elem.quantity, - portion: elem.portion.getValue(), - fromDiet: true, - portionState: PortionState.filledDiet, - ); - }).toList(); - - final fifthMealPortions = meals?[5]?.values.map((elem) { - return PortionModel( - id: 0, - productName: elem.name, - quantity: elem.quantity, - portion: elem.portion.getValue(), - fromDiet: true, - portionState: PortionState.filledDiet, - ); - }).toList(); - final firstMeal = MealModel(id: 0, time: '0', typeNumber: 1, satiety: 0, mood: 0, portions: firstMealPortions ?? [], photos: []); - final secondMeal = MealModel(id: 0, time: '0', typeNumber: 2, satiety: 0, mood: 0, portions: secondMealPortions ?? [], photos: []); - final thirdMeal = MealModel(id: 0, time: '0', typeNumber: 3, satiety: 0, mood: 0, portions: thirdMealPortions ?? [], photos: []); - final fourthMeal = MealModel(id: 0, time: '0', typeNumber: 4, satiety: 0, mood: 0, portions: fourthMealPortions ?? [], photos: []); - final fifthMeal = MealModel(id: 0, time: '0', typeNumber: 5, satiety: 0, mood: 0, portions: fifthMealPortions ?? [], photos: []); emit( DiaryState.loadedTomorrowWithDiet( - diary: diaryDay.copyWith(meals: [firstMeal, secondMeal, thirdMeal, fourthMeal, fifthMeal]), + diary: diaryDay.copyWith(meals: [meal(1), meal(2), meal(3), meal(4), meal(5)]), selectedDay: selectedDay, selectedMeal: selectedMeal, ), ); - return true; - } - return false; + return true; } catch (e, st) { await reportFrom(e, st, this); emit(DiaryState.error(errorMessage: e.toString())); diff --git a/lib/features/plans/enums/chosen_plan_state_enum.dart b/lib/features/plans/enums/chosen_plan_state_enum.dart index fad8736c..39ece132 100644 --- a/lib/features/plans/enums/chosen_plan_state_enum.dart +++ b/lib/features/plans/enums/chosen_plan_state_enum.dart @@ -88,6 +88,18 @@ enum ChosenPlanStateEnum { } } + bool get allowsVideoCall { + switch (this) { + case ChosenPlanStateEnum.stateCanceledByTheInitiator: + case ChosenPlanStateEnum.statePaymentFailed: + case ChosenPlanStateEnum.stateDone: + case ChosenPlanStateEnum.stateChargeWasCollected: + return false; + default: + return true; + } + } + static List getActiveStates() { return [ ChosenPlanStateEnum.statePaid, diff --git a/lib/features/video_calls/recordings/presentation/pages/video_call_recordings_screen.dart b/lib/features/video_calls/recordings/presentation/pages/video_call_recordings_screen.dart index 1ec87312..ff435ddf 100644 --- a/lib/features/video_calls/recordings/presentation/pages/video_call_recordings_screen.dart +++ b/lib/features/video_calls/recordings/presentation/pages/video_call_recordings_screen.dart @@ -170,14 +170,29 @@ class _VideoCallRecordingsViewState extends State<_VideoCallRecordingsView> { } if (state.recordings.isEmpty) { - return Center( - child: Padding( - padding: const EdgeInsets.all(24), - child: Text( - s.video_call_recordings_empty, - textAlign: TextAlign.center, - style: TextStyles.textMMedium.copyWith(color: appTheme.blueGray400), - ), + return RefreshIndicator( + onRefresh: () => context.read().load(refresh: true), + child: LayoutBuilder( + builder: (context, constraints) { + return ListView( + physics: const AlwaysScrollableScrollPhysics(), + children: [ + SizedBox( + height: constraints.maxHeight, + child: Center( + child: Padding( + padding: const EdgeInsets.all(24), + child: Text( + s.video_call_recordings_empty, + textAlign: TextAlign.center, + style: TextStyles.textMMedium.copyWith(color: appTheme.blueGray400), + ), + ), + ), + ), + ], + ); + }, ), ); } @@ -186,6 +201,7 @@ class _VideoCallRecordingsViewState extends State<_VideoCallRecordingsView> { onRefresh: () => context.read().load(refresh: true), child: ListView.separated( controller: _scrollController, + physics: const AlwaysScrollableScrollPhysics(), padding: const EdgeInsets.fromLTRB(16, 0, 16, 24), itemCount: state.recordings.length + (state.isLoadingMore ? 1 : 0), separatorBuilder: (_, _) => const SizedBox(height: 16), diff --git a/lib/features/video_calls/recordings/services/public_downloads_saver.dart b/lib/features/video_calls/recordings/services/public_downloads_saver.dart index d0cda3ed..437bda61 100644 --- a/lib/features/video_calls/recordings/services/public_downloads_saver.dart +++ b/lib/features/video_calls/recordings/services/public_downloads_saver.dart @@ -8,7 +8,7 @@ class PublicDownloadsSaver { const PublicDownloadsSaver(); /// Имя папки приложения в Загрузках / Files. - static const appFolderName = 'Itvio'; + static const appFolderName = 'Eatvio'; Future saveToDownloads({ required String sourcePath, diff --git a/lib/generated/intl/messages_all.dart b/lib/generated/intl/messages_all.dart index 3139e159..9efeaa8e 100644 --- a/lib/generated/intl/messages_all.dart +++ b/lib/generated/intl/messages_all.dart @@ -11,7 +11,6 @@ import 'dart:async'; -import 'package:flutter/foundation.dart'; import 'package:intl/intl.dart'; import 'package:intl/message_lookup_by_library.dart'; import 'package:intl/src/intl_helpers.dart'; @@ -21,8 +20,8 @@ import 'messages_ru.dart' as messages_ru; typedef Future LibraryLoader(); Map _deferredLibraries = { - 'en': () => new SynchronousFuture(null), - 'ru': () => new SynchronousFuture(null), + 'en': () => new Future.value(null), + 'ru': () => new Future.value(null), }; MessageLookupByLibrary? _findExact(String localeName) { @@ -37,20 +36,18 @@ MessageLookupByLibrary? _findExact(String localeName) { } /// User programs should call this before using [localeName] for messages. -Future initializeMessages(String localeName) { +Future initializeMessages(String localeName) async { var availableLocale = Intl.verifiedLocale( - localeName, - (locale) => _deferredLibraries[locale] != null, - onFailure: (_) => null, - ); + localeName, (locale) => _deferredLibraries[locale] != null, + onFailure: (_) => null); if (availableLocale == null) { - return new SynchronousFuture(false); + return new Future.value(false); } var lib = _deferredLibraries[availableLocale]; - lib == null ? new SynchronousFuture(false) : lib(); + await (lib == null ? new Future.value(false) : lib()); initializeInternalMessageLookup(() => new CompositeMessageLookup()); messageLookup.addLocale(availableLocale, _findGeneratedMessagesFor); - return new SynchronousFuture(true); + return new Future.value(true); } bool _messagesExistFor(String locale) { @@ -62,11 +59,8 @@ bool _messagesExistFor(String locale) { } MessageLookupByLibrary? _findGeneratedMessagesFor(String locale) { - var actualLocale = Intl.verifiedLocale( - locale, - _messagesExistFor, - onFailure: (_) => null, - ); + var actualLocale = + Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null); if (actualLocale == null) return null; return _findExact(actualLocale); } diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart index d54c3c65..0eee975f 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -101,1237 +101,1004 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static Map _notInlinedMessages(_) => { - "Moscow": MessageLookupByLibrary.simpleMessage("Москва"), - "Russia": MessageLookupByLibrary.simpleMessage("Россия"), - "about_diet": MessageLookupByLibrary.simpleMessage("Об этой диете"), - "about_plan": MessageLookupByLibrary.simpleMessage("Об этом плане"), - "about_recipe": MessageLookupByLibrary.simpleMessage("Об этом рецепте"), - "acc_has_been_created": MessageLookupByLibrary.simpleMessage( - "Ваш аккаунт создан. Для входа используйте этот пароль:", - ), - "acc_has_been_created_btn": MessageLookupByLibrary.simpleMessage( - "Войти в аккаунт", - ), - "accountDeleting": MessageLookupByLibrary.simpleMessage( - "Удаление аккаунта", - ), - "active": MessageLookupByLibrary.simpleMessage("Активен"), - "active_consultations_count": MessageLookupByLibrary.simpleMessage( - "Кол-во активных консультаций", - ), - "active_diet_state": MessageLookupByLibrary.simpleMessage("Активная"), - "activity_fifth_value": MessageLookupByLibrary.simpleMessage( - "1,9 — экстремальный (несколько интенсивных тренировок в день)", - ), - "activity_first_value": MessageLookupByLibrary.simpleMessage( - "1,2 — минимальный (сидячая работа, отсутствие физических нагрузок)", - ), - "activity_fourth_value": MessageLookupByLibrary.simpleMessage( - "1,7 — высокий (тренировки 30–60 мин 5–7 раза в неделю; тяжёлая физическая работа)", - ), - "activity_second_value": MessageLookupByLibrary.simpleMessage( - "1,375 — низкий (тренировки не менее 20 мин 1–3 раза в неделю)", - ), - "activity_third_value": MessageLookupByLibrary.simpleMessage( - "1,55 — умеренный (тренировки 30–60 мин 3–4 раза в неделю)", - ), - "add": MessageLookupByLibrary.simpleMessage("Добавить"), - "addAtLeastOneItem": MessageLookupByLibrary.simpleMessage( - "Добавьте хотя бы одину опцию", - ), - "add_card": MessageLookupByLibrary.simpleMessage("Привязать карту"), - "add_cover": MessageLookupByLibrary.simpleMessage("Добавьте обложку"), - "add_measure": MessageLookupByLibrary.simpleMessage("Добавить замер"), - "added_products_in_glossary": MessageLookupByLibrary.simpleMessage( - "Кол-во продуктов добавленных в глоссарий", - ), - "adding_plan": MessageLookupByLibrary.simpleMessage("Добавление плана"), - "additional_information": MessageLookupByLibrary.simpleMessage( - "Дополнительная информация", - ), - "admin": MessageLookupByLibrary.simpleMessage("Админ"), - "alcohol": MessageLookupByLibrary.simpleMessage("Алкоголь"), - "all": MessageLookupByLibrary.simpleMessage("Все"), - "allergies_presence": MessageLookupByLibrary.simpleMessage( - "Наличие аллергии", - ), - "allowAccess": MessageLookupByLibrary.simpleMessage("Разрешить доступ"), - "allowAccessToCamera": MessageLookupByLibrary.simpleMessage( - "Разрешите доступ к камере", - ), - "allowAccessToCameraDescription": MessageLookupByLibrary.simpleMessage( - "Предоставление доступа позволит вам делать фотографии и добавлять к записям", - ), - "allowAcessToGalery": MessageLookupByLibrary.simpleMessage( - "Разрешите доступ к фото", - ), - "allowAcessToGaleryDescription": MessageLookupByLibrary.simpleMessage( - "Предоставление доступа позволит вам добавлять фото к записям", - ), - "another_form_of_comment": MessageLookupByLibrary.simpleMessage( - "комментария", - ), - "another_form_of_day": MessageLookupByLibrary.simpleMessage("дня"), - "another_form_of_hour": MessageLookupByLibrary.simpleMessage("часа"), - "another_form_of_minute": MessageLookupByLibrary.simpleMessage("минут"), - "another_form_of_stage": MessageLookupByLibrary.simpleMessage("этапа"), - "answer": MessageLookupByLibrary.simpleMessage("Ответить"), - "apply": MessageLookupByLibrary.simpleMessage("Apply"), - "archived": MessageLookupByLibrary.simpleMessage("В архиве"), - "atLeast3Symbols": MessageLookupByLibrary.simpleMessage( - "Минимум 3 символа", - ), - "authentificate": MessageLookupByLibrary.simpleMessage("Войти"), - "authorization": MessageLookupByLibrary.simpleMessage("Authorization"), - "average_pressure": MessageLookupByLibrary.simpleMessage( - "Средние показатели давления:", - ), - "back_to_chat": MessageLookupByLibrary.simpleMessage("Вернуться в чат"), - "blog_post_image_min_size_error": MessageLookupByLibrary.simpleMessage( - "Минимальный размер изображения — 500×500 px", - ), - "bodymass_chart": MessageLookupByLibrary.simpleMessage("График ИМТ"), - "by_default": MessageLookupByLibrary.simpleMessage("По умолчанию"), - "calls_for_bullying": MessageLookupByLibrary.simpleMessage( - "Призывы к травле", - ), - "calories": MessageLookupByLibrary.simpleMessage("Калории"), - "can_not_choose_start_date": MessageLookupByLibrary.simpleMessage( - "Дату старта плана невозможно выбрать, пока Вы не привяжите карту", - ), - "can_not_load_data_please_try_again": MessageLookupByLibrary.simpleMessage( - "Не удалось загрузить данные. Попробуйте обновить страницу", - ), - "can_not_see_next_day": MessageLookupByLibrary.simpleMessage( - "Просмотр последующего дня возможен только при прохождении диеты", - ), - "cancel": MessageLookupByLibrary.simpleMessage("Отменить"), - "cancelConsultation": MessageLookupByLibrary.simpleMessage( - "Отменить консультацию", - ), - "cancel_diet": MessageLookupByLibrary.simpleMessage("Отменить диету?"), - "cancel_order": MessageLookupByLibrary.simpleMessage("Отменить заказ"), - "cannotDeleteAccount": MessageLookupByLibrary.simpleMessage( - "Не получилось удалить ваш аккаунт", - ), - "carb_type": MessageLookupByLibrary.simpleMessage("Мучное"), - "carb_type_desc": MessageLookupByLibrary.simpleMessage( - "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы.", - ), - "carbohydrates": MessageLookupByLibrary.simpleMessage("Углеводы"), - "changeDiet": MessageLookupByLibrary.simpleMessage("Заменить диету"), - "change_personal_diet": MessageLookupByLibrary.simpleMessage( - "Change personal diet", - ), - "chargeApproved": MessageLookupByLibrary.simpleMessage("Выплата одобрена"), - "chargeCollectionFailed": MessageLookupByLibrary.simpleMessage( - "Не удалось оформить выплату", - ), - "chat": MessageLookupByLibrary.simpleMessage("Чат"), - "check_out_video_recipe": MessageLookupByLibrary.simpleMessage( - "Посмотреть видео рецепт", - ), - "chest": MessageLookupByLibrary.simpleMessage("Грудь"), - "chest_circumference": MessageLookupByLibrary.simpleMessage("Обхват груди"), - "choose_bank_for_payment": MessageLookupByLibrary.simpleMessage( - "Выберите банк", - ), - "choose_date": MessageLookupByLibrary.simpleMessage("Выбрать дату"), - "choose_diet_duration": MessageLookupByLibrary.simpleMessage( - "Выберите срок диеты", - ), - "choose_plan_duration": MessageLookupByLibrary.simpleMessage( - "Выберите срок плана", - ), - "choose_plan_start_date": MessageLookupByLibrary.simpleMessage( - "Выберите дату старта плана питания", - ), - "choose_plan_start_date_with_personal_diet": - MessageLookupByLibrary.simpleMessage( - "Выберите дату старта плана питания с учетом составления персональной диеты", - ), - "choose_start_diet_date": MessageLookupByLibrary.simpleMessage( - "Выберите дату старты диеты. Она отобразиться у Вас в дневнике", - ), - "chosePlanType": MessageLookupByLibrary.simpleMessage("Выберите тип плана"), - "chose_plan_start_date_2": MessageLookupByLibrary.simpleMessage( - "Выберите дату старты плана. Она отобразиться в дневнике пользователя", - ), - "chosenPlanStartDateDescr": MessageLookupByLibrary.simpleMessage( - "Дату старта плана можно выбрать не ранее, чем через два. Такое ограничение дается на создание персональной диеты", - ), - "circumference_empty": MessageLookupByLibrary.simpleMessage( - "Все замеры обязательны к заполнению", - ), - "circumference_is_not_a_number": MessageLookupByLibrary.simpleMessage( - "Все замеры должны быть числами", - ), - "circumferences_chart": MessageLookupByLibrary.simpleMessage( - "График обхватов", - ), - "city": MessageLookupByLibrary.simpleMessage("Город"), - "city_of_living": MessageLookupByLibrary.simpleMessage("Город проживания"), - "collectCharge": MessageLookupByLibrary.simpleMessage("Получить выплату"), - "comfort": MessageLookupByLibrary.simpleMessage("Комфорт"), - "comment": MessageLookupByLibrary.simpleMessage("комментарий"), - "commentForMeal": MessageLookupByLibrary.simpleMessage( - "Прокомментировать прием пищи", - ), - "comment_hint": MessageLookupByLibrary.simpleMessage("Комментарий"), - "comments": MessageLookupByLibrary.simpleMessage("Комментарии"), - "comments_plural": MessageLookupByLibrary.simpleMessage("комментариев"), - "complain": MessageLookupByLibrary.simpleMessage("Пожаловаться"), - "complaint": MessageLookupByLibrary.simpleMessage("Жалоба"), - "complaint_question": MessageLookupByLibrary.simpleMessage( - "Что именно в этом материале Вы считаете неприемлемым и нарушающим правила?", - ), - "complaint_sent": MessageLookupByLibrary.simpleMessage( - "Жалоба успешно отправлена", - ), - "complaint_sent_description": MessageLookupByLibrary.simpleMessage( - "Ваше обращение принято! Мы рассмотрим его в ближайшее время и примем необходимые меры. Спасибо за вашу бдительность и помощь в улучшении нашего сервиса.", - ), - "confirm": MessageLookupByLibrary.simpleMessage("Подтвердить"), - "congratsYouHaveFinishedPlan": MessageLookupByLibrary.simpleMessage( - "Поздравляем, Вы закончили план", - ), - "congratulations": MessageLookupByLibrary.simpleMessage("Поздравляем!"), - "consultantLeftComment": m0, - "consultations_count": MessageLookupByLibrary.simpleMessage( - "Кол-во проведенных консулдьтаций", - ), - "contactSupport": MessageLookupByLibrary.simpleMessage( - "Обратитесь в поддержку", - ), - "continueButton": MessageLookupByLibrary.simpleMessage("Продолжить"), - "continue_": MessageLookupByLibrary.simpleMessage("Продолжить"), - "copied": MessageLookupByLibrary.simpleMessage("cкопирован"), - "copied2": MessageLookupByLibrary.simpleMessage("Скопировано!"), - "copy": MessageLookupByLibrary.simpleMessage("Скопировать"), - "copy_link": MessageLookupByLibrary.simpleMessage("Скопировать ссылку"), - "copy_referral_link": MessageLookupByLibrary.simpleMessage( - "Скопировать пригласительную ссылку", - ), - "couldNotCancelOrder": MessageLookupByLibrary.simpleMessage( - "Не удалось отменить заказ", - ), - "could_not_cancel_diet": MessageLookupByLibrary.simpleMessage( - "Не удалось отменить диету", - ), - "could_not_delete_blog_post": MessageLookupByLibrary.simpleMessage( - "Не удалось удалить пост", - ), - "could_not_launch_video": MessageLookupByLibrary.simpleMessage( - "Не удалось запустить видео", - ), - "could_not_publish_blog_post": MessageLookupByLibrary.simpleMessage( - "Не удалось опубликовать пост", - ), - "could_not_publish_diet": MessageLookupByLibrary.simpleMessage( - "Не удалось опубликовать диету", - ), - "could_not_publish_recipe": MessageLookupByLibrary.simpleMessage( - "Не удалось опубликовать рецепт", - ), - "could_not_send_complain": MessageLookupByLibrary.simpleMessage( - "Не удалось отправить жалобу", - ), - "could_not_update_blog_post": MessageLookupByLibrary.simpleMessage( - "Не удалось обновить пост", - ), - "could_not_update_diet": MessageLookupByLibrary.simpleMessage( - "Не удалось обновить диету", - ), - "country": MessageLookupByLibrary.simpleMessage("Страна"), - "createPersonalDiet": MessageLookupByLibrary.simpleMessage( - "Составьте персональную диету", - ), - "create_diet": MessageLookupByLibrary.simpleMessage("Создание диеты"), - "cunsutation_was_paid_successfully": MessageLookupByLibrary.simpleMessage( - "Поздравляем, консультация успешно оплачена", - ), - "customer": MessageLookupByLibrary.simpleMessage("Покупатель"), - "customer_price": MessageLookupByLibrary.simpleMessage( - "Цена для покупателя", - ), - "date_has_ben_set": MessageLookupByLibrary.simpleMessage( - "Дата старта начала консультации установлена", - ), - "date_of_birth": MessageLookupByLibrary.simpleMessage("Дата рождения"), - "date_of_birth_error": MessageLookupByLibrary.simpleMessage( - "Некорректная дата рождения", - ), - "day": MessageLookupByLibrary.simpleMessage("День"), - "dayComment": MessageLookupByLibrary.simpleMessage( - "Комментарий ко всему дню", - ), - "dayCommentTitle": MessageLookupByLibrary.simpleMessage( - "Прокомментировать день", - ), - "days": MessageLookupByLibrary.simpleMessage("дней"), - "deception": MessageLookupByLibrary.simpleMessage("Обман"), - "default_user_name": MessageLookupByLibrary.simpleMessage("User"), - "delete": MessageLookupByLibrary.simpleMessage("Удалить"), - "deleteComment": MessageLookupByLibrary.simpleMessage( - "Удалить комментарий", - ), - "deleted": MessageLookupByLibrary.simpleMessage("Удалена"), - "diary": MessageLookupByLibrary.simpleMessage("Дневник"), - "diet": MessageLookupByLibrary.simpleMessage("Диета"), - "dietSuggestion": MessageLookupByLibrary.simpleMessage("Предложение диеты"), - "diet_author": MessageLookupByLibrary.simpleMessage("Автор диеты"), - "diet_has_been_sent_to_draft": MessageLookupByLibrary.simpleMessage( - "снята с публикации и перенесена в черновик", - ), - "diet_plan": MessageLookupByLibrary.simpleMessage("План диеты"), - "diet_started": MessageLookupByLibrary.simpleMessage("Диета уже начата"), - "diet_state": MessageLookupByLibrary.simpleMessage("Статус диеты"), - "diet_type": MessageLookupByLibrary.simpleMessage("Тип диеты"), - "do_you_have_hypertension_tendency": MessageLookupByLibrary.simpleMessage( - "Есть ли у вас гипертония?", - ), - "do_you_have_hypotension_tendency": MessageLookupByLibrary.simpleMessage( - "Есть ли у вас гипотония?", - ), - "do_you_take_pills": MessageLookupByLibrary.simpleMessage( - "Принимаете ли вы лекарства или бады?", - ), - "done": MessageLookupByLibrary.simpleMessage("Завершен"), - "down_pressure": MessageLookupByLibrary.simpleMessage( - "Нижние показатели давления:", - ), - "draft": MessageLookupByLibrary.simpleMessage("Черновик"), - "drafted": MessageLookupByLibrary.simpleMessage("Черновики"), - "drugs": MessageLookupByLibrary.simpleMessage("Наркотики"), - "eating_behavior": MessageLookupByLibrary.simpleMessage( - "Пищевое поведение", - ), - "eating_behavior_type": MessageLookupByLibrary.simpleMessage( - "Формирование пищевого поведения", - ), - "eating_behavior_type_desc": MessageLookupByLibrary.simpleMessage( - "Формирование здорового пищевого поведения — это процесс, который включает в себя изменение привычек и отношения к еде. Он направлен на то, чтобы помочь людям научиться правильно питаться и поддерживать здоровый образ жизни.Основные принципы формирования здорового пищевого поведения: \n● Разнообразие продуктов; \n● Сбалансированный рацион; \n● Питьевой режим; \n● Ограничение вредных продуктов; \n● Регулярные приёмы пищи; \n● Умеренность;Осознанное питание; \n● Физическая активность;", - ), - "eatvioIsAHelthyHabbit": MessageLookupByLibrary.simpleMessage( - "Итвио — это полезная привычка", - ), - "economy": MessageLookupByLibrary.simpleMessage("Эконом"), - "edit": MessageLookupByLibrary.simpleMessage("Редактировать"), - "email": MessageLookupByLibrary.simpleMessage("Электронная почта"), - "email_empty": MessageLookupByLibrary.simpleMessage( - "Необходимо ввести адрес электронной почты", - ), - "email_error": MessageLookupByLibrary.simpleMessage( - "Некорректный адрес электронной почты", - ), - "email_invalid": MessageLookupByLibrary.simpleMessage( - "Некорректный адрес электронной почты", - ), - "end_previous_plan": MessageLookupByLibrary.simpleMessage( - "Закончите прохождение предыдущего плана", - ), - "enter_additional_information": MessageLookupByLibrary.simpleMessage( - "Введите любую дополнительную информацию на своё усмотрение:", - ), - "enter_diet_description": MessageLookupByLibrary.simpleMessage( - "Введите описание диеты", - ), - "enter_diet_name": MessageLookupByLibrary.simpleMessage( - "Выведите название диеты", - ), - "enter_information": MessageLookupByLibrary.simpleMessage( - "Введите информацию...", - ), - "enter_promo_code": MessageLookupByLibrary.simpleMessage( - "Enter promo code", - ), - "error_desc": MessageLookupByLibrary.simpleMessage( - "Произошла ошибка. Мы уже работаем над её устранением. Попробуйте позже", - ), - "exit": MessageLookupByLibrary.simpleMessage("Выйти"), - "expand": MessageLookupByLibrary.simpleMessage("Показать полностью"), - "explainResonOfCancelation": MessageLookupByLibrary.simpleMessage( - "Опишите причину отказа", - ), - "explicitImage": MessageLookupByLibrary.simpleMessage( - "Откровенное изображение", - ), - "explicitImages": MessageLookupByLibrary.simpleMessage( - "Откровенные изображения", - ), - "explicitImagesDescription": MessageLookupByLibrary.simpleMessage( - "Отправьте жалобу, если кто-то разместил откровенные изображения", - ), - "extremism": MessageLookupByLibrary.simpleMessage("Экстремизм"), - "fake_documents": MessageLookupByLibrary.simpleMessage( - "Поддельные документы", - ), - "fats": MessageLookupByLibrary.simpleMessage("Жиры"), - "favorite_foods": MessageLookupByLibrary.simpleMessage("Любимые продукты"), - "favorite_unfavorite_foods": MessageLookupByLibrary.simpleMessage( - "Ваши любимые/нелюбимые продукты питания?", - ), - "female": MessageLookupByLibrary.simpleMessage("Женский"), - "female_short": MessageLookupByLibrary.simpleMessage("Ж"), - "fillYasterday": MessageLookupByLibrary.simpleMessage( - "Заполните вчерашний день", - ), - "fill_in_information": MessageLookupByLibrary.simpleMessage( - "Заполните информацию:", - ), - "finish": MessageLookupByLibrary.simpleMessage("Завершить"), - "first_name": MessageLookupByLibrary.simpleMessage("Имя"), - "first_name_empty": MessageLookupByLibrary.simpleMessage( - "Имя обязательно для заполнения", - ), - "first_name_short": MessageLookupByLibrary.simpleMessage( - "В имени должен быть минимум 1 символ", - ), - "first_name_validation_error": MessageLookupByLibrary.simpleMessage( - "Имя обязательно к заполнению", - ), - "fit_type": MessageLookupByLibrary.simpleMessage("Поддержание формы"), - "fit_type_desc": MessageLookupByLibrary.simpleMessage( - "План питания для поддержания формы сбалансированный и разнообразный, чтобы обеспечить организм всеми необходимыми питательными веществами. Общие принципы: \n● Дробное питание; \n● Разнообразие продуктов; \n● Контроль порций; \n● Питьевой режим; \n● Ограничение вредных продуктов;", - ), - "fitness": MessageLookupByLibrary.simpleMessage("Поддержка формы"), - "for_a_month": MessageLookupByLibrary.simpleMessage("За месяц"), - "for_a_week": MessageLookupByLibrary.simpleMessage("За неделю"), - "for_a_year": MessageLookupByLibrary.simpleMessage("За год"), - "for_whole_period_of_time": MessageLookupByLibrary.simpleMessage( - "За всё время", - ), - "fourteenDays": MessageLookupByLibrary.simpleMessage("14 дней"), - "fraud": MessageLookupByLibrary.simpleMessage("Мошенничество"), - "fraud_description": MessageLookupByLibrary.simpleMessage( - "Мошенничество с целью наживы. Если вас обманули, пожалуйста, сообщите об этом в правоохранительные органы.", - ), - "from": MessageLookupByLibrary.simpleMessage("от"), - "from_a_to_z": MessageLookupByLibrary.simpleMessage("Название: А-Я"), - "from_z_to_a": MessageLookupByLibrary.simpleMessage("Название: Я-А"), - "gallery": MessageLookupByLibrary.simpleMessage("Галерея"), - "gender_error": MessageLookupByLibrary.simpleMessage("Выберите пол"), - "general_info": MessageLookupByLibrary.simpleMessage("Общая информация"), - "goToMyDiets": MessageLookupByLibrary.simpleMessage( - "Перейти к моим диетам", - ), - "go_to_diary": MessageLookupByLibrary.simpleMessage("Перейти в дневник"), - "gr": MessageLookupByLibrary.simpleMessage("гр"), - "grams": MessageLookupByLibrary.simpleMessage("гр"), - "has_alergy": MessageLookupByLibrary.simpleMessage("Наличие аллергии"), - "has_hyper": MessageLookupByLibrary.simpleMessage( - "Склонность к гипертонии", - ), - "has_hypo": MessageLookupByLibrary.simpleMessage("Склонность к гипотонии"), - "has_not_filled_it_yet": MessageLookupByLibrary.simpleMessage( - "ещё не закончил(a) этот день", - ), - "hatred": MessageLookupByLibrary.simpleMessage("Оскорбление"), - "hatred_description": MessageLookupByLibrary.simpleMessage( - "Враждебные высказывания", - ), - "have_promo_code": MessageLookupByLibrary.simpleMessage( - "Do you have a promo code?", - ), - "have_promo_code_form": MessageLookupByLibrary.simpleMessage( - "Have a promo code?", - ), - "height": MessageLookupByLibrary.simpleMessage("Рост"), - "height_error": MessageLookupByLibrary.simpleMessage("Введите рост"), - "height_measurements": MessageLookupByLibrary.simpleMessage("Замер роста"), - "hide": MessageLookupByLibrary.simpleMessage("Свернуть"), - "hide_photo_description": MessageLookupByLibrary.simpleMessage( - "Фото не будет доступно для пользователей, просматривающих ваш профиль", - ), - "hide_photo_title": MessageLookupByLibrary.simpleMessage("Спрятать фото?"), - "hip_circumference": MessageLookupByLibrary.simpleMessage("Обхват бедер"), - "hips": MessageLookupByLibrary.simpleMessage("Бедра"), - "hour": MessageLookupByLibrary.simpleMessage("час"), - "hours": MessageLookupByLibrary.simpleMessage("часов"), - "in_progress": MessageLookupByLibrary.simpleMessage("В процессе"), - "inactive_diet_state": MessageLookupByLibrary.simpleMessage("Черновик"), - "infoAboutOrder": MessageLookupByLibrary.simpleMessage( - "Информация о заказе", - ), - "ingredients": MessageLookupByLibrary.simpleMessage("Ингредиенты"), - "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( - "Количество приглашенных", - ), - "itCantBeRecovered": MessageLookupByLibrary.simpleMessage( - "Его нельзя будет восстановить", - ), - "label": MessageLookupByLibrary.simpleMessage("Название"), - "language": MessageLookupByLibrary.simpleMessage("Язык"), - "last_name": MessageLookupByLibrary.simpleMessage("Фамилия"), - "last_name_empty": MessageLookupByLibrary.simpleMessage( - "Фамилия обязательна для заполнения", - ), - "last_name_error": MessageLookupByLibrary.simpleMessage( - "Фамилия обязательна для заполнения", - ), - "last_name_short": MessageLookupByLibrary.simpleMessage( - "В фамилии должен быть минимум 6 символов", - ), - "last_step": MessageLookupByLibrary.simpleMessage("Последний шаг"), - "lawViolation": MessageLookupByLibrary.simpleMessage( - "Нарушение законодательства", - ), - "lbl_english": MessageLookupByLibrary.simpleMessage("English"), - "leaveComplainRequest": MessageLookupByLibrary.simpleMessage( - "Подать жалобу", - ), - "letsInvite": MessageLookupByLibrary.simpleMessage( - "Давайте пригласим близких в итвио", - ), - "light_type": MessageLookupByLibrary.simpleMessage("Легкая"), - "light_type_desc": MessageLookupByLibrary.simpleMessage( - "С некоторыми видами диет можно употреблять алкоголь в умеренных количествах. Рекомендуется совмещать вместе с низкокалорийными закусками.", - ), - "liked_groceries": MessageLookupByLibrary.simpleMessage("Любимые продукты"), - "link_was_copied": MessageLookupByLibrary.simpleMessage( - "Ссылка успешно скопирована", - ), - "loading": MessageLookupByLibrary.simpleMessage("Загрузка..."), - "login": MessageLookupByLibrary.simpleMessage("Войти в аккаунт"), - "lower": MessageLookupByLibrary.simpleMessage("Нижнее"), - "mail_was_copied": MessageLookupByLibrary.simpleMessage( - "Почта успешно скопирована", - ), - "male": MessageLookupByLibrary.simpleMessage("Мужской"), - "male_short": MessageLookupByLibrary.simpleMessage("М"), - "markAsRead": MessageLookupByLibrary.simpleMessage( - "Отметить всё прочитанным", - ), - "meal": MessageLookupByLibrary.simpleMessage("Приём пищи"), - "mealComment": MessageLookupByLibrary.simpleMessage( - "Комментарий к приему пищи", - ), - "meat": MessageLookupByLibrary.simpleMessage("Мясо"), - "meat_type": MessageLookupByLibrary.simpleMessage("С мясом"), - "meat_type_desc": MessageLookupByLibrary.simpleMessage( - "Диета с мясом полезная и сбалансированная. Включает в себя нежирное мясо: курицу, индейку, кролика или говядину. В сочетании с овощами получаете все необходимые витамины и минералы. Не забывайте о порциях и старайтесь есть медленно, прислушиваясь к своему организму.", - ), - "milliliter": MessageLookupByLibrary.simpleMessage("мл"), - "minPlanPrice": MessageLookupByLibrary.simpleMessage( - "Минимальная сумма 1200₽", - ), - "minimal_customer_price": MessageLookupByLibrary.simpleMessage( - "Минимальная цена для покупателя: 1200₽", - ), - "minute": MessageLookupByLibrary.simpleMessage("минута"), - "minutes": MessageLookupByLibrary.simpleMessage("минуты"), - "misrepresentation": MessageLookupByLibrary.simpleMessage( - "Введение в заблуждение", - ), - "misrepresentation_description": MessageLookupByLibrary.simpleMessage( - "Новости, которые могут вызвать широкий резонанс или несут угрозу, распространяемые с целью введения людей в заблуждение.", - ), - "moneySentToCard": MessageLookupByLibrary.simpleMessage( - "Средства отправлены на карту", - ), - "more_about_order": MessageLookupByLibrary.simpleMessage( - "Подробнее о заказе", - ), - "most_new": MessageLookupByLibrary.simpleMessage("Самые новые"), - "most_old": MessageLookupByLibrary.simpleMessage("Самые старые"), - "msg_network_err": MessageLookupByLibrary.simpleMessage("Сетевая ошибка!"), - "msg_something_went_wrong": MessageLookupByLibrary.simpleMessage( - "Что то пошло не так!", - ), - "my_blog": MessageLookupByLibrary.simpleMessage("Мой блог"), - "my_cards": MessageLookupByLibrary.simpleMessage("Мои карты"), - "my_diets": MessageLookupByLibrary.simpleMessage("Мои диеты"), - "my_plans": MessageLookupByLibrary.simpleMessage("Мои планы"), - "my_settings": MessageLookupByLibrary.simpleMessage("Мои настройки"), - "name_empty": MessageLookupByLibrary.simpleMessage( - "Имя пользователя обязательно для заполнения", - ), - "name_short": MessageLookupByLibrary.simpleMessage( - "В имени пользователя должно быть минимум 6 символов", - ), - "new_card": MessageLookupByLibrary.simpleMessage("Добавить карту"), - "next": MessageLookupByLibrary.simpleMessage("Далее"), - "nicotine": MessageLookupByLibrary.simpleMessage("Никотин"), - "no": MessageLookupByLibrary.simpleMessage("Нет"), - "no_account": MessageLookupByLibrary.simpleMessage("У меня нет аккаунта"), - "no_active_personal_diet_consultations": - MessageLookupByLibrary.simpleMessage( - "No active consultations with a personal diet", - ), - "no_default_cards": MessageLookupByLibrary.simpleMessage( - "У вас нет привязанных карт. Что бы начать работу, привяжите карту", - ), - "no_installed_banks": MessageLookupByLibrary.simpleMessage( - "Нет установленных банков", - ), - "not_liked_groceries": MessageLookupByLibrary.simpleMessage( - "Не любимые продукты", - ), - "notifications": MessageLookupByLibrary.simpleMessage("Уведомления"), - "ok": MessageLookupByLibrary.simpleMessage("Хорошо"), - "one_option": MessageLookupByLibrary.simpleMessage("1 опция"), - "option": MessageLookupByLibrary.simpleMessage("Опция"), - "option_content": MessageLookupByLibrary.simpleMessage("Содержание опции"), - "option_content_hint_text": MessageLookupByLibrary.simpleMessage( - "На связи 7 дней в неделю", - ), - "option_desc": MessageLookupByLibrary.simpleMessage("Описание опции"), - "option_desc_hint_text": MessageLookupByLibrary.simpleMessage( - "Этот план питания для похудения на 7 дней сбалансированный и разнообразный", - ), - "option_duration": MessageLookupByLibrary.simpleMessage( - "Продолжительность опции", - ), - "option_personal_diet_desc": MessageLookupByLibrary.simpleMessage( - "Опция подразумевает создание индивидуальной диеты", - ), - "option_title": MessageLookupByLibrary.simpleMessage("Заголовок опции"), - "order": MessageLookupByLibrary.simpleMessage("Порядок"), - "orderCanceled": MessageLookupByLibrary.simpleMessage("Заказ отменен"), - "order_created": MessageLookupByLibrary.simpleMessage("Заказ создан"), - "order_in_progress": MessageLookupByLibrary.simpleMessage( - "Order in progress", - ), - "order_paid": MessageLookupByLibrary.simpleMessage("Заказ оплачен"), - "order_price": MessageLookupByLibrary.simpleMessage("Сумма заказа"), - "order_status": MessageLookupByLibrary.simpleMessage("Статус заказа"), - "orederCancelation": MessageLookupByLibrary.simpleMessage("Отмена заказа"), - "other": MessageLookupByLibrary.simpleMessage("Другое"), - "other_info": MessageLookupByLibrary.simpleMessage("Прочая информация"), - "password": MessageLookupByLibrary.simpleMessage("Пароль"), - "password_confirmation": MessageLookupByLibrary.simpleMessage( - "Подтвердите пароль", - ), - "password_confirmation_mismatch": MessageLookupByLibrary.simpleMessage( - "Пароли не совпадают", - ), - "password_desc": MessageLookupByLibrary.simpleMessage( - "Сохраните его в надежном месте! Вы сможете изменить пароль в настройках профиля", - ), - "password_empty": MessageLookupByLibrary.simpleMessage( - "Пароль обязателен для заполнения", - ), - "password_short": MessageLookupByLibrary.simpleMessage( - "В пароле должно быть минимум 6 символов", - ), - "pay": MessageLookupByLibrary.simpleMessage("Оплатить"), - "pay_by_qr_code": MessageLookupByLibrary.simpleMessage( - "Оплатить по QR-коду", - ), - "payment_failed": MessageLookupByLibrary.simpleMessage("Оплата не прошла"), - "pcs": MessageLookupByLibrary.simpleMessage("шт"), - "pending_payment": MessageLookupByLibrary.simpleMessage("Ожидается оплата"), - "personal": MessageLookupByLibrary.simpleMessage("Персональные"), - "personalDietCreating": MessageLookupByLibrary.simpleMessage( - "Составление индивидуальной диеты", - ), - "personal_diet_defined_to_author": m14, - "personal_diet_defined_to_author_named": m15, - "personal_diet_duration_hint": m16, - "personal_diet_duration_mismatch": m17, - "personal_diet_not_proposed": MessageLookupByLibrary.simpleMessage( - "Personal diet not proposed", - ), - "personal_diet_proposed": MessageLookupByLibrary.simpleMessage( - "Personal diet proposed", - ), - "personal_diet_proposed_named": m18, - "personal_diet_replaces_tomorrow": MessageLookupByLibrary.simpleMessage( - "The change takes effect tomorrow", - ), - "personal_diet_set": MessageLookupByLibrary.simpleMessage( - "Персональная диета установлена", - ), - "personal_diet_state": MessageLookupByLibrary.simpleMessage("Персональная"), - "phisical_activity": MessageLookupByLibrary.simpleMessage( - "Уровень физической активности", - ), - "phone": MessageLookupByLibrary.simpleMessage("Телефон"), - "phone_error": MessageLookupByLibrary.simpleMessage( - "Некорректный номер телефона", - ), - "photo": MessageLookupByLibrary.simpleMessage("Фото"), - "physical_fitness": MessageLookupByLibrary.simpleMessage( - "Физическая форма", - ), - "place_of_living": MessageLookupByLibrary.simpleMessage("Место проживания"), - "planStarted": m19, - "planWillBeConfirmedAfterThreeDays": MessageLookupByLibrary.simpleMessage( - "Если вы не подтвердите, то план через три дня подтвердится автоматически", - ), - "planWithUserStarted": m20, - "plan_author": MessageLookupByLibrary.simpleMessage("Автор плана"), - "plan_desc": MessageLookupByLibrary.simpleMessage("Описание плана"), - "plan_desc_example": MessageLookupByLibrary.simpleMessage( - "Большое подробное, привлекательное описание плана", - ), - "plan_duration": MessageLookupByLibrary.simpleMessage("Срок плана"), - "plan_duration_label": m21, - "plan_label_desc": MessageLookupByLibrary.simpleMessage( - "План для поддержания формы", - ), - "plan_seller": MessageLookupByLibrary.simpleMessage("Продавец плана"), - "plan_type": MessageLookupByLibrary.simpleMessage("Тип плана"), - "plans_complete": MessageLookupByLibrary.simpleMessage("Пройденные планы"), - "pleaseConfirmPlan": MessageLookupByLibrary.simpleMessage( - "Просим вас подтвердить прохождение плана", - ), - "please_try_again_later": MessageLookupByLibrary.simpleMessage( - "Пожалуйста, попробуйте еще раз позже", - ), - "popular": MessageLookupByLibrary.simpleMessage("Популярные"), - "preferred_language": MessageLookupByLibrary.simpleMessage( - "Предпочитаемый язык общения", - ), - "pressure": MessageLookupByLibrary.simpleMessage("Давление"), - "pressure_empty": MessageLookupByLibrary.simpleMessage( - "Все показатели давления обязательны к заполнению", - ), - "pressure_is_not_a_number": MessageLookupByLibrary.simpleMessage( - "Все показатели давления должны быть числами", - ), - "preview": MessageLookupByLibrary.simpleMessage("Превью"), - "price": MessageLookupByLibrary.simpleMessage("Цена"), - "price_explanation": MessageLookupByLibrary.simpleMessage( - "Разница в ценах, это комиссия Итвио", - ), - "profile": MessageLookupByLibrary.simpleMessage("Профиль"), - "promo_applied_subtitle": MessageLookupByLibrary.simpleMessage( - "The discount will be applied at checkout", - ), - "promo_applied_title": MessageLookupByLibrary.simpleMessage( - "Promo code applied!", - ), - "promo_code": MessageLookupByLibrary.simpleMessage("Promo code"), - "promo_discount_hint": m22, - "promo_invalid": MessageLookupByLibrary.simpleMessage( - "Promo code not found or expired", - ), - "promo_remove": MessageLookupByLibrary.simpleMessage("Remove promo code"), - "promo_remove_failed": MessageLookupByLibrary.simpleMessage( - "Could not remove the promo code. Try again later", - ), - "prostitution": MessageLookupByLibrary.simpleMessage("Проституция"), - "proteins": MessageLookupByLibrary.simpleMessage("Белки"), - "public_diet_state": MessageLookupByLibrary.simpleMessage("Публичная"), - "publish": MessageLookupByLibrary.simpleMessage("Опубликовать"), - "published": MessageLookupByLibrary.simpleMessage("Опубликованные"), - "published_diets_count": MessageLookupByLibrary.simpleMessage( - "Кол-во опубликованных диет", - ), - "published_posts_count": MessageLookupByLibrary.simpleMessage( - "Количество опубликованных постов", - ), - "published_recipes_count": MessageLookupByLibrary.simpleMessage( - "Кол-во опубликованных рецептов", - ), - "rating_and_statistics": MessageLookupByLibrary.simpleMessage( - "Рейтинг и статистика", - ), - "rating_history": MessageLookupByLibrary.simpleMessage( - "Начисление рейтинга", - ), - "reasonExample": MessageLookupByLibrary.simpleMessage("Заказал по ошибке"), - "recipe_author": MessageLookupByLibrary.simpleMessage("Автор рецепта"), - "recipe_publishing": MessageLookupByLibrary.simpleMessage( - "Публикация рецепта", - ), - "refuse_order": MessageLookupByLibrary.simpleMessage( - "Отказаться от заказа", - ), - "register": MessageLookupByLibrary.simpleMessage("Зарегистрироваться"), - "registration_completed": MessageLookupByLibrary.simpleMessage( - "Регистрация завершена!", - ), - "removeFromActive": MessageLookupByLibrary.simpleMessage( - "Снять с публикации", - ), - "reply": MessageLookupByLibrary.simpleMessage("Ответить"), - "resend": MessageLookupByLibrary.simpleMessage("Отправить повторно"), - "save": MessageLookupByLibrary.simpleMessage("Сохранить"), - "sbp_payment_error": MessageLookupByLibrary.simpleMessage( - "Не удалось начать оплату. Попробуйте позже", - ), - "sbp_qr_amount_label": MessageLookupByLibrary.simpleMessage( - "Сумма к оплате", - ), - "sbp_qr_open_test_payment": MessageLookupByLibrary.simpleMessage( - "Открыть тестовую оплату", - ), - "sbp_qr_paid_description": MessageLookupByLibrary.simpleMessage( - "Консультация оплачена. Можно вернуться в чат.", - ), - "sbp_qr_paid_title": MessageLookupByLibrary.simpleMessage( - "Оплата прошла успешно!", - ), - "sbp_qr_step1": MessageLookupByLibrary.simpleMessage( - "Откройте приложение банка на телефоне", - ), - "sbp_qr_step2": MessageLookupByLibrary.simpleMessage( - "Выберите «Оплата по QR-коду»", - ), - "sbp_qr_step3": MessageLookupByLibrary.simpleMessage( - "Наведите камеру на код", - ), - "sbp_qr_test_hint": MessageLookupByLibrary.simpleMessage( - "Симуляция оплаты на тестовом стенде Альфа-Банка", - ), - "sbp_qr_title": MessageLookupByLibrary.simpleMessage("Оплата по QR-коду"), - "sbp_qr_waiting_payment": MessageLookupByLibrary.simpleMessage( - "Ожидание оплаты…", - ), - "send": MessageLookupByLibrary.simpleMessage("Отправить"), - "send_complain": MessageLookupByLibrary.simpleMessage("Отправить жалобу"), - "services": MessageLookupByLibrary.simpleMessage("Оказание услуг"), - "settings": MessageLookupByLibrary.simpleMessage("Настройки"), - "sex": MessageLookupByLibrary.simpleMessage("Пол"), - "share": MessageLookupByLibrary.simpleMessage("Поделиться"), - "signUpFailed": MessageLookupByLibrary.simpleMessage( - "Регистрация не удалась!", - ), - "skip": MessageLookupByLibrary.simpleMessage("Пропустить"), - "slim": MessageLookupByLibrary.simpleMessage("Похудение"), - "slim_type": MessageLookupByLibrary.simpleMessage("Похудение"), - "slim_type_desc": MessageLookupByLibrary.simpleMessage( - "План питания для похудения должен быть разработан с учётом индивидуальных особенностей организма, возраста, пола, уровня физической активности и состояния здоровья. Общие принципы: \n● Снижение калорийности; \n● Сбалансированный рацион; \n● Разнообразие продуктов; \n● Питьевой режим; \n● Ограничение вредных продуктов;", - ), - "smth_went_wrong_payment_failed": MessageLookupByLibrary.simpleMessage( - "Что-то пошло не так, оплата не прошла", - ), - "some_error_occurred": MessageLookupByLibrary.simpleMessage( - "Упс! Произошла ошибка", - ), - "some_error_occurred_description": MessageLookupByLibrary.simpleMessage( - "Произошла ошибка. Мы уже работаем над ее устранением. Попробуйте позже.", - ), - "something_went_wrong": MessageLookupByLibrary.simpleMessage( - "Упс! Что-то пошло не так", - ), - "sorry_we_did_not_find_the_plan": MessageLookupByLibrary.simpleMessage( - "Извините, план где-то потерялся, мы уже ищем его", - ), - "spam": MessageLookupByLibrary.simpleMessage("Спам"), - "spam_description": MessageLookupByLibrary.simpleMessage( - "Отправьте жалобу, если Вы заметили рекламу, размещенную в не предназначенном для этого месте.", - ), - "sport_hobbies": MessageLookupByLibrary.simpleMessage( - "Спортивные увлечения", - ), - "stage": MessageLookupByLibrary.simpleMessage("этап"), - "stages": MessageLookupByLibrary.simpleMessage("этапов"), - "standard": MessageLookupByLibrary.simpleMessage("Стандарт"), - "startDateHasBeenSet": MessageLookupByLibrary.simpleMessage( - "Выбрана дата старта", - ), - "startDiet": MessageLookupByLibrary.simpleMessage("Начать диету"), - "start_date_label": m23, - "statistic": MessageLookupByLibrary.simpleMessage("Статистика"), - "step": MessageLookupByLibrary.simpleMessage("Шаг"), - "step_by_step_photo_recipe": MessageLookupByLibrary.simpleMessage( - "Пошаговый фоторецепт", - ), - "step_widget": m24, - "successfully_published": MessageLookupByLibrary.simpleMessage( - "успешно опубликован", - ), - "suggestDiet": MessageLookupByLibrary.simpleMessage("Предложить диету"), - "suicide": MessageLookupByLibrary.simpleMessage("Склонение к самоубийству"), - "takes_pills": MessageLookupByLibrary.simpleMessage("Принимает лекарства"), - "tap_on_link_to_pay": MessageLookupByLibrary.simpleMessage( - "Перейдите по ссылке для оплаты консультации", - ), - "tell_your_schedule": MessageLookupByLibrary.simpleMessage( - "Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:", - ), - "text_was_copied": MessageLookupByLibrary.simpleMessage( - "Text copied successfully", - ), - "there_is_a_video": MessageLookupByLibrary.simpleMessage("Есть видео"), - "three_options": MessageLookupByLibrary.simpleMessage("3 опции"), - "time": MessageLookupByLibrary.simpleMessage("Время прохождения"), - "time_to_complete_plan": MessageLookupByLibrary.simpleMessage( - "Время выполнения плана", - ), - "toOffer": MessageLookupByLibrary.simpleMessage("Предложить"), - "to_draft": MessageLookupByLibrary.simpleMessage("В черновик"), - "to_order": MessageLookupByLibrary.simpleMessage("Заказать"), - "tommorowPlanWithUserWillStart": m25, - "tomorrowYourPlanWillStart": m26, - "try_again": MessageLookupByLibrary.simpleMessage("Попробовать снова"), - "try_again_2": MessageLookupByLibrary.simpleMessage("Попробуйте ещё раз"), - "typeAmoutOfReturn": MessageLookupByLibrary.simpleMessage( - "Укажите сумму которую вы хотите вернуть", - ), - "typeDayComment": MessageLookupByLibrary.simpleMessage( - "Как можно подробнее прокомментируйте дневник пользователя", - ), - "typeMealComment": MessageLookupByLibrary.simpleMessage( - "Как можно подробнее прокомментируйте прием пищи", - ), - "typePortionComment": MessageLookupByLibrary.simpleMessage( - "Прокомментируйте блюдо", - ), - "type_email": MessageLookupByLibrary.simpleMessage("Введите email"), - "type_height": MessageLookupByLibrary.simpleMessage("Введите рост"), - "type_here_your_complaint": MessageLookupByLibrary.simpleMessage( - "Напишите здесь свою жалобу", - ), - "type_weight": MessageLookupByLibrary.simpleMessage("Введите вес"), - "unfavorite_foods": MessageLookupByLibrary.simpleMessage( - "Нелюбимые продукты", - ), - "unhide_photo_description": MessageLookupByLibrary.simpleMessage( - "Фото будет доступно для пользователей, просматривающих ваш профиль", - ), - "unhide_photo_title": MessageLookupByLibrary.simpleMessage( - "Показать фото?", - ), - "up_pressure": MessageLookupByLibrary.simpleMessage( - "Верхние показатели давления:", - ), - "upper": MessageLookupByLibrary.simpleMessage("Верхнее"), - "userCanceldThePlanSubscription": m27, - "userConfirmedPlanCompletion": MessageLookupByLibrary.simpleMessage( - "Пользователь подтвердил прохождения плана. В ближайшее время Вы получите", - ), - "userConfirmedPlanCompletionWithoutSum": - MessageLookupByLibrary.simpleMessage( - "Пользователь подтвердил прохождения плана.", - ), - "userPaidThePlan": m28, - "userSubscribedToPlan": m29, - "user_authorization": MessageLookupByLibrary.simpleMessage( - "Аутентификация", - ), - "user_data": MessageLookupByLibrary.simpleMessage("Данные пользователя"), - "user_data_desc": MessageLookupByLibrary.simpleMessage( - "Эти данные нужны для корректной работы дневника питания и расчета вашей дневной нормы потребления КБЖУ", - ), - "user_info": MessageLookupByLibrary.simpleMessage("Анкета пользователя"), - "user_registration": MessageLookupByLibrary.simpleMessage( - "Регистрация пользователя", - ), - "username": MessageLookupByLibrary.simpleMessage("Имя пользователя"), - "vegan": MessageLookupByLibrary.simpleMessage("Веган."), - "vegan_type": MessageLookupByLibrary.simpleMessage("Вегетарианская"), - "vegan_type_desc": MessageLookupByLibrary.simpleMessage( - "Диета основана на потреблении растительной пищи и отказе от продуктов животного происхождения. Такой тип питания может быть разнообразным и вкусным, а также полезным для здоровья.", - ), - "video_call": MessageLookupByLibrary.simpleMessage("Video call"), - "video_call_chat": MessageLookupByLibrary.simpleMessage("Chat"), - "video_call_close": MessageLookupByLibrary.simpleMessage("Close"), - "video_call_connection_lost_message": MessageLookupByLibrary.simpleMessage( - "It looks like there is an internet issue. Tap Retry to reconnect.", - ), - "video_call_connection_lost_title": MessageLookupByLibrary.simpleMessage( - "Connection lost", - ), - "video_call_counterpart_default": MessageLookupByLibrary.simpleMessage( - "Participant", - ), - "video_call_enter": MessageLookupByLibrary.simpleMessage("Enter"), - "video_call_leave": MessageLookupByLibrary.simpleMessage("Leave"), - "video_call_mic_muted_phone_call": MessageLookupByLibrary.simpleMessage( - "Microphone is muted during the phone call", - ), - "video_call_muted_mic_warning": MessageLookupByLibrary.simpleMessage( - "Attention!\nYour microphone is muted", - ), - "video_call_notification_end": MessageLookupByLibrary.simpleMessage( - "End call", - ), - "video_call_notification_in_progress": MessageLookupByLibrary.simpleMessage( - "Call in progress", - ), - "video_call_notification_return": MessageLookupByLibrary.simpleMessage( - "Return to call", - ), - "video_call_permission_camera_description": - MessageLookupByLibrary.simpleMessage( - "Allow camera access so others can see you during the video call. If you declined, you can enable it in system settings.", - ), - "video_call_permission_camera_title": MessageLookupByLibrary.simpleMessage( - "Camera access", - ), - "video_call_permission_microphone_description": - MessageLookupByLibrary.simpleMessage( - "Allow microphone access so others can hear you during the video call. If you declined, you can enable it in system settings.", - ), - "video_call_permission_microphone_title": - MessageLookupByLibrary.simpleMessage("Microphone access"), - "video_call_poor_connection": MessageLookupByLibrary.simpleMessage( - "You have a poor internet connection", - ), - "video_call_recording_notice": MessageLookupByLibrary.simpleMessage( - "The video call will be recorded.\nThe consultation may be reviewed by Eatvio staff for quality assurance.", - ), - "video_call_recordings_card_title": MessageLookupByLibrary.simpleMessage( - "Video consultation with a nutrition specialist", - ), - "video_call_recordings_download": MessageLookupByLibrary.simpleMessage( - "Download", - ), - "video_call_recordings_download_error": - MessageLookupByLibrary.simpleMessage( - "Could not download the recording. Please try again later.", - ), - "video_call_recordings_download_success": - MessageLookupByLibrary.simpleMessage( - "Recording saved to Downloads/Itvio", - ), - "video_call_recordings_download_success_ios": - MessageLookupByLibrary.simpleMessage( - "Recording saved to the Files app", - ), - "video_call_recordings_downloading": MessageLookupByLibrary.simpleMessage( - "Downloading…", - ), - "video_call_recordings_downloading_percent": m30, - "video_call_recordings_empty": MessageLookupByLibrary.simpleMessage( - "No video consultations yet", - ), - "video_call_recordings_period_all": MessageLookupByLibrary.simpleMessage( - "All time", - ), - "video_call_recordings_period_current_month": - MessageLookupByLibrary.simpleMessage("Current month"), - "video_call_recordings_period_prev_month": - MessageLookupByLibrary.simpleMessage("Previous month"), - "video_call_recordings_period_today": MessageLookupByLibrary.simpleMessage( - "Today", - ), - "video_call_recordings_period_week": MessageLookupByLibrary.simpleMessage( - "7 days", - ), - "video_call_recordings_player_error": MessageLookupByLibrary.simpleMessage( - "Could not play the recording", - ), - "video_call_recordings_processing": MessageLookupByLibrary.simpleMessage( - "Recording is being processed…", - ), - "video_call_recordings_retention_tooltip": - MessageLookupByLibrary.simpleMessage( - "Video consultation recordings are stored on Eatvio servers for 1 year.", - ), - "video_call_recordings_title": MessageLookupByLibrary.simpleMessage( - "My consultations", - ), - "video_call_role_consultant": MessageLookupByLibrary.simpleMessage( - "Eatvio consultant", - ), - "video_call_screen_connecting_subtitle": - MessageLookupByLibrary.simpleMessage("This may take a few seconds"), - "video_call_screen_connecting_title": MessageLookupByLibrary.simpleMessage( - "Connecting to\nthe consultation", - ), - "video_call_screen_loading_title": MessageLookupByLibrary.simpleMessage( - "Loading…", - ), - "video_call_screen_reconnecting_subtitle": - MessageLookupByLibrary.simpleMessage("Check your internet and wait"), - "video_call_screen_reconnecting_title": - MessageLookupByLibrary.simpleMessage("Reconnecting"), - "video_call_sound": MessageLookupByLibrary.simpleMessage("Sound"), - "video_call_status_online": MessageLookupByLibrary.simpleMessage("Online"), - "video_call_system_interruption": MessageLookupByLibrary.simpleMessage( - "Another call or app is using audio.\nYour consultation is paused until it ends.", - ), - "video_call_try_again": MessageLookupByLibrary.simpleMessage("Retry"), - "video_call_unknown_initial": MessageLookupByLibrary.simpleMessage("?"), - "video_call_video": MessageLookupByLibrary.simpleMessage("Video"), - "video_call_you": MessageLookupByLibrary.simpleMessage("You"), - "violenceAndHostility": MessageLookupByLibrary.simpleMessage( - "Насилие и вражда", - ), - "violence_against_people_or_animal": MessageLookupByLibrary.simpleMessage( - "Насилие над людьми или животными", - ), - "waist": MessageLookupByLibrary.simpleMessage("Талия"), - "waist_circumference": MessageLookupByLibrary.simpleMessage("Обхват талии"), - "wait_for_start_day": MessageLookupByLibrary.simpleMessage( - "Ожидайте начала плана питания", - ), - "want_to_see_tomorrow": MessageLookupByLibrary.simpleMessage( - "Хотите заглянуть в будущее?", - ), - "weAreLookingFor": MessageLookupByLibrary.simpleMessage( - "Мы собираем самое большое сообщество людей, желающих вести здоровый образ жизни!", - ), - "weapon": MessageLookupByLibrary.simpleMessage("Оружие"), - "weight": MessageLookupByLibrary.simpleMessage("Вес"), - "weight_chart": MessageLookupByLibrary.simpleMessage("График веса"), - "weight_error": MessageLookupByLibrary.simpleMessage("Введите вес"), - "weight_measurements": MessageLookupByLibrary.simpleMessage("Замер веса"), - "wellness": MessageLookupByLibrary.simpleMessage("Улучшение самочувствия"), - "wellness_type": MessageLookupByLibrary.simpleMessage( - "Улучшение самочувствия", - ), - "wellness_type_desc": MessageLookupByLibrary.simpleMessage( - "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы.", - ), - "what_do_you_want_to_complaint_about": MessageLookupByLibrary.simpleMessage( - "На что Вы хотите пожаловаться?", - ), - "what_is_your_name": MessageLookupByLibrary.simpleMessage("Как вас зовут?"), - "wrong_credentials": MessageLookupByLibrary.simpleMessage( - "Неверные данные пользователя", - ), - "yes": MessageLookupByLibrary.simpleMessage("Yes"), - "youCanComplain": MessageLookupByLibrary.simpleMessage( - "Если вас что-то не устроило, вы можете подать жалобу", - ), - "youCanceledSubscriptionToPlan": m31, - "youShureYouWantToCancelOrder": MessageLookupByLibrary.simpleMessage( - "Вы уверены, что хотите отменить заказ?", - ), - "youShureYouWantToDeleteAccount": MessageLookupByLibrary.simpleMessage( - "Вы уверены, что хотите удалить аккаунт?", - ), - "youWithUs": MessageLookupByLibrary.simpleMessage("Вы с итвио уже\n"), - "you_can_not_open_this_day": MessageLookupByLibrary.simpleMessage( - "Вы не можете перейти в этот день", - ), - "you_can_not_start_plan_until_end_of_prev_one": - MessageLookupByLibrary.simpleMessage( - "Вы не можете начать план, пока не закончите прохождение предыдущего", - ), - "you_will_get": MessageLookupByLibrary.simpleMessage("Вы получите"), - "your_blood_pressure": MessageLookupByLibrary.simpleMessage( - "Ваше артериальное давление?", - ), - "your_favorite_sports": MessageLookupByLibrary.simpleMessage( - "Ваши спортивные увлечения?", - ), - "your_gender": MessageLookupByLibrary.simpleMessage("Ваш пол?"), - "your_height": MessageLookupByLibrary.simpleMessage("Ваш рост:"), - "your_last_name": MessageLookupByLibrary.simpleMessage("Ваша фамилия"), - "your_name": MessageLookupByLibrary.simpleMessage("Ваше имя"), - "your_rating": MessageLookupByLibrary.simpleMessage("Ваш рейтинг"), - "your_schedule": MessageLookupByLibrary.simpleMessage("Ваш режим дня?"), - "your_weight": MessageLookupByLibrary.simpleMessage("Ваш вес:"), - }; + "Moscow": MessageLookupByLibrary.simpleMessage("Москва"), + "Russia": MessageLookupByLibrary.simpleMessage("Россия"), + "about_diet": MessageLookupByLibrary.simpleMessage("Об этой диете"), + "about_plan": MessageLookupByLibrary.simpleMessage("Об этом плане"), + "about_recipe": MessageLookupByLibrary.simpleMessage("Об этом рецепте"), + "acc_has_been_created": MessageLookupByLibrary.simpleMessage( + "Ваш аккаунт создан. Для входа используйте этот пароль:"), + "acc_has_been_created_btn": + MessageLookupByLibrary.simpleMessage("Войти в аккаунт"), + "accountDeleting": + MessageLookupByLibrary.simpleMessage("Удаление аккаунта"), + "active": MessageLookupByLibrary.simpleMessage("Активен"), + "active_consultations_count": MessageLookupByLibrary.simpleMessage( + "Кол-во активных консультаций"), + "active_diet_state": MessageLookupByLibrary.simpleMessage("Активная"), + "activity_fifth_value": MessageLookupByLibrary.simpleMessage( + "1,9 — экстремальный (несколько интенсивных тренировок в день)"), + "activity_first_value": MessageLookupByLibrary.simpleMessage( + "1,2 — минимальный (сидячая работа, отсутствие физических нагрузок)"), + "activity_fourth_value": MessageLookupByLibrary.simpleMessage( + "1,7 — высокий (тренировки 30–60 мин 5–7 раза в неделю; тяжёлая физическая работа)"), + "activity_second_value": MessageLookupByLibrary.simpleMessage( + "1,375 — низкий (тренировки не менее 20 мин 1–3 раза в неделю)"), + "activity_third_value": MessageLookupByLibrary.simpleMessage( + "1,55 — умеренный (тренировки 30–60 мин 3–4 раза в неделю)"), + "add": MessageLookupByLibrary.simpleMessage("Добавить"), + "addAtLeastOneItem": MessageLookupByLibrary.simpleMessage( + "Добавьте хотя бы одину опцию"), + "add_card": MessageLookupByLibrary.simpleMessage("Привязать карту"), + "add_cover": MessageLookupByLibrary.simpleMessage("Добавьте обложку"), + "add_measure": MessageLookupByLibrary.simpleMessage("Добавить замер"), + "added_products_in_glossary": MessageLookupByLibrary.simpleMessage( + "Кол-во продуктов добавленных в глоссарий"), + "adding_plan": MessageLookupByLibrary.simpleMessage("Добавление плана"), + "additional_information": + MessageLookupByLibrary.simpleMessage("Дополнительная информация"), + "admin": MessageLookupByLibrary.simpleMessage("Админ"), + "alcohol": MessageLookupByLibrary.simpleMessage("Алкоголь"), + "all": MessageLookupByLibrary.simpleMessage("Все"), + "allergies_presence": + MessageLookupByLibrary.simpleMessage("Наличие аллергии"), + "allowAccess": MessageLookupByLibrary.simpleMessage("Разрешить доступ"), + "allowAccessToCamera": + MessageLookupByLibrary.simpleMessage("Разрешите доступ к камере"), + "allowAccessToCameraDescription": MessageLookupByLibrary.simpleMessage( + "Предоставление доступа позволит вам делать фотографии и добавлять к записям"), + "allowAcessToGalery": + MessageLookupByLibrary.simpleMessage("Разрешите доступ к фото"), + "allowAcessToGaleryDescription": MessageLookupByLibrary.simpleMessage( + "Предоставление доступа позволит вам добавлять фото к записям"), + "another_form_of_comment": + MessageLookupByLibrary.simpleMessage("комментария"), + "another_form_of_day": MessageLookupByLibrary.simpleMessage("дня"), + "another_form_of_hour": MessageLookupByLibrary.simpleMessage("часа"), + "another_form_of_minute": MessageLookupByLibrary.simpleMessage("минут"), + "another_form_of_stage": MessageLookupByLibrary.simpleMessage("этапа"), + "answer": MessageLookupByLibrary.simpleMessage("Ответить"), + "apply": MessageLookupByLibrary.simpleMessage("Apply"), + "archived": MessageLookupByLibrary.simpleMessage("В архиве"), + "atLeast3Symbols": + MessageLookupByLibrary.simpleMessage("Минимум 3 символа"), + "authentificate": MessageLookupByLibrary.simpleMessage("Войти"), + "authorization": MessageLookupByLibrary.simpleMessage("Authorization"), + "average_pressure": MessageLookupByLibrary.simpleMessage( + "Средние показатели давления:"), + "back_to_chat": MessageLookupByLibrary.simpleMessage("Вернуться в чат"), + "blog_post_image_min_size_error": MessageLookupByLibrary.simpleMessage( + "Минимальный размер изображения — 500×500 px"), + "bodymass_chart": MessageLookupByLibrary.simpleMessage("График ИМТ"), + "by_default": MessageLookupByLibrary.simpleMessage("По умолчанию"), + "calls_for_bullying": + MessageLookupByLibrary.simpleMessage("Призывы к травле"), + "calories": MessageLookupByLibrary.simpleMessage("Калории"), + "can_not_choose_start_date": MessageLookupByLibrary.simpleMessage( + "Дату старта плана невозможно выбрать, пока Вы не привяжите карту"), + "can_not_load_data_please_try_again": + MessageLookupByLibrary.simpleMessage( + "Не удалось загрузить данные. Попробуйте обновить страницу"), + "can_not_see_next_day": MessageLookupByLibrary.simpleMessage( + "Просмотр последующего дня возможен только при прохождении диеты"), + "cancel": MessageLookupByLibrary.simpleMessage("Отменить"), + "cancelConsultation": + MessageLookupByLibrary.simpleMessage("Отменить консультацию"), + "cancel_diet": MessageLookupByLibrary.simpleMessage("Отменить диету?"), + "cancel_order": MessageLookupByLibrary.simpleMessage("Отменить заказ"), + "cannotDeleteAccount": MessageLookupByLibrary.simpleMessage( + "Не получилось удалить ваш аккаунт"), + "carb_type": MessageLookupByLibrary.simpleMessage("Мучное"), + "carb_type_desc": MessageLookupByLibrary.simpleMessage( + "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы."), + "carbohydrates": MessageLookupByLibrary.simpleMessage("Углеводы"), + "changeDiet": MessageLookupByLibrary.simpleMessage("Заменить диету"), + "change_personal_diet": + MessageLookupByLibrary.simpleMessage("Change personal diet"), + "chargeApproved": + MessageLookupByLibrary.simpleMessage("Выплата одобрена"), + "chargeCollectionFailed": + MessageLookupByLibrary.simpleMessage("Не удалось оформить выплату"), + "chat": MessageLookupByLibrary.simpleMessage("Чат"), + "check_out_video_recipe": + MessageLookupByLibrary.simpleMessage("Посмотреть видео рецепт"), + "chest": MessageLookupByLibrary.simpleMessage("Грудь"), + "chest_circumference": + MessageLookupByLibrary.simpleMessage("Обхват груди"), + "choose_bank_for_payment": + MessageLookupByLibrary.simpleMessage("Выберите банк"), + "choose_date": MessageLookupByLibrary.simpleMessage("Выбрать дату"), + "choose_diet_duration": + MessageLookupByLibrary.simpleMessage("Выберите срок диеты"), + "choose_plan_duration": + MessageLookupByLibrary.simpleMessage("Выберите срок плана"), + "choose_plan_start_date": MessageLookupByLibrary.simpleMessage( + "Выберите дату старта плана питания"), + "choose_plan_start_date_with_personal_diet": + MessageLookupByLibrary.simpleMessage( + "Выберите дату старта плана питания с учетом составления персональной диеты"), + "choose_start_diet_date": MessageLookupByLibrary.simpleMessage( + "Выберите дату старты диеты. Она отобразиться у Вас в дневнике"), + "chosePlanType": + MessageLookupByLibrary.simpleMessage("Выберите тип плана"), + "chose_plan_start_date_2": MessageLookupByLibrary.simpleMessage( + "Выберите дату старты плана. Она отобразиться в дневнике пользователя"), + "chosenPlanStartDateDescr": MessageLookupByLibrary.simpleMessage( + "Дату старта плана можно выбрать не ранее, чем через два. Такое ограничение дается на создание персональной диеты"), + "circumference_empty": MessageLookupByLibrary.simpleMessage( + "Все замеры обязательны к заполнению"), + "circumference_is_not_a_number": MessageLookupByLibrary.simpleMessage( + "Все замеры должны быть числами"), + "circumferences_chart": + MessageLookupByLibrary.simpleMessage("График обхватов"), + "city": MessageLookupByLibrary.simpleMessage("Город"), + "city_of_living": + MessageLookupByLibrary.simpleMessage("Город проживания"), + "collectCharge": + MessageLookupByLibrary.simpleMessage("Получить выплату"), + "comfort": MessageLookupByLibrary.simpleMessage("Комфорт"), + "comment": MessageLookupByLibrary.simpleMessage("комментарий"), + "commentForMeal": MessageLookupByLibrary.simpleMessage( + "Прокомментировать прием пищи"), + "comment_hint": MessageLookupByLibrary.simpleMessage("Комментарий"), + "comments": MessageLookupByLibrary.simpleMessage("Комментарии"), + "comments_plural": MessageLookupByLibrary.simpleMessage("комментариев"), + "complain": MessageLookupByLibrary.simpleMessage("Пожаловаться"), + "complaint": MessageLookupByLibrary.simpleMessage("Жалоба"), + "complaint_question": MessageLookupByLibrary.simpleMessage( + "Что именно в этом материале Вы считаете неприемлемым и нарушающим правила?"), + "complaint_sent": + MessageLookupByLibrary.simpleMessage("Жалоба успешно отправлена"), + "complaint_sent_description": MessageLookupByLibrary.simpleMessage( + "Ваше обращение принято! Мы рассмотрим его в ближайшее время и примем необходимые меры. Спасибо за вашу бдительность и помощь в улучшении нашего сервиса."), + "confirm": MessageLookupByLibrary.simpleMessage("Подтвердить"), + "congratsYouHaveFinishedPlan": MessageLookupByLibrary.simpleMessage( + "Поздравляем, Вы закончили план"), + "congratulations": MessageLookupByLibrary.simpleMessage("Поздравляем!"), + "consultantLeftComment": m0, + "consultations_count": MessageLookupByLibrary.simpleMessage( + "Кол-во проведенных консулдьтаций"), + "contactSupport": + MessageLookupByLibrary.simpleMessage("Обратитесь в поддержку"), + "continueButton": MessageLookupByLibrary.simpleMessage("Продолжить"), + "continue_": MessageLookupByLibrary.simpleMessage("Продолжить"), + "copied": MessageLookupByLibrary.simpleMessage("cкопирован"), + "copied2": MessageLookupByLibrary.simpleMessage("Скопировано!"), + "copy": MessageLookupByLibrary.simpleMessage("Скопировать"), + "copy_link": MessageLookupByLibrary.simpleMessage("Скопировать ссылку"), + "copy_referral_link": MessageLookupByLibrary.simpleMessage( + "Скопировать пригласительную ссылку"), + "couldNotCancelOrder": + MessageLookupByLibrary.simpleMessage("Не удалось отменить заказ"), + "could_not_cancel_diet": + MessageLookupByLibrary.simpleMessage("Не удалось отменить диету"), + "could_not_delete_blog_post": + MessageLookupByLibrary.simpleMessage("Не удалось удалить пост"), + "could_not_launch_video": + MessageLookupByLibrary.simpleMessage("Не удалось запустить видео"), + "could_not_publish_blog_post": MessageLookupByLibrary.simpleMessage( + "Не удалось опубликовать пост"), + "could_not_publish_diet": MessageLookupByLibrary.simpleMessage( + "Не удалось опубликовать диету"), + "could_not_publish_recipe": MessageLookupByLibrary.simpleMessage( + "Не удалось опубликовать рецепт"), + "could_not_send_complain": + MessageLookupByLibrary.simpleMessage("Не удалось отправить жалобу"), + "could_not_update_blog_post": + MessageLookupByLibrary.simpleMessage("Не удалось обновить пост"), + "could_not_update_diet": + MessageLookupByLibrary.simpleMessage("Не удалось обновить диету"), + "country": MessageLookupByLibrary.simpleMessage("Страна"), + "createPersonalDiet": MessageLookupByLibrary.simpleMessage( + "Составьте персональную диету"), + "create_diet": MessageLookupByLibrary.simpleMessage("Создание диеты"), + "cunsutation_was_paid_successfully": + MessageLookupByLibrary.simpleMessage( + "Поздравляем, консультация успешно оплачена"), + "customer": MessageLookupByLibrary.simpleMessage("Покупатель"), + "customer_price": + MessageLookupByLibrary.simpleMessage("Цена для покупателя"), + "date_has_ben_set": MessageLookupByLibrary.simpleMessage( + "Дата старта начала консультации установлена"), + "date_of_birth": MessageLookupByLibrary.simpleMessage("Дата рождения"), + "date_of_birth_error": + MessageLookupByLibrary.simpleMessage("Некорректная дата рождения"), + "day": MessageLookupByLibrary.simpleMessage("День"), + "dayComment": + MessageLookupByLibrary.simpleMessage("Комментарий ко всему дню"), + "dayCommentTitle": + MessageLookupByLibrary.simpleMessage("Прокомментировать день"), + "days": MessageLookupByLibrary.simpleMessage("дней"), + "deception": MessageLookupByLibrary.simpleMessage("Обман"), + "default_user_name": MessageLookupByLibrary.simpleMessage("User"), + "delete": MessageLookupByLibrary.simpleMessage("Удалить"), + "deleteComment": + MessageLookupByLibrary.simpleMessage("Удалить комментарий"), + "deleted": MessageLookupByLibrary.simpleMessage("Удалена"), + "diary": MessageLookupByLibrary.simpleMessage("Дневник"), + "diet": MessageLookupByLibrary.simpleMessage("Диета"), + "dietSuggestion": + MessageLookupByLibrary.simpleMessage("Предложение диеты"), + "diet_author": MessageLookupByLibrary.simpleMessage("Автор диеты"), + "diet_has_been_sent_to_draft": MessageLookupByLibrary.simpleMessage( + "снята с публикации и перенесена в черновик"), + "diet_plan": MessageLookupByLibrary.simpleMessage("План диеты"), + "diet_started": + MessageLookupByLibrary.simpleMessage("Диета уже начата"), + "diet_state": MessageLookupByLibrary.simpleMessage("Статус диеты"), + "diet_type": MessageLookupByLibrary.simpleMessage("Тип диеты"), + "do_you_have_hypertension_tendency": + MessageLookupByLibrary.simpleMessage("Есть ли у вас гипертония?"), + "do_you_have_hypotension_tendency": + MessageLookupByLibrary.simpleMessage("Есть ли у вас гипотония?"), + "do_you_take_pills": MessageLookupByLibrary.simpleMessage( + "Принимаете ли вы лекарства или бады?"), + "done": MessageLookupByLibrary.simpleMessage("Завершен"), + "down_pressure": + MessageLookupByLibrary.simpleMessage("Нижние показатели давления:"), + "draft": MessageLookupByLibrary.simpleMessage("Черновик"), + "drafted": MessageLookupByLibrary.simpleMessage("Черновики"), + "drugs": MessageLookupByLibrary.simpleMessage("Наркотики"), + "eating_behavior": + MessageLookupByLibrary.simpleMessage("Пищевое поведение"), + "eating_behavior_type": MessageLookupByLibrary.simpleMessage( + "Формирование пищевого поведения"), + "eating_behavior_type_desc": MessageLookupByLibrary.simpleMessage( + "Формирование здорового пищевого поведения — это процесс, который включает в себя изменение привычек и отношения к еде. Он направлен на то, чтобы помочь людям научиться правильно питаться и поддерживать здоровый образ жизни.Основные принципы формирования здорового пищевого поведения: \n● Разнообразие продуктов; \n● Сбалансированный рацион; \n● Питьевой режим; \n● Ограничение вредных продуктов; \n● Регулярные приёмы пищи; \n● Умеренность;Осознанное питание; \n● Физическая активность;"), + "eatvioIsAHelthyHabbit": MessageLookupByLibrary.simpleMessage( + "Итвио — это полезная привычка"), + "economy": MessageLookupByLibrary.simpleMessage("Эконом"), + "edit": MessageLookupByLibrary.simpleMessage("Редактировать"), + "email": MessageLookupByLibrary.simpleMessage("Электронная почта"), + "email_empty": MessageLookupByLibrary.simpleMessage( + "Необходимо ввести адрес электронной почты"), + "email_error": MessageLookupByLibrary.simpleMessage( + "Некорректный адрес электронной почты"), + "email_invalid": MessageLookupByLibrary.simpleMessage( + "Некорректный адрес электронной почты"), + "end_previous_plan": MessageLookupByLibrary.simpleMessage( + "Закончите прохождение предыдущего плана"), + "enter_additional_information": MessageLookupByLibrary.simpleMessage( + "Введите любую дополнительную информацию на своё усмотрение:"), + "enter_diet_description": + MessageLookupByLibrary.simpleMessage("Введите описание диеты"), + "enter_diet_name": + MessageLookupByLibrary.simpleMessage("Выведите название диеты"), + "enter_information": + MessageLookupByLibrary.simpleMessage("Введите информацию..."), + "enter_promo_code": + MessageLookupByLibrary.simpleMessage("Enter promo code"), + "error_desc": MessageLookupByLibrary.simpleMessage( + "Произошла ошибка. Мы уже работаем над её устранением. Попробуйте позже"), + "exit": MessageLookupByLibrary.simpleMessage("Выйти"), + "expand": MessageLookupByLibrary.simpleMessage("Показать полностью"), + "explainResonOfCancelation": + MessageLookupByLibrary.simpleMessage("Опишите причину отказа"), + "explicitImage": + MessageLookupByLibrary.simpleMessage("Откровенное изображение"), + "explicitImages": + MessageLookupByLibrary.simpleMessage("Откровенные изображения"), + "explicitImagesDescription": MessageLookupByLibrary.simpleMessage( + "Отправьте жалобу, если кто-то разместил откровенные изображения"), + "extremism": MessageLookupByLibrary.simpleMessage("Экстремизм"), + "fake_documents": + MessageLookupByLibrary.simpleMessage("Поддельные документы"), + "fats": MessageLookupByLibrary.simpleMessage("Жиры"), + "favorite_foods": + MessageLookupByLibrary.simpleMessage("Любимые продукты"), + "favorite_unfavorite_foods": MessageLookupByLibrary.simpleMessage( + "Ваши любимые/нелюбимые продукты питания?"), + "female": MessageLookupByLibrary.simpleMessage("Женский"), + "female_short": MessageLookupByLibrary.simpleMessage("Ж"), + "fillYasterday": + MessageLookupByLibrary.simpleMessage("Заполните вчерашний день"), + "fill_in_information": + MessageLookupByLibrary.simpleMessage("Заполните информацию:"), + "finish": MessageLookupByLibrary.simpleMessage("Завершить"), + "first_name": MessageLookupByLibrary.simpleMessage("Имя"), + "first_name_empty": MessageLookupByLibrary.simpleMessage( + "Имя обязательно для заполнения"), + "first_name_short": MessageLookupByLibrary.simpleMessage( + "В имени должен быть минимум 1 символ"), + "first_name_validation_error": MessageLookupByLibrary.simpleMessage( + "Имя обязательно к заполнению"), + "fit_type": MessageLookupByLibrary.simpleMessage("Поддержание формы"), + "fit_type_desc": MessageLookupByLibrary.simpleMessage( + "План питания для поддержания формы сбалансированный и разнообразный, чтобы обеспечить организм всеми необходимыми питательными веществами. Общие принципы: \n● Дробное питание; \n● Разнообразие продуктов; \n● Контроль порций; \n● Питьевой режим; \n● Ограничение вредных продуктов;"), + "fitness": MessageLookupByLibrary.simpleMessage("Поддержка формы"), + "for_a_month": MessageLookupByLibrary.simpleMessage("За месяц"), + "for_a_week": MessageLookupByLibrary.simpleMessage("За неделю"), + "for_a_year": MessageLookupByLibrary.simpleMessage("За год"), + "for_whole_period_of_time": + MessageLookupByLibrary.simpleMessage("За всё время"), + "fourteenDays": MessageLookupByLibrary.simpleMessage("14 дней"), + "fraud": MessageLookupByLibrary.simpleMessage("Мошенничество"), + "fraud_description": MessageLookupByLibrary.simpleMessage( + "Мошенничество с целью наживы. Если вас обманули, пожалуйста, сообщите об этом в правоохранительные органы."), + "from": MessageLookupByLibrary.simpleMessage("от"), + "from_a_to_z": MessageLookupByLibrary.simpleMessage("Название: А-Я"), + "from_z_to_a": MessageLookupByLibrary.simpleMessage("Название: Я-А"), + "gallery": MessageLookupByLibrary.simpleMessage("Галерея"), + "gender_error": MessageLookupByLibrary.simpleMessage("Выберите пол"), + "general_info": + MessageLookupByLibrary.simpleMessage("Общая информация"), + "goToMyDiets": + MessageLookupByLibrary.simpleMessage("Перейти к моим диетам"), + "go_to_diary": + MessageLookupByLibrary.simpleMessage("Перейти в дневник"), + "gr": MessageLookupByLibrary.simpleMessage("гр"), + "grams": MessageLookupByLibrary.simpleMessage("гр"), + "has_alergy": MessageLookupByLibrary.simpleMessage("Наличие аллергии"), + "has_hyper": + MessageLookupByLibrary.simpleMessage("Склонность к гипертонии"), + "has_hypo": + MessageLookupByLibrary.simpleMessage("Склонность к гипотонии"), + "has_not_filled_it_yet": MessageLookupByLibrary.simpleMessage( + "ещё не закончил(a) этот день"), + "hatred": MessageLookupByLibrary.simpleMessage("Оскорбление"), + "hatred_description": + MessageLookupByLibrary.simpleMessage("Враждебные высказывания"), + "have_promo_code": + MessageLookupByLibrary.simpleMessage("Do you have a promo code?"), + "have_promo_code_form": + MessageLookupByLibrary.simpleMessage("Have a promo code?"), + "height": MessageLookupByLibrary.simpleMessage("Рост"), + "height_error": MessageLookupByLibrary.simpleMessage("Введите рост"), + "height_measurements": + MessageLookupByLibrary.simpleMessage("Замер роста"), + "hide": MessageLookupByLibrary.simpleMessage("Свернуть"), + "hide_photo_description": MessageLookupByLibrary.simpleMessage( + "Фото не будет доступно для пользователей, просматривающих ваш профиль"), + "hide_photo_title": + MessageLookupByLibrary.simpleMessage("Спрятать фото?"), + "hip_circumference": + MessageLookupByLibrary.simpleMessage("Обхват бедер"), + "hips": MessageLookupByLibrary.simpleMessage("Бедра"), + "hour": MessageLookupByLibrary.simpleMessage("час"), + "hours": MessageLookupByLibrary.simpleMessage("часов"), + "in_progress": MessageLookupByLibrary.simpleMessage("В процессе"), + "inactive_diet_state": MessageLookupByLibrary.simpleMessage("Черновик"), + "infoAboutOrder": + MessageLookupByLibrary.simpleMessage("Информация о заказе"), + "ingredients": MessageLookupByLibrary.simpleMessage("Ингредиенты"), + "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("Количество приглашенных"), + "itCantBeRecovered": MessageLookupByLibrary.simpleMessage( + "Его нельзя будет восстановить"), + "label": MessageLookupByLibrary.simpleMessage("Название"), + "language": MessageLookupByLibrary.simpleMessage("Язык"), + "last_name": MessageLookupByLibrary.simpleMessage("Фамилия"), + "last_name_empty": MessageLookupByLibrary.simpleMessage( + "Фамилия обязательна для заполнения"), + "last_name_error": MessageLookupByLibrary.simpleMessage( + "Фамилия обязательна для заполнения"), + "last_name_short": MessageLookupByLibrary.simpleMessage( + "В фамилии должен быть минимум 6 символов"), + "last_step": MessageLookupByLibrary.simpleMessage("Последний шаг"), + "lawViolation": + MessageLookupByLibrary.simpleMessage("Нарушение законодательства"), + "lbl_english": MessageLookupByLibrary.simpleMessage("English"), + "leaveComplainRequest": + MessageLookupByLibrary.simpleMessage("Подать жалобу"), + "letsInvite": MessageLookupByLibrary.simpleMessage( + "Давайте пригласим близких в итвио"), + "light_type": MessageLookupByLibrary.simpleMessage("Легкая"), + "light_type_desc": MessageLookupByLibrary.simpleMessage( + "С некоторыми видами диет можно употреблять алкоголь в умеренных количествах. Рекомендуется совмещать вместе с низкокалорийными закусками."), + "liked_groceries": + MessageLookupByLibrary.simpleMessage("Любимые продукты"), + "link_was_copied": + MessageLookupByLibrary.simpleMessage("Ссылка успешно скопирована"), + "loading": MessageLookupByLibrary.simpleMessage("Загрузка..."), + "login": MessageLookupByLibrary.simpleMessage("Войти в аккаунт"), + "lower": MessageLookupByLibrary.simpleMessage("Нижнее"), + "mail_was_copied": + MessageLookupByLibrary.simpleMessage("Почта успешно скопирована"), + "male": MessageLookupByLibrary.simpleMessage("Мужской"), + "male_short": MessageLookupByLibrary.simpleMessage("М"), + "markAsRead": + MessageLookupByLibrary.simpleMessage("Отметить всё прочитанным"), + "meal": MessageLookupByLibrary.simpleMessage("Приём пищи"), + "mealComment": + MessageLookupByLibrary.simpleMessage("Комментарий к приему пищи"), + "meat": MessageLookupByLibrary.simpleMessage("Мясо"), + "meat_type": MessageLookupByLibrary.simpleMessage("С мясом"), + "meat_type_desc": MessageLookupByLibrary.simpleMessage( + "Диета с мясом полезная и сбалансированная. Включает в себя нежирное мясо: курицу, индейку, кролика или говядину. В сочетании с овощами получаете все необходимые витамины и минералы. Не забывайте о порциях и старайтесь есть медленно, прислушиваясь к своему организму."), + "milliliter": MessageLookupByLibrary.simpleMessage("мл"), + "minPlanPrice": + MessageLookupByLibrary.simpleMessage("Минимальная сумма 1200₽"), + "minimal_customer_price": MessageLookupByLibrary.simpleMessage( + "Минимальная цена для покупателя: 1200₽"), + "minute": MessageLookupByLibrary.simpleMessage("минута"), + "minutes": MessageLookupByLibrary.simpleMessage("минуты"), + "misrepresentation": + MessageLookupByLibrary.simpleMessage("Введение в заблуждение"), + "misrepresentation_description": MessageLookupByLibrary.simpleMessage( + "Новости, которые могут вызвать широкий резонанс или несут угрозу, распространяемые с целью введения людей в заблуждение."), + "moneySentToCard": MessageLookupByLibrary.simpleMessage( + "Средства отправлены на карту"), + "more_about_order": + MessageLookupByLibrary.simpleMessage("Подробнее о заказе"), + "most_new": MessageLookupByLibrary.simpleMessage("Самые новые"), + "most_old": MessageLookupByLibrary.simpleMessage("Самые старые"), + "msg_network_err": + MessageLookupByLibrary.simpleMessage("Сетевая ошибка!"), + "msg_something_went_wrong": + MessageLookupByLibrary.simpleMessage("Что то пошло не так!"), + "my_blog": MessageLookupByLibrary.simpleMessage("Мой блог"), + "my_cards": MessageLookupByLibrary.simpleMessage("Мои карты"), + "my_diets": MessageLookupByLibrary.simpleMessage("Мои диеты"), + "my_plans": MessageLookupByLibrary.simpleMessage("Мои планы"), + "my_settings": MessageLookupByLibrary.simpleMessage("Мои настройки"), + "name_empty": MessageLookupByLibrary.simpleMessage( + "Имя пользователя обязательно для заполнения"), + "name_short": MessageLookupByLibrary.simpleMessage( + "В имени пользователя должно быть минимум 6 символов"), + "new_card": MessageLookupByLibrary.simpleMessage("Добавить карту"), + "next": MessageLookupByLibrary.simpleMessage("Далее"), + "nicotine": MessageLookupByLibrary.simpleMessage("Никотин"), + "no": MessageLookupByLibrary.simpleMessage("Нет"), + "no_account": + MessageLookupByLibrary.simpleMessage("У меня нет аккаунта"), + "no_active_personal_diet_consultations": + MessageLookupByLibrary.simpleMessage( + "No active consultations with a personal diet"), + "no_default_cards": MessageLookupByLibrary.simpleMessage( + "У вас нет привязанных карт. Что бы начать работу, привяжите карту"), + "no_installed_banks": + MessageLookupByLibrary.simpleMessage("Нет установленных банков"), + "not_liked_groceries": + MessageLookupByLibrary.simpleMessage("Не любимые продукты"), + "notifications": MessageLookupByLibrary.simpleMessage("Уведомления"), + "ok": MessageLookupByLibrary.simpleMessage("Хорошо"), + "one_option": MessageLookupByLibrary.simpleMessage("1 опция"), + "option": MessageLookupByLibrary.simpleMessage("Опция"), + "option_content": + MessageLookupByLibrary.simpleMessage("Содержание опции"), + "option_content_hint_text": + MessageLookupByLibrary.simpleMessage("На связи 7 дней в неделю"), + "option_desc": MessageLookupByLibrary.simpleMessage("Описание опции"), + "option_desc_hint_text": MessageLookupByLibrary.simpleMessage( + "Этот план питания для похудения на 7 дней сбалансированный и разнообразный"), + "option_duration": + MessageLookupByLibrary.simpleMessage("Продолжительность опции"), + "option_personal_diet_desc": MessageLookupByLibrary.simpleMessage( + "Опция подразумевает создание индивидуальной диеты"), + "option_title": MessageLookupByLibrary.simpleMessage("Заголовок опции"), + "order": MessageLookupByLibrary.simpleMessage("Порядок"), + "orderCanceled": MessageLookupByLibrary.simpleMessage("Заказ отменен"), + "order_created": MessageLookupByLibrary.simpleMessage("Заказ создан"), + "order_in_progress": + MessageLookupByLibrary.simpleMessage("Order in progress"), + "order_paid": MessageLookupByLibrary.simpleMessage("Заказ оплачен"), + "order_price": MessageLookupByLibrary.simpleMessage("Сумма заказа"), + "order_status": MessageLookupByLibrary.simpleMessage("Статус заказа"), + "orederCancelation": + MessageLookupByLibrary.simpleMessage("Отмена заказа"), + "other": MessageLookupByLibrary.simpleMessage("Другое"), + "other_info": MessageLookupByLibrary.simpleMessage("Прочая информация"), + "password": MessageLookupByLibrary.simpleMessage("Пароль"), + "password_confirmation": + MessageLookupByLibrary.simpleMessage("Подтвердите пароль"), + "password_confirmation_mismatch": + MessageLookupByLibrary.simpleMessage("Пароли не совпадают"), + "password_desc": MessageLookupByLibrary.simpleMessage( + "Сохраните его в надежном месте! Вы сможете изменить пароль в настройках профиля"), + "password_empty": MessageLookupByLibrary.simpleMessage( + "Пароль обязателен для заполнения"), + "password_short": MessageLookupByLibrary.simpleMessage( + "В пароле должно быть минимум 6 символов"), + "pay": MessageLookupByLibrary.simpleMessage("Оплатить"), + "pay_by_qr_code": + MessageLookupByLibrary.simpleMessage("Оплатить по QR-коду"), + "payment_failed": + MessageLookupByLibrary.simpleMessage("Оплата не прошла"), + "pcs": MessageLookupByLibrary.simpleMessage("шт"), + "pending_payment": + MessageLookupByLibrary.simpleMessage("Ожидается оплата"), + "personal": MessageLookupByLibrary.simpleMessage("Персональные"), + "personalDietCreating": MessageLookupByLibrary.simpleMessage( + "Составление индивидуальной диеты"), + "personal_diet_defined_to_author": m14, + "personal_diet_defined_to_author_named": m15, + "personal_diet_duration_hint": m16, + "personal_diet_duration_mismatch": m17, + "personal_diet_not_proposed": + MessageLookupByLibrary.simpleMessage("Personal diet not proposed"), + "personal_diet_proposed": + MessageLookupByLibrary.simpleMessage("Personal diet proposed"), + "personal_diet_proposed_named": m18, + "personal_diet_replaces_tomorrow": MessageLookupByLibrary.simpleMessage( + "The change takes effect tomorrow"), + "personal_diet_set": MessageLookupByLibrary.simpleMessage( + "Персональная диета установлена"), + "personal_diet_state": + MessageLookupByLibrary.simpleMessage("Персональная"), + "phisical_activity": MessageLookupByLibrary.simpleMessage( + "Уровень физической активности"), + "phone": MessageLookupByLibrary.simpleMessage("Телефон"), + "phone_error": + MessageLookupByLibrary.simpleMessage("Некорректный номер телефона"), + "photo": MessageLookupByLibrary.simpleMessage("Фото"), + "physical_fitness": + MessageLookupByLibrary.simpleMessage("Физическая форма"), + "place_of_living": + MessageLookupByLibrary.simpleMessage("Место проживания"), + "planStarted": m19, + "planWillBeConfirmedAfterThreeDays": MessageLookupByLibrary.simpleMessage( + "Если вы не подтвердите, то план через три дня подтвердится автоматически"), + "planWithUserStarted": m20, + "plan_author": MessageLookupByLibrary.simpleMessage("Автор плана"), + "plan_desc": MessageLookupByLibrary.simpleMessage("Описание плана"), + "plan_desc_example": MessageLookupByLibrary.simpleMessage( + "Большое подробное, привлекательное описание плана"), + "plan_duration": MessageLookupByLibrary.simpleMessage("Срок плана"), + "plan_duration_label": m21, + "plan_label_desc": + MessageLookupByLibrary.simpleMessage("План для поддержания формы"), + "plan_seller": MessageLookupByLibrary.simpleMessage("Продавец плана"), + "plan_type": MessageLookupByLibrary.simpleMessage("Тип плана"), + "plans_complete": + MessageLookupByLibrary.simpleMessage("Пройденные планы"), + "pleaseConfirmPlan": MessageLookupByLibrary.simpleMessage( + "Просим вас подтвердить прохождение плана"), + "please_try_again_later": MessageLookupByLibrary.simpleMessage( + "Пожалуйста, попробуйте еще раз позже"), + "popular": MessageLookupByLibrary.simpleMessage("Популярные"), + "preferred_language": + MessageLookupByLibrary.simpleMessage("Предпочитаемый язык общения"), + "pressure": MessageLookupByLibrary.simpleMessage("Давление"), + "pressure_empty": MessageLookupByLibrary.simpleMessage( + "Все показатели давления обязательны к заполнению"), + "pressure_is_not_a_number": MessageLookupByLibrary.simpleMessage( + "Все показатели давления должны быть числами"), + "preview": MessageLookupByLibrary.simpleMessage("Превью"), + "price": MessageLookupByLibrary.simpleMessage("Цена"), + "price_explanation": MessageLookupByLibrary.simpleMessage( + "Разница в ценах, это комиссия Итвио"), + "profile": MessageLookupByLibrary.simpleMessage("Профиль"), + "promo_applied_subtitle": MessageLookupByLibrary.simpleMessage( + "The discount will be applied at checkout"), + "promo_applied_title": + MessageLookupByLibrary.simpleMessage("Promo code applied!"), + "promo_code": MessageLookupByLibrary.simpleMessage("Promo code"), + "promo_discount_hint": m22, + "promo_invalid": MessageLookupByLibrary.simpleMessage( + "Promo code not found or expired"), + "promo_remove": + MessageLookupByLibrary.simpleMessage("Remove promo code"), + "promo_remove_failed": MessageLookupByLibrary.simpleMessage( + "Could not remove the promo code. Try again later"), + "prostitution": MessageLookupByLibrary.simpleMessage("Проституция"), + "proteins": MessageLookupByLibrary.simpleMessage("Белки"), + "public_diet_state": MessageLookupByLibrary.simpleMessage("Публичная"), + "publish": MessageLookupByLibrary.simpleMessage("Опубликовать"), + "published": MessageLookupByLibrary.simpleMessage("Опубликованные"), + "published_diets_count": + MessageLookupByLibrary.simpleMessage("Кол-во опубликованных диет"), + "published_posts_count": MessageLookupByLibrary.simpleMessage( + "Количество опубликованных постов"), + "published_recipes_count": MessageLookupByLibrary.simpleMessage( + "Кол-во опубликованных рецептов"), + "rating_and_statistics": + MessageLookupByLibrary.simpleMessage("Рейтинг и статистика"), + "rating_history": + MessageLookupByLibrary.simpleMessage("Начисление рейтинга"), + "reasonExample": + MessageLookupByLibrary.simpleMessage("Заказал по ошибке"), + "recipe_author": MessageLookupByLibrary.simpleMessage("Автор рецепта"), + "recipe_publishing": + MessageLookupByLibrary.simpleMessage("Публикация рецепта"), + "refuse_order": + MessageLookupByLibrary.simpleMessage("Отказаться от заказа"), + "register": MessageLookupByLibrary.simpleMessage("Зарегистрироваться"), + "registration_completed": + MessageLookupByLibrary.simpleMessage("Регистрация завершена!"), + "removeFromActive": + MessageLookupByLibrary.simpleMessage("Снять с публикации"), + "reply": MessageLookupByLibrary.simpleMessage("Ответить"), + "resend": MessageLookupByLibrary.simpleMessage("Отправить повторно"), + "save": MessageLookupByLibrary.simpleMessage("Сохранить"), + "sbp_payment_error": MessageLookupByLibrary.simpleMessage( + "Не удалось начать оплату. Попробуйте позже"), + "sbp_qr_amount_label": + MessageLookupByLibrary.simpleMessage("Сумма к оплате"), + "sbp_qr_open_test_payment": + MessageLookupByLibrary.simpleMessage("Открыть тестовую оплату"), + "sbp_qr_paid_description": MessageLookupByLibrary.simpleMessage( + "Консультация оплачена. Можно вернуться в чат."), + "sbp_qr_paid_title": + MessageLookupByLibrary.simpleMessage("Оплата прошла успешно!"), + "sbp_qr_step1": MessageLookupByLibrary.simpleMessage( + "Откройте приложение банка на телефоне"), + "sbp_qr_step2": MessageLookupByLibrary.simpleMessage( + "Выберите «Оплата по QR-коду»"), + "sbp_qr_step3": + MessageLookupByLibrary.simpleMessage("Наведите камеру на код"), + "sbp_qr_test_hint": MessageLookupByLibrary.simpleMessage( + "Симуляция оплаты на тестовом стенде Альфа-Банка"), + "sbp_qr_title": + MessageLookupByLibrary.simpleMessage("Оплата по QR-коду"), + "sbp_qr_waiting_payment": + MessageLookupByLibrary.simpleMessage("Ожидание оплаты…"), + "send": MessageLookupByLibrary.simpleMessage("Отправить"), + "send_complain": + MessageLookupByLibrary.simpleMessage("Отправить жалобу"), + "services": MessageLookupByLibrary.simpleMessage("Оказание услуг"), + "settings": MessageLookupByLibrary.simpleMessage("Настройки"), + "sex": MessageLookupByLibrary.simpleMessage("Пол"), + "share": MessageLookupByLibrary.simpleMessage("Поделиться"), + "signUpFailed": + MessageLookupByLibrary.simpleMessage("Регистрация не удалась!"), + "skip": MessageLookupByLibrary.simpleMessage("Пропустить"), + "slim": MessageLookupByLibrary.simpleMessage("Похудение"), + "slim_type": MessageLookupByLibrary.simpleMessage("Похудение"), + "slim_type_desc": MessageLookupByLibrary.simpleMessage( + "План питания для похудения должен быть разработан с учётом индивидуальных особенностей организма, возраста, пола, уровня физической активности и состояния здоровья. Общие принципы: \n● Снижение калорийности; \n● Сбалансированный рацион; \n● Разнообразие продуктов; \n● Питьевой режим; \n● Ограничение вредных продуктов;"), + "smth_went_wrong_payment_failed": MessageLookupByLibrary.simpleMessage( + "Что-то пошло не так, оплата не прошла"), + "some_error_occurred": + MessageLookupByLibrary.simpleMessage("Упс! Произошла ошибка"), + "some_error_occurred_description": MessageLookupByLibrary.simpleMessage( + "Произошла ошибка. Мы уже работаем над ее устранением. Попробуйте позже."), + "something_went_wrong": + MessageLookupByLibrary.simpleMessage("Упс! Что-то пошло не так"), + "sorry_we_did_not_find_the_plan": MessageLookupByLibrary.simpleMessage( + "Извините, план где-то потерялся, мы уже ищем его"), + "spam": MessageLookupByLibrary.simpleMessage("Спам"), + "spam_description": MessageLookupByLibrary.simpleMessage( + "Отправьте жалобу, если Вы заметили рекламу, размещенную в не предназначенном для этого месте."), + "sport_hobbies": + MessageLookupByLibrary.simpleMessage("Спортивные увлечения"), + "stage": MessageLookupByLibrary.simpleMessage("этап"), + "stages": MessageLookupByLibrary.simpleMessage("этапов"), + "standard": MessageLookupByLibrary.simpleMessage("Стандарт"), + "startDateHasBeenSet": + MessageLookupByLibrary.simpleMessage("Выбрана дата старта"), + "startDiet": MessageLookupByLibrary.simpleMessage("Начать диету"), + "start_date_label": m23, + "statistic": MessageLookupByLibrary.simpleMessage("Статистика"), + "step": MessageLookupByLibrary.simpleMessage("Шаг"), + "step_by_step_photo_recipe": + MessageLookupByLibrary.simpleMessage("Пошаговый фоторецепт"), + "step_widget": m24, + "successfully_published": + MessageLookupByLibrary.simpleMessage("успешно опубликован"), + "suggestDiet": MessageLookupByLibrary.simpleMessage("Предложить диету"), + "suicide": + MessageLookupByLibrary.simpleMessage("Склонение к самоубийству"), + "takes_pills": + MessageLookupByLibrary.simpleMessage("Принимает лекарства"), + "tap_on_link_to_pay": MessageLookupByLibrary.simpleMessage( + "Перейдите по ссылке для оплаты консультации"), + "tell_your_schedule": MessageLookupByLibrary.simpleMessage( + "Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:"), + "text_was_copied": + MessageLookupByLibrary.simpleMessage("Text copied successfully"), + "there_is_a_video": MessageLookupByLibrary.simpleMessage("Есть видео"), + "three_options": MessageLookupByLibrary.simpleMessage("3 опции"), + "time": MessageLookupByLibrary.simpleMessage("Время прохождения"), + "time_to_complete_plan": + MessageLookupByLibrary.simpleMessage("Время выполнения плана"), + "toOffer": MessageLookupByLibrary.simpleMessage("Предложить"), + "to_draft": MessageLookupByLibrary.simpleMessage("В черновик"), + "to_order": MessageLookupByLibrary.simpleMessage("Заказать"), + "tommorowPlanWithUserWillStart": m25, + "tomorrowYourPlanWillStart": m26, + "try_again": MessageLookupByLibrary.simpleMessage("Попробовать снова"), + "try_again_2": + MessageLookupByLibrary.simpleMessage("Попробуйте ещё раз"), + "typeAmoutOfReturn": MessageLookupByLibrary.simpleMessage( + "Укажите сумму которую вы хотите вернуть"), + "typeDayComment": MessageLookupByLibrary.simpleMessage( + "Как можно подробнее прокомментируйте дневник пользователя"), + "typeMealComment": MessageLookupByLibrary.simpleMessage( + "Как можно подробнее прокомментируйте прием пищи"), + "typePortionComment": + MessageLookupByLibrary.simpleMessage("Прокомментируйте блюдо"), + "type_email": MessageLookupByLibrary.simpleMessage("Введите email"), + "type_height": MessageLookupByLibrary.simpleMessage("Введите рост"), + "type_here_your_complaint": + MessageLookupByLibrary.simpleMessage("Напишите здесь свою жалобу"), + "type_weight": MessageLookupByLibrary.simpleMessage("Введите вес"), + "unfavorite_foods": + MessageLookupByLibrary.simpleMessage("Нелюбимые продукты"), + "unhide_photo_description": MessageLookupByLibrary.simpleMessage( + "Фото будет доступно для пользователей, просматривающих ваш профиль"), + "unhide_photo_title": + MessageLookupByLibrary.simpleMessage("Показать фото?"), + "up_pressure": MessageLookupByLibrary.simpleMessage( + "Верхние показатели давления:"), + "upper": MessageLookupByLibrary.simpleMessage("Верхнее"), + "userCanceldThePlanSubscription": m27, + "userConfirmedPlanCompletion": MessageLookupByLibrary.simpleMessage( + "Пользователь подтвердил прохождения плана. В ближайшее время Вы получите"), + "userConfirmedPlanCompletionWithoutSum": + MessageLookupByLibrary.simpleMessage( + "Пользователь подтвердил прохождения плана."), + "userPaidThePlan": m28, + "userSubscribedToPlan": m29, + "user_authorization": + MessageLookupByLibrary.simpleMessage("Аутентификация"), + "user_data": + MessageLookupByLibrary.simpleMessage("Данные пользователя"), + "user_data_desc": MessageLookupByLibrary.simpleMessage( + "Эти данные нужны для корректной работы дневника питания и расчета вашей дневной нормы потребления КБЖУ"), + "user_info": + MessageLookupByLibrary.simpleMessage("Анкета пользователя"), + "user_registration": + MessageLookupByLibrary.simpleMessage("Регистрация пользователя"), + "username": MessageLookupByLibrary.simpleMessage("Имя пользователя"), + "vegan": MessageLookupByLibrary.simpleMessage("Веган."), + "vegan_type": MessageLookupByLibrary.simpleMessage("Вегетарианская"), + "vegan_type_desc": MessageLookupByLibrary.simpleMessage( + "Диета основана на потреблении растительной пищи и отказе от продуктов животного происхождения. Такой тип питания может быть разнообразным и вкусным, а также полезным для здоровья."), + "video_call": MessageLookupByLibrary.simpleMessage("Video call"), + "video_call_chat": MessageLookupByLibrary.simpleMessage("Chat"), + "video_call_close": MessageLookupByLibrary.simpleMessage("Close"), + "video_call_connection_lost_message": MessageLookupByLibrary.simpleMessage( + "It looks like there is an internet issue. Tap Retry to reconnect."), + "video_call_connection_lost_title": + MessageLookupByLibrary.simpleMessage("Connection lost"), + "video_call_counterpart_default": + MessageLookupByLibrary.simpleMessage("Participant"), + "video_call_enter": MessageLookupByLibrary.simpleMessage("Enter"), + "video_call_leave": MessageLookupByLibrary.simpleMessage("Leave"), + "video_call_mic_muted_phone_call": MessageLookupByLibrary.simpleMessage( + "Microphone is muted during the phone call"), + "video_call_muted_mic_warning": MessageLookupByLibrary.simpleMessage( + "Attention!\nYour microphone is muted"), + "video_call_notification_end": + MessageLookupByLibrary.simpleMessage("End call"), + "video_call_notification_in_progress": + MessageLookupByLibrary.simpleMessage("Call in progress"), + "video_call_notification_return": + MessageLookupByLibrary.simpleMessage("Return to call"), + "video_call_permission_camera_description": + MessageLookupByLibrary.simpleMessage( + "Allow camera access so others can see you during the video call. If you declined, you can enable it in system settings."), + "video_call_permission_camera_title": + MessageLookupByLibrary.simpleMessage("Camera access"), + "video_call_permission_microphone_description": + MessageLookupByLibrary.simpleMessage( + "Allow microphone access so others can hear you during the video call. If you declined, you can enable it in system settings."), + "video_call_permission_microphone_title": + MessageLookupByLibrary.simpleMessage("Microphone access"), + "video_call_poor_connection": MessageLookupByLibrary.simpleMessage( + "You have a poor internet connection"), + "video_call_recording_notice": MessageLookupByLibrary.simpleMessage( + "The video call will be recorded.\nThe consultation may be reviewed by Eatvio staff for quality assurance."), + "video_call_recordings_card_title": + MessageLookupByLibrary.simpleMessage( + "Video consultation with a nutrition specialist"), + "video_call_recordings_download": + MessageLookupByLibrary.simpleMessage("Download"), + "video_call_recordings_download_error": + MessageLookupByLibrary.simpleMessage( + "Could not download the recording. Please try again later."), + "video_call_recordings_download_success": + MessageLookupByLibrary.simpleMessage( + "Recording saved to Downloads/Itvio"), + "video_call_recordings_download_success_ios": + MessageLookupByLibrary.simpleMessage( + "Recording saved to the Files app"), + "video_call_recordings_downloading": + MessageLookupByLibrary.simpleMessage("Downloading…"), + "video_call_recordings_downloading_percent": m30, + "video_call_recordings_empty": + MessageLookupByLibrary.simpleMessage("No video consultations yet"), + "video_call_recordings_period_all": + MessageLookupByLibrary.simpleMessage("All time"), + "video_call_recordings_period_current_month": + MessageLookupByLibrary.simpleMessage("Current month"), + "video_call_recordings_period_prev_month": + MessageLookupByLibrary.simpleMessage("Previous month"), + "video_call_recordings_period_today": + MessageLookupByLibrary.simpleMessage("Today"), + "video_call_recordings_period_week": + MessageLookupByLibrary.simpleMessage("7 days"), + "video_call_recordings_player_error": + MessageLookupByLibrary.simpleMessage( + "Could not play the recording"), + "video_call_recordings_processing": + MessageLookupByLibrary.simpleMessage( + "Recording is being processed…"), + "video_call_recordings_retention_tooltip": + MessageLookupByLibrary.simpleMessage( + "Video consultation recordings are stored on Eatvio servers for 1 year."), + "video_call_recordings_title": + MessageLookupByLibrary.simpleMessage("My consultations"), + "video_call_role_consultant": + MessageLookupByLibrary.simpleMessage("Eatvio consultant"), + "video_call_screen_connecting_subtitle": + MessageLookupByLibrary.simpleMessage("This may take a few seconds"), + "video_call_screen_connecting_title": + MessageLookupByLibrary.simpleMessage( + "Connecting to\nthe consultation"), + "video_call_screen_loading_title": + MessageLookupByLibrary.simpleMessage("Loading…"), + "video_call_screen_reconnecting_subtitle": + MessageLookupByLibrary.simpleMessage( + "Check your internet and wait"), + "video_call_screen_reconnecting_title": + MessageLookupByLibrary.simpleMessage("Reconnecting"), + "video_call_sound": MessageLookupByLibrary.simpleMessage("Sound"), + "video_call_status_online": + MessageLookupByLibrary.simpleMessage("Online"), + "video_call_system_interruption": MessageLookupByLibrary.simpleMessage( + "Another call or app is using audio.\nYour consultation is paused until it ends."), + "video_call_try_again": MessageLookupByLibrary.simpleMessage("Retry"), + "video_call_unknown_initial": MessageLookupByLibrary.simpleMessage("?"), + "video_call_video": MessageLookupByLibrary.simpleMessage("Video"), + "video_call_you": MessageLookupByLibrary.simpleMessage("You"), + "violenceAndHostility": + MessageLookupByLibrary.simpleMessage("Насилие и вражда"), + "violence_against_people_or_animal": + MessageLookupByLibrary.simpleMessage( + "Насилие над людьми или животными"), + "waist": MessageLookupByLibrary.simpleMessage("Талия"), + "waist_circumference": + MessageLookupByLibrary.simpleMessage("Обхват талии"), + "wait_for_start_day": MessageLookupByLibrary.simpleMessage( + "Ожидайте начала плана питания"), + "want_to_see_tomorrow": + MessageLookupByLibrary.simpleMessage("Хотите заглянуть в будущее?"), + "weAreLookingFor": MessageLookupByLibrary.simpleMessage( + "Мы собираем самое большое сообщество людей, желающих вести здоровый образ жизни!"), + "weapon": MessageLookupByLibrary.simpleMessage("Оружие"), + "weight": MessageLookupByLibrary.simpleMessage("Вес"), + "weight_chart": MessageLookupByLibrary.simpleMessage("График веса"), + "weight_error": MessageLookupByLibrary.simpleMessage("Введите вес"), + "weight_measurements": + MessageLookupByLibrary.simpleMessage("Замер веса"), + "wellness": + MessageLookupByLibrary.simpleMessage("Улучшение самочувствия"), + "wellness_type": + MessageLookupByLibrary.simpleMessage("Улучшение самочувствия"), + "wellness_type_desc": MessageLookupByLibrary.simpleMessage( + "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы."), + "what_do_you_want_to_complaint_about": + MessageLookupByLibrary.simpleMessage( + "На что Вы хотите пожаловаться?"), + "what_is_your_name": + MessageLookupByLibrary.simpleMessage("Как вас зовут?"), + "wrong_credentials": MessageLookupByLibrary.simpleMessage( + "Неверные данные пользователя"), + "yes": MessageLookupByLibrary.simpleMessage("Yes"), + "youCanComplain": MessageLookupByLibrary.simpleMessage( + "Если вас что-то не устроило, вы можете подать жалобу"), + "youCanceledSubscriptionToPlan": m31, + "youShureYouWantToCancelOrder": MessageLookupByLibrary.simpleMessage( + "Вы уверены, что хотите отменить заказ?"), + "youShureYouWantToDeleteAccount": MessageLookupByLibrary.simpleMessage( + "Вы уверены, что хотите удалить аккаунт?"), + "youWithUs": MessageLookupByLibrary.simpleMessage("Вы с итвио уже\n"), + "you_can_not_open_this_day": MessageLookupByLibrary.simpleMessage( + "Вы не можете перейти в этот день"), + "you_can_not_start_plan_until_end_of_prev_one": + MessageLookupByLibrary.simpleMessage( + "Вы не можете начать план, пока не закончите прохождение предыдущего"), + "you_will_get": MessageLookupByLibrary.simpleMessage("Вы получите"), + "your_blood_pressure": + MessageLookupByLibrary.simpleMessage("Ваше артериальное давление?"), + "your_favorite_sports": + MessageLookupByLibrary.simpleMessage("Ваши спортивные увлечения?"), + "your_gender": MessageLookupByLibrary.simpleMessage("Ваш пол?"), + "your_height": MessageLookupByLibrary.simpleMessage("Ваш рост:"), + "your_last_name": MessageLookupByLibrary.simpleMessage("Ваша фамилия"), + "your_name": MessageLookupByLibrary.simpleMessage("Ваше имя"), + "your_rating": MessageLookupByLibrary.simpleMessage("Ваш рейтинг"), + "your_schedule": MessageLookupByLibrary.simpleMessage("Ваш режим дня?"), + "your_weight": MessageLookupByLibrary.simpleMessage("Ваш вес:") + }; } diff --git a/lib/generated/intl/messages_ru.dart b/lib/generated/intl/messages_ru.dart index cd2d772c..05005328 100644 --- a/lib/generated/intl/messages_ru.dart +++ b/lib/generated/intl/messages_ru.dart @@ -75,717 +75,601 @@ class MessageLookup extends MessageLookupByLibrary { final messages = _notInlinedMessages(_notInlinedMessages); static Map _notInlinedMessages(_) => { - "Moscow": MessageLookupByLibrary.simpleMessage("Москва"), - "Russia": MessageLookupByLibrary.simpleMessage("Россия"), - "about_diet": MessageLookupByLibrary.simpleMessage("Об этой диете"), - "about_plan": MessageLookupByLibrary.simpleMessage("Об этом плане"), - "active": MessageLookupByLibrary.simpleMessage("Активен"), - "active_diet_state": MessageLookupByLibrary.simpleMessage("Активная"), - "add": MessageLookupByLibrary.simpleMessage("Добавить"), - "add_cover": MessageLookupByLibrary.simpleMessage("Добавьте обложку"), - "add_measure": MessageLookupByLibrary.simpleMessage("Добавить замер"), - "adding_plan": MessageLookupByLibrary.simpleMessage("Добавление плана"), - "additional_information": MessageLookupByLibrary.simpleMessage( - "Дополнительная информация", - ), - "admin": MessageLookupByLibrary.simpleMessage("Админ"), - "all": MessageLookupByLibrary.simpleMessage("Все"), - "allergies_presence": MessageLookupByLibrary.simpleMessage( - "Наличие аллергии", - ), - "another_form_of_comment": MessageLookupByLibrary.simpleMessage( - "комментария", - ), - "another_form_of_day": MessageLookupByLibrary.simpleMessage("дня"), - "answer": MessageLookupByLibrary.simpleMessage("Ответить"), - "apply": MessageLookupByLibrary.simpleMessage("Применить"), - "archived": MessageLookupByLibrary.simpleMessage("В архиве"), - "authentificate": MessageLookupByLibrary.simpleMessage("Войти"), - "authorization": MessageLookupByLibrary.simpleMessage("Авторизация"), - "average_pressure": MessageLookupByLibrary.simpleMessage( - "Средние показатели давления:", - ), - "blog_post_image_min_size_error": MessageLookupByLibrary.simpleMessage( - "Минимальный размер изображения — 500×500 px", - ), - "bodymass_chart": MessageLookupByLibrary.simpleMessage("График ИМТ"), - "by_default": MessageLookupByLibrary.simpleMessage("По умолчанию"), - "calories": MessageLookupByLibrary.simpleMessage("Калории"), - "carb_type": MessageLookupByLibrary.simpleMessage("Мучное"), - "carb_type_desc": MessageLookupByLibrary.simpleMessage( - "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы.", - ), - "carbohydrates": MessageLookupByLibrary.simpleMessage("Углеводы"), - "changeDiet": MessageLookupByLibrary.simpleMessage("Заменить диету"), - "change_personal_diet": MessageLookupByLibrary.simpleMessage( - "Заменить диету", - ), - "chat": MessageLookupByLibrary.simpleMessage("Чат"), - "chest": MessageLookupByLibrary.simpleMessage("Грудь"), - "chest_circumference": MessageLookupByLibrary.simpleMessage("Обхват груди"), - "choose_bank_for_payment": MessageLookupByLibrary.simpleMessage( - "Выберите банк", - ), - "choose_diet_duration": MessageLookupByLibrary.simpleMessage( - "Выберите срок диеты", - ), - "choose_plan_duration": MessageLookupByLibrary.simpleMessage( - "Выберите срок плана", - ), - "choose_plan_start_date_with_personal_diet": - MessageLookupByLibrary.simpleMessage( - "Выберите дату старта плана питания с учетом составления персональной диеты", - ), - "choose_start_diet_date": MessageLookupByLibrary.simpleMessage( - "Выберите дату старты диеты. Она отобразиться у Вас в дневнике", - ), - "circumference_empty": MessageLookupByLibrary.simpleMessage( - "Все замеры обязательны к заполнению", - ), - "circumference_is_not_a_number": MessageLookupByLibrary.simpleMessage( - "Все замеры должны быть числами", - ), - "circumferences_chart": MessageLookupByLibrary.simpleMessage( - "График обхватов", - ), - "city": MessageLookupByLibrary.simpleMessage("Город"), - "city_of_living": MessageLookupByLibrary.simpleMessage("Город проживания"), - "comfort": MessageLookupByLibrary.simpleMessage("Комфорт"), - "comment": MessageLookupByLibrary.simpleMessage("комментарий"), - "comment_hint": MessageLookupByLibrary.simpleMessage("Комментарий"), - "comments": MessageLookupByLibrary.simpleMessage("Комментарии"), - "comments_plural": MessageLookupByLibrary.simpleMessage("комментариев"), - "complain": MessageLookupByLibrary.simpleMessage("Пожаловаться"), - "continueButton": MessageLookupByLibrary.simpleMessage("Продолжить"), - "continue_": MessageLookupByLibrary.simpleMessage("Продолжить"), - "copied": MessageLookupByLibrary.simpleMessage("cкопирован"), - "copy_link": MessageLookupByLibrary.simpleMessage("Скопировать ссылку"), - "country": MessageLookupByLibrary.simpleMessage("Страна"), - "create_diet": MessageLookupByLibrary.simpleMessage("Создание диеты"), - "customer_price": MessageLookupByLibrary.simpleMessage( - "Цена для покупателя", - ), - "date_of_birth": MessageLookupByLibrary.simpleMessage("Дата рождения"), - "day": MessageLookupByLibrary.simpleMessage("День"), - "days": MessageLookupByLibrary.simpleMessage("дней"), - "default_user_name": MessageLookupByLibrary.simpleMessage("Пользователь"), - "deleted": MessageLookupByLibrary.simpleMessage("Удалена"), - "diary": MessageLookupByLibrary.simpleMessage("Дневник"), - "diet": MessageLookupByLibrary.simpleMessage("Диета"), - "diet_author": MessageLookupByLibrary.simpleMessage("Автор диеты"), - "diet_plan": MessageLookupByLibrary.simpleMessage("План диеты"), - "diet_state": MessageLookupByLibrary.simpleMessage("Статус диеты"), - "diet_type": MessageLookupByLibrary.simpleMessage("Тип диеты"), - "do_you_have_hypertension_tendency": MessageLookupByLibrary.simpleMessage( - "Есть ли у вас гипертония?", - ), - "do_you_have_hypotension_tendency": MessageLookupByLibrary.simpleMessage( - "Есть ли у вас гипотония?", - ), - "do_you_take_pills": MessageLookupByLibrary.simpleMessage( - "Принимаете ли вы лекарства или бады?", - ), - "done": MessageLookupByLibrary.simpleMessage("Завершен"), - "down_pressure": MessageLookupByLibrary.simpleMessage( - "Нижние показатели давления:", - ), - "draft": MessageLookupByLibrary.simpleMessage("Черновик"), - "drafted": MessageLookupByLibrary.simpleMessage("Черновики"), - "eating_behavior": MessageLookupByLibrary.simpleMessage( - "Пищевое поведение", - ), - "eating_behavior_type": MessageLookupByLibrary.simpleMessage( - "Формирование пищевого поведения", - ), - "eating_behavior_type_desc": MessageLookupByLibrary.simpleMessage( - "Формирование здорового пищевого поведения — это процесс, который включает в себя изменение привычек и отношения к еде. Он направлен на то, чтобы помочь людям научиться правильно питаться и поддерживать здоровый образ жизни.Основные принципы формирования здорового пищевого поведения: \n● Разнообразие продуктов; \n● Сбалансированный рацион; \n● Питьевой режим; \n● Ограничение вредных продуктов; \n● Регулярные приёмы пищи; \n● Умеренность;Осознанное питание; \n● Физическая активность;", - ), - "economy": MessageLookupByLibrary.simpleMessage("Эконом"), - "edit": MessageLookupByLibrary.simpleMessage("Редактировать"), - "email": MessageLookupByLibrary.simpleMessage("Электронная почта"), - "email_empty": MessageLookupByLibrary.simpleMessage( - "Необходимо ввести адрес электронной почты", - ), - "email_invalid": MessageLookupByLibrary.simpleMessage( - "Некорректный адрес электронной почты", - ), - "enter_additional_information": MessageLookupByLibrary.simpleMessage( - "Введите любую дополнительную информацию на своё усмотрение:", - ), - "enter_diet_description": MessageLookupByLibrary.simpleMessage( - "Введите описание диеты", - ), - "enter_diet_name": MessageLookupByLibrary.simpleMessage( - "Выведите название диеты", - ), - "enter_information": MessageLookupByLibrary.simpleMessage( - "Введите информацию...", - ), - "enter_promo_code": MessageLookupByLibrary.simpleMessage( - "Введите промокод", - ), - "exit": MessageLookupByLibrary.simpleMessage("Выйти"), - "expand": MessageLookupByLibrary.simpleMessage("Показать полностью"), - "fats": MessageLookupByLibrary.simpleMessage("Жиры"), - "favorite_foods": MessageLookupByLibrary.simpleMessage("Любимые продукты"), - "favorite_unfavorite_foods": MessageLookupByLibrary.simpleMessage( - "Ваши любимые/нелюбимые продукты питания?", - ), - "female": MessageLookupByLibrary.simpleMessage("Женский"), - "fill_in_information": MessageLookupByLibrary.simpleMessage( - "Заполните информацию:", - ), - "finish": MessageLookupByLibrary.simpleMessage("Завершить"), - "first_name": MessageLookupByLibrary.simpleMessage("Имя"), - "first_name_empty": MessageLookupByLibrary.simpleMessage( - "Имя обязательно для заполнения", - ), - "first_name_short": MessageLookupByLibrary.simpleMessage( - "В имени должен быть минимум 1 символ", - ), - "fit_type": MessageLookupByLibrary.simpleMessage("Поддержание формы"), - "fit_type_desc": MessageLookupByLibrary.simpleMessage( - "План питания для поддержания формы сбалансированный и разнообразный, чтобы обеспечить организм всеми необходимыми питательными веществами. Общие принципы: \n● Дробное питание; \n● Разнообразие продуктов; \n● Контроль порций; \n● Питьевой режим; \n● Ограничение вредных продуктов;", - ), - "fitness": MessageLookupByLibrary.simpleMessage("Поддержка формы"), - "from": MessageLookupByLibrary.simpleMessage("от"), - "from_a_to_z": MessageLookupByLibrary.simpleMessage("Название: А-Я"), - "from_z_to_a": MessageLookupByLibrary.simpleMessage("Название: Я-А"), - "gallery": MessageLookupByLibrary.simpleMessage("Галерея"), - "goToMyDiets": MessageLookupByLibrary.simpleMessage( - "Перейти к моим диетам", - ), - "gr": MessageLookupByLibrary.simpleMessage("гр"), - "grams": MessageLookupByLibrary.simpleMessage("гр"), - "have_promo_code": MessageLookupByLibrary.simpleMessage( - "У вас есть промокод?", - ), - "have_promo_code_form": MessageLookupByLibrary.simpleMessage( - "Есть промокод?", - ), - "height_measurements": MessageLookupByLibrary.simpleMessage("Замер роста"), - "hide": MessageLookupByLibrary.simpleMessage("Свернуть"), - "hip_circumference": MessageLookupByLibrary.simpleMessage("Обхват бедер"), - "hips": MessageLookupByLibrary.simpleMessage("Бедра"), - "in_progress": MessageLookupByLibrary.simpleMessage("В процессе"), - "inactive_diet_state": MessageLookupByLibrary.simpleMessage("Черновик"), - "infoAboutOrder": MessageLookupByLibrary.simpleMessage( - "Информация о заказе", - ), - "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("Фамилия"), - "last_name_empty": MessageLookupByLibrary.simpleMessage( - "Фамилия обязательна для заполнения", - ), - "last_name_short": MessageLookupByLibrary.simpleMessage( - "В фамилии должен быть минимум 6 символов", - ), - "lbl_english": MessageLookupByLibrary.simpleMessage("English"), - "light_type": MessageLookupByLibrary.simpleMessage("Легкая"), - "light_type_desc": MessageLookupByLibrary.simpleMessage( - "С некоторыми видами диет можно употреблять алкоголь в умеренных количествах. Рекомендуется совмещать вместе с низкокалорийными закусками.", - ), - "link_was_copied": MessageLookupByLibrary.simpleMessage( - "Ссылка успешно скопирована", - ), - "loading": MessageLookupByLibrary.simpleMessage("Загрузка..."), - "mail_was_copied": MessageLookupByLibrary.simpleMessage( - "Почта успешно скопирована", - ), - "male": MessageLookupByLibrary.simpleMessage("Мужской"), - "meal": MessageLookupByLibrary.simpleMessage("Приём пищи"), - "meat": MessageLookupByLibrary.simpleMessage("Мясо"), - "meat_type": MessageLookupByLibrary.simpleMessage("С мясом"), - "meat_type_desc": MessageLookupByLibrary.simpleMessage( - "Диета с мясом полезная и сбалансированная. Включает в себя нежирное мясо: курицу, индейку, кролика или говядину. В сочетании с овощами получаете все необходимые витамины и минералы. Не забывайте о порциях и старайтесь есть медленно, прислушиваясь к своему организму.", - ), - "milliliter": MessageLookupByLibrary.simpleMessage("мл"), - "minimal_customer_price": MessageLookupByLibrary.simpleMessage( - "Минимальная цена для покупателя: 1200₽", - ), - "most_new": MessageLookupByLibrary.simpleMessage("Самые новые"), - "most_old": MessageLookupByLibrary.simpleMessage("Самые старые"), - "msg_network_err": MessageLookupByLibrary.simpleMessage("Сетевая ошибка!"), - "msg_something_went_wrong": MessageLookupByLibrary.simpleMessage( - "Что то пошло не так!", - ), - "my_blog": MessageLookupByLibrary.simpleMessage("Мой блог"), - "my_diets": MessageLookupByLibrary.simpleMessage("Мои диеты"), - "my_plans": MessageLookupByLibrary.simpleMessage("Мои планы"), - "my_settings": MessageLookupByLibrary.simpleMessage("Мои настройки"), - "name_empty": MessageLookupByLibrary.simpleMessage( - "Имя пользователя обязательно для заполнения", - ), - "name_short": MessageLookupByLibrary.simpleMessage( - "В имени пользователя должно быть минимум 6 символов", - ), - "no": MessageLookupByLibrary.simpleMessage("Нет"), - "no_account": MessageLookupByLibrary.simpleMessage("У меня нет аккаунта"), - "no_active_personal_diet_consultations": - MessageLookupByLibrary.simpleMessage( - "Нет активных консультаций с персональной диетой", - ), - "no_installed_banks": MessageLookupByLibrary.simpleMessage( - "Нет установленных банков", - ), - "notifications": MessageLookupByLibrary.simpleMessage("Уведомления"), - "one_option": MessageLookupByLibrary.simpleMessage("1 опция"), - "option": MessageLookupByLibrary.simpleMessage("Опция"), - "option_content": MessageLookupByLibrary.simpleMessage("Содержание опции"), - "option_content_hint_text": MessageLookupByLibrary.simpleMessage( - "На связи 7 дней в неделю", - ), - "option_desc": MessageLookupByLibrary.simpleMessage("Описание опции"), - "option_desc_hint_text": MessageLookupByLibrary.simpleMessage( - "Этот план питания для похудения на 7 дней сбалансированный и разнообразный", - ), - "option_duration": MessageLookupByLibrary.simpleMessage( - "Продолжительность опции", - ), - "option_personal_diet_desc": MessageLookupByLibrary.simpleMessage( - "Опция подразумевает создание индивидуальной диеты", - ), - "option_title": MessageLookupByLibrary.simpleMessage("Заголовок опции"), - "order": MessageLookupByLibrary.simpleMessage("Порядок"), - "orderCanceled": MessageLookupByLibrary.simpleMessage("Заказ отменен"), - "order_in_progress": MessageLookupByLibrary.simpleMessage("Заказ в работе"), - "order_paid": MessageLookupByLibrary.simpleMessage("Заказ оплачен"), - "password": MessageLookupByLibrary.simpleMessage("Пароль"), - "password_confirmation": MessageLookupByLibrary.simpleMessage( - "Подтвердите пароль", - ), - "password_confirmation_mismatch": MessageLookupByLibrary.simpleMessage( - "Пароли не совпадают", - ), - "password_empty": MessageLookupByLibrary.simpleMessage( - "Пароль обязателен для заполнения", - ), - "password_short": MessageLookupByLibrary.simpleMessage( - "В пароле должно быть минимум 6 символов", - ), - "pay_by_qr_code": MessageLookupByLibrary.simpleMessage( - "Оплатить по QR-коду", - ), - "payment_failed": MessageLookupByLibrary.simpleMessage("Оплата не прошла"), - "pcs": MessageLookupByLibrary.simpleMessage("шт"), - "personal": MessageLookupByLibrary.simpleMessage("Персональные"), - "personal_diet_defined_to_author": m14, - "personal_diet_defined_to_author_named": m15, - "personal_diet_duration_hint": m16, - "personal_diet_duration_mismatch": m17, - "personal_diet_not_proposed": MessageLookupByLibrary.simpleMessage( - "Диета не предложена", - ), - "personal_diet_proposed": MessageLookupByLibrary.simpleMessage( - "Диета предложена", - ), - "personal_diet_proposed_named": m18, - "personal_diet_replaces_tomorrow": MessageLookupByLibrary.simpleMessage( - "Замена действует со следующего дня", - ), - "personal_diet_set": MessageLookupByLibrary.simpleMessage( - "Персональная диета установлена", - ), - "personal_diet_state": MessageLookupByLibrary.simpleMessage("Персональная"), - "photo": MessageLookupByLibrary.simpleMessage("Фото"), - "place_of_living": MessageLookupByLibrary.simpleMessage("Место проживания"), - "plan_author": MessageLookupByLibrary.simpleMessage("Автор плана"), - "plan_desc": MessageLookupByLibrary.simpleMessage("Описание плана"), - "plan_desc_example": MessageLookupByLibrary.simpleMessage( - "Большое подробное, привлекательное описание плана", - ), - "plan_duration": MessageLookupByLibrary.simpleMessage("Срок плана"), - "plan_duration_label": m21, - "plan_label_desc": MessageLookupByLibrary.simpleMessage( - "План для поддержания формы", - ), - "plans_complete": MessageLookupByLibrary.simpleMessage("Пройденные планы"), - "popular": MessageLookupByLibrary.simpleMessage("Популярные"), - "preferred_language": MessageLookupByLibrary.simpleMessage( - "Предпочитаемый язык общения", - ), - "pressure_empty": MessageLookupByLibrary.simpleMessage( - "Все показатели давления обязательны к заполнению", - ), - "pressure_is_not_a_number": MessageLookupByLibrary.simpleMessage( - "Все показатели давления должны быть числами", - ), - "preview": MessageLookupByLibrary.simpleMessage("Превью"), - "price": MessageLookupByLibrary.simpleMessage("Цена"), - "price_explanation": MessageLookupByLibrary.simpleMessage( - "Разница в ценах, это комиссия Итвио", - ), - "profile": MessageLookupByLibrary.simpleMessage("Профиль"), - "promo_applied_subtitle": MessageLookupByLibrary.simpleMessage( - "Скидка учтётся при оплате", - ), - "promo_applied_title": MessageLookupByLibrary.simpleMessage( - "Промокод применён!", - ), - "promo_code": MessageLookupByLibrary.simpleMessage("Промокод"), - "promo_discount_hint": m22, - "promo_invalid": MessageLookupByLibrary.simpleMessage( - "Промокод не найден или истёк", - ), - "promo_remove": MessageLookupByLibrary.simpleMessage("Убрать промокод"), - "promo_remove_failed": MessageLookupByLibrary.simpleMessage( - "Не удалось убрать промокод. Попробуйте позже", - ), - "proteins": MessageLookupByLibrary.simpleMessage("Белки"), - "public_diet_state": MessageLookupByLibrary.simpleMessage("Публичная"), - "publish": MessageLookupByLibrary.simpleMessage("Опубликовать"), - "published": MessageLookupByLibrary.simpleMessage("Опубликованные"), - "removeFromActive": MessageLookupByLibrary.simpleMessage( - "Снять с публикации", - ), - "save": MessageLookupByLibrary.simpleMessage("Сохранить"), - "sbp_payment_error": MessageLookupByLibrary.simpleMessage( - "Не удалось начать оплату. Попробуйте позже", - ), - "sbp_qr_amount_label": MessageLookupByLibrary.simpleMessage( - "Сумма к оплате", - ), - "sbp_qr_open_test_payment": MessageLookupByLibrary.simpleMessage( - "Открыть тестовую оплату", - ), - "sbp_qr_paid_description": MessageLookupByLibrary.simpleMessage( - "Консультация оплачена. Можно вернуться в чат.", - ), - "sbp_qr_paid_title": MessageLookupByLibrary.simpleMessage( - "Оплата прошла успешно!", - ), - "sbp_qr_step1": MessageLookupByLibrary.simpleMessage( - "Откройте приложение банка на телефоне", - ), - "sbp_qr_step2": MessageLookupByLibrary.simpleMessage( - "Выберите «Оплата по QR-коду»", - ), - "sbp_qr_step3": MessageLookupByLibrary.simpleMessage( - "Наведите камеру на код", - ), - "sbp_qr_test_hint": MessageLookupByLibrary.simpleMessage( - "Симуляция оплаты на тестовом стенде Альфа-Банка", - ), - "sbp_qr_title": MessageLookupByLibrary.simpleMessage("Оплата по QR-коду"), - "sbp_qr_waiting_payment": MessageLookupByLibrary.simpleMessage( - "Ожидание оплаты…", - ), - "services": MessageLookupByLibrary.simpleMessage("Оказание услуг"), - "settings": MessageLookupByLibrary.simpleMessage("Настройки"), - "share": MessageLookupByLibrary.simpleMessage("Поделиться"), - "skip": MessageLookupByLibrary.simpleMessage("Пропустить"), - "slim": MessageLookupByLibrary.simpleMessage("Похудение"), - "slim_type": MessageLookupByLibrary.simpleMessage("Похудение"), - "slim_type_desc": MessageLookupByLibrary.simpleMessage( - "План питания для похудения должен быть разработан с учётом индивидуальных особенностей организма, возраста, пола, уровня физической активности и состояния здоровья. Общие принципы: \n● Снижение калорийности; \n● Сбалансированный рацион; \n● Разнообразие продуктов; \n● Питьевой режим; \n● Ограничение вредных продуктов;", - ), - "standard": MessageLookupByLibrary.simpleMessage("Стандарт"), - "startDateHasBeenSet": MessageLookupByLibrary.simpleMessage( - "Выбрана дата старта", - ), - "startDiet": MessageLookupByLibrary.simpleMessage("Начать диету"), - "start_date_label": m23, - "suggestDiet": MessageLookupByLibrary.simpleMessage("Предложить диету"), - "tell_your_schedule": MessageLookupByLibrary.simpleMessage( - "Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:", - ), - "text_was_copied": MessageLookupByLibrary.simpleMessage( - "Текст успешно скопирован", - ), - "three_options": MessageLookupByLibrary.simpleMessage("3 опции"), - "toOffer": MessageLookupByLibrary.simpleMessage("Предложить"), - "to_draft": MessageLookupByLibrary.simpleMessage("В черновик"), - "unfavorite_foods": MessageLookupByLibrary.simpleMessage( - "Нелюбимые продукты", - ), - "up_pressure": MessageLookupByLibrary.simpleMessage( - "Верхние показатели давления:", - ), - "user_authorization": MessageLookupByLibrary.simpleMessage( - "Аутентификация", - ), - "user_data": MessageLookupByLibrary.simpleMessage("Данные пользователя"), - "user_registration": MessageLookupByLibrary.simpleMessage( - "Регистрация пользователя", - ), - "username": MessageLookupByLibrary.simpleMessage("Имя пользователя"), - "vegan": MessageLookupByLibrary.simpleMessage("Веган."), - "vegan_type": MessageLookupByLibrary.simpleMessage("Вегетарианская"), - "vegan_type_desc": MessageLookupByLibrary.simpleMessage( - "Диета основана на потреблении растительной пищи и отказе от продуктов животного происхождения. Такой тип питания может быть разнообразным и вкусным, а также полезным для здоровья.", - ), - "video_call": MessageLookupByLibrary.simpleMessage("Видеозвонок"), - "video_call_chat": MessageLookupByLibrary.simpleMessage("Чат"), - "video_call_close": MessageLookupByLibrary.simpleMessage("Закрыть"), - "video_call_connection_lost_message": MessageLookupByLibrary.simpleMessage( - "Похоже, возникли проблемы с интернетом. Нажмите «Повторить», чтобы переподключиться.", - ), - "video_call_connection_lost_title": MessageLookupByLibrary.simpleMessage( - "Связь прервалась", - ), - "video_call_counterpart_default": MessageLookupByLibrary.simpleMessage( - "Собеседник", - ), - "video_call_enter": MessageLookupByLibrary.simpleMessage("Войти"), - "video_call_leave": MessageLookupByLibrary.simpleMessage("Выйти"), - "video_call_mic_muted_phone_call": MessageLookupByLibrary.simpleMessage( - "Микрофон выключен на время телефонного звонка", - ), - "video_call_muted_mic_warning": MessageLookupByLibrary.simpleMessage( - "Внимание!\nУ вас выключен микрофон", - ), - "video_call_notification_end": MessageLookupByLibrary.simpleMessage( - "Завершить звонок", - ), - "video_call_notification_in_progress": MessageLookupByLibrary.simpleMessage( - "Звонок идёт", - ), - "video_call_notification_return": MessageLookupByLibrary.simpleMessage( - "Вернуться к звонку", - ), - "video_call_permission_camera_description": - MessageLookupByLibrary.simpleMessage( - "Чтобы вас видели во время видеозвонка, разрешите доступ к камере. При отказе можно включить доступ в настройках устройства.", - ), - "video_call_permission_camera_title": MessageLookupByLibrary.simpleMessage( - "Доступ к камере", - ), - "video_call_permission_microphone_description": - MessageLookupByLibrary.simpleMessage( - "Чтобы вас слышали во время видеозвонка, разрешите доступ к микрофону. При отказе можно включить доступ в настройках устройства.", - ), - "video_call_permission_microphone_title": - MessageLookupByLibrary.simpleMessage("Доступ к микрофону"), - "video_call_poor_connection": MessageLookupByLibrary.simpleMessage( - "У вас плохое интернет соединение", - ), - "video_call_recording_notice": MessageLookupByLibrary.simpleMessage( - "Видеозвонок будет записан.\nКонсультация может быть проверена сотрудниками Итвио, на предмет качества оказания услуг.", - ), - "video_call_recordings_card_title": MessageLookupByLibrary.simpleMessage( - "Видеоконсультация со специалистом по питанию", - ), - "video_call_recordings_download": MessageLookupByLibrary.simpleMessage( - "Скачать", - ), - "video_call_recordings_download_error": - MessageLookupByLibrary.simpleMessage( - "Не удалось скачать запись. Попробуйте позже.", - ), - "video_call_recordings_download_success": - MessageLookupByLibrary.simpleMessage( - "Запись сохранена в Загрузки/Itvio", - ), - "video_call_recordings_download_success_ios": - MessageLookupByLibrary.simpleMessage( - "Запись сохранена в приложении «Файлы»", - ), - "video_call_recordings_downloading": MessageLookupByLibrary.simpleMessage( - "Скачивание…", - ), - "video_call_recordings_downloading_percent": m30, - "video_call_recordings_empty": MessageLookupByLibrary.simpleMessage( - "Пока нет видеоконсультаций", - ), - "video_call_recordings_period_all": MessageLookupByLibrary.simpleMessage( - "Всё время", - ), - "video_call_recordings_period_current_month": - MessageLookupByLibrary.simpleMessage("Текущий месяц"), - "video_call_recordings_period_prev_month": - MessageLookupByLibrary.simpleMessage("Прошлый месяц"), - "video_call_recordings_period_today": MessageLookupByLibrary.simpleMessage( - "Сегодня", - ), - "video_call_recordings_period_week": MessageLookupByLibrary.simpleMessage( - "7 дней", - ), - "video_call_recordings_player_error": MessageLookupByLibrary.simpleMessage( - "Не удалось воспроизвести запись", - ), - "video_call_recordings_processing": MessageLookupByLibrary.simpleMessage( - "Запись обрабатывается…", - ), - "video_call_recordings_retention_tooltip": - MessageLookupByLibrary.simpleMessage( - "Записи видеоконсультаций хранятся на серверах Итвио в течение 1 года.", - ), - "video_call_recordings_title": MessageLookupByLibrary.simpleMessage( - "Мои консультации", - ), - "video_call_role_consultant": MessageLookupByLibrary.simpleMessage( - "Консультант Итвио", - ), - "video_call_screen_connecting_subtitle": - MessageLookupByLibrary.simpleMessage("Это займёт несколько секунд"), - "video_call_screen_connecting_title": MessageLookupByLibrary.simpleMessage( - "Подключение\nк консультации", - ), - "video_call_screen_loading_title": MessageLookupByLibrary.simpleMessage( - "Загрузка…", - ), - "video_call_screen_reconnecting_subtitle": - MessageLookupByLibrary.simpleMessage("Проверьте интернет и подождите"), - "video_call_screen_reconnecting_title": - MessageLookupByLibrary.simpleMessage("Восстанавливаем соединение"), - "video_call_sound": MessageLookupByLibrary.simpleMessage("Звук"), - "video_call_status_online": MessageLookupByLibrary.simpleMessage("Онлайн"), - "video_call_system_interruption": MessageLookupByLibrary.simpleMessage( - "Другой звонок или приложение использует аудио.\nКонсультация приостановлена до его завершения.", - ), - "video_call_try_again": MessageLookupByLibrary.simpleMessage("Повторить"), - "video_call_unknown_initial": MessageLookupByLibrary.simpleMessage("?"), - "video_call_video": MessageLookupByLibrary.simpleMessage("Видео"), - "video_call_you": MessageLookupByLibrary.simpleMessage("Вы"), - "waist": MessageLookupByLibrary.simpleMessage("Талия"), - "waist_circumference": MessageLookupByLibrary.simpleMessage("Обхват талии"), - "weight": MessageLookupByLibrary.simpleMessage("Вес"), - "weight_chart": MessageLookupByLibrary.simpleMessage("График веса"), - "weight_measurements": MessageLookupByLibrary.simpleMessage("Замер веса"), - "wellness": MessageLookupByLibrary.simpleMessage("Улучшение самочувствия"), - "wellness_type": MessageLookupByLibrary.simpleMessage( - "Улучшение самочувствия", - ), - "wellness_type_desc": MessageLookupByLibrary.simpleMessage( - "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы.", - ), - "what_is_your_name": MessageLookupByLibrary.simpleMessage("Как вас зовут?"), - "wrong_credentials": MessageLookupByLibrary.simpleMessage( - "Неверные данные пользователя", - ), - "yes": MessageLookupByLibrary.simpleMessage("Да"), - "you_will_get": MessageLookupByLibrary.simpleMessage("Вы получите"), - "your_blood_pressure": MessageLookupByLibrary.simpleMessage( - "Ваше артериальное давление?", - ), - "your_favorite_sports": MessageLookupByLibrary.simpleMessage( - "Ваши спортивные увлечения?", - ), - "your_gender": MessageLookupByLibrary.simpleMessage("Ваш пол?"), - "your_height": MessageLookupByLibrary.simpleMessage("Ваш рост:"), - "your_schedule": MessageLookupByLibrary.simpleMessage("Ваш режим дня?"), - "your_weight": MessageLookupByLibrary.simpleMessage("Ваш вес:"), - }; + "Moscow": MessageLookupByLibrary.simpleMessage("Москва"), + "Russia": MessageLookupByLibrary.simpleMessage("Россия"), + "about_diet": MessageLookupByLibrary.simpleMessage("Об этой диете"), + "about_plan": MessageLookupByLibrary.simpleMessage("Об этом плане"), + "active": MessageLookupByLibrary.simpleMessage("Активен"), + "active_diet_state": MessageLookupByLibrary.simpleMessage("Активная"), + "add": MessageLookupByLibrary.simpleMessage("Добавить"), + "add_cover": MessageLookupByLibrary.simpleMessage("Добавьте обложку"), + "add_measure": MessageLookupByLibrary.simpleMessage("Добавить замер"), + "adding_plan": MessageLookupByLibrary.simpleMessage("Добавление плана"), + "additional_information": + MessageLookupByLibrary.simpleMessage("Дополнительная информация"), + "admin": MessageLookupByLibrary.simpleMessage("Админ"), + "all": MessageLookupByLibrary.simpleMessage("Все"), + "allergies_presence": + MessageLookupByLibrary.simpleMessage("Наличие аллергии"), + "another_form_of_comment": + MessageLookupByLibrary.simpleMessage("комментария"), + "another_form_of_day": MessageLookupByLibrary.simpleMessage("дня"), + "answer": MessageLookupByLibrary.simpleMessage("Ответить"), + "apply": MessageLookupByLibrary.simpleMessage("Применить"), + "archived": MessageLookupByLibrary.simpleMessage("В архиве"), + "authentificate": MessageLookupByLibrary.simpleMessage("Войти"), + "authorization": MessageLookupByLibrary.simpleMessage("Авторизация"), + "average_pressure": MessageLookupByLibrary.simpleMessage( + "Средние показатели давления:"), + "blog_post_image_min_size_error": MessageLookupByLibrary.simpleMessage( + "Минимальный размер изображения — 500×500 px"), + "bodymass_chart": MessageLookupByLibrary.simpleMessage("График ИМТ"), + "by_default": MessageLookupByLibrary.simpleMessage("По умолчанию"), + "calories": MessageLookupByLibrary.simpleMessage("Калории"), + "carb_type": MessageLookupByLibrary.simpleMessage("Мучное"), + "carb_type_desc": MessageLookupByLibrary.simpleMessage( + "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы."), + "carbohydrates": MessageLookupByLibrary.simpleMessage("Углеводы"), + "changeDiet": MessageLookupByLibrary.simpleMessage("Заменить диету"), + "change_personal_diet": + MessageLookupByLibrary.simpleMessage("Заменить диету"), + "chat": MessageLookupByLibrary.simpleMessage("Чат"), + "chest": MessageLookupByLibrary.simpleMessage("Грудь"), + "chest_circumference": + MessageLookupByLibrary.simpleMessage("Обхват груди"), + "choose_bank_for_payment": + MessageLookupByLibrary.simpleMessage("Выберите банк"), + "choose_diet_duration": + MessageLookupByLibrary.simpleMessage("Выберите срок диеты"), + "choose_plan_duration": + MessageLookupByLibrary.simpleMessage("Выберите срок плана"), + "choose_plan_start_date_with_personal_diet": + MessageLookupByLibrary.simpleMessage( + "Выберите дату старта плана питания с учетом составления персональной диеты"), + "choose_start_diet_date": MessageLookupByLibrary.simpleMessage( + "Выберите дату старты диеты. Она отобразиться у Вас в дневнике"), + "circumference_empty": MessageLookupByLibrary.simpleMessage( + "Все замеры обязательны к заполнению"), + "circumference_is_not_a_number": MessageLookupByLibrary.simpleMessage( + "Все замеры должны быть числами"), + "circumferences_chart": + MessageLookupByLibrary.simpleMessage("График обхватов"), + "city": MessageLookupByLibrary.simpleMessage("Город"), + "city_of_living": + MessageLookupByLibrary.simpleMessage("Город проживания"), + "comfort": MessageLookupByLibrary.simpleMessage("Комфорт"), + "comment": MessageLookupByLibrary.simpleMessage("комментарий"), + "comment_hint": MessageLookupByLibrary.simpleMessage("Комментарий"), + "comments": MessageLookupByLibrary.simpleMessage("Комментарии"), + "comments_plural": MessageLookupByLibrary.simpleMessage("комментариев"), + "complain": MessageLookupByLibrary.simpleMessage("Пожаловаться"), + "continueButton": MessageLookupByLibrary.simpleMessage("Продолжить"), + "continue_": MessageLookupByLibrary.simpleMessage("Продолжить"), + "copied": MessageLookupByLibrary.simpleMessage("cкопирован"), + "copy_link": MessageLookupByLibrary.simpleMessage("Скопировать ссылку"), + "country": MessageLookupByLibrary.simpleMessage("Страна"), + "create_diet": MessageLookupByLibrary.simpleMessage("Создание диеты"), + "customer_price": + MessageLookupByLibrary.simpleMessage("Цена для покупателя"), + "date_of_birth": MessageLookupByLibrary.simpleMessage("Дата рождения"), + "day": MessageLookupByLibrary.simpleMessage("День"), + "days": MessageLookupByLibrary.simpleMessage("дней"), + "default_user_name": + MessageLookupByLibrary.simpleMessage("Пользователь"), + "deleted": MessageLookupByLibrary.simpleMessage("Удалена"), + "diary": MessageLookupByLibrary.simpleMessage("Дневник"), + "diet": MessageLookupByLibrary.simpleMessage("Диета"), + "diet_author": MessageLookupByLibrary.simpleMessage("Автор диеты"), + "diet_plan": MessageLookupByLibrary.simpleMessage("План диеты"), + "diet_state": MessageLookupByLibrary.simpleMessage("Статус диеты"), + "diet_type": MessageLookupByLibrary.simpleMessage("Тип диеты"), + "do_you_have_hypertension_tendency": + MessageLookupByLibrary.simpleMessage("Есть ли у вас гипертония?"), + "do_you_have_hypotension_tendency": + MessageLookupByLibrary.simpleMessage("Есть ли у вас гипотония?"), + "do_you_take_pills": MessageLookupByLibrary.simpleMessage( + "Принимаете ли вы лекарства или бады?"), + "done": MessageLookupByLibrary.simpleMessage("Завершен"), + "down_pressure": + MessageLookupByLibrary.simpleMessage("Нижние показатели давления:"), + "draft": MessageLookupByLibrary.simpleMessage("Черновик"), + "drafted": MessageLookupByLibrary.simpleMessage("Черновики"), + "eating_behavior": + MessageLookupByLibrary.simpleMessage("Пищевое поведение"), + "eating_behavior_type": MessageLookupByLibrary.simpleMessage( + "Формирование пищевого поведения"), + "eating_behavior_type_desc": MessageLookupByLibrary.simpleMessage( + "Формирование здорового пищевого поведения — это процесс, который включает в себя изменение привычек и отношения к еде. Он направлен на то, чтобы помочь людям научиться правильно питаться и поддерживать здоровый образ жизни.Основные принципы формирования здорового пищевого поведения: \n● Разнообразие продуктов; \n● Сбалансированный рацион; \n● Питьевой режим; \n● Ограничение вредных продуктов; \n● Регулярные приёмы пищи; \n● Умеренность;Осознанное питание; \n● Физическая активность;"), + "economy": MessageLookupByLibrary.simpleMessage("Эконом"), + "edit": MessageLookupByLibrary.simpleMessage("Редактировать"), + "email": MessageLookupByLibrary.simpleMessage("Электронная почта"), + "email_empty": MessageLookupByLibrary.simpleMessage( + "Необходимо ввести адрес электронной почты"), + "email_invalid": MessageLookupByLibrary.simpleMessage( + "Некорректный адрес электронной почты"), + "enter_additional_information": MessageLookupByLibrary.simpleMessage( + "Введите любую дополнительную информацию на своё усмотрение:"), + "enter_diet_description": + MessageLookupByLibrary.simpleMessage("Введите описание диеты"), + "enter_diet_name": + MessageLookupByLibrary.simpleMessage("Выведите название диеты"), + "enter_information": + MessageLookupByLibrary.simpleMessage("Введите информацию..."), + "enter_promo_code": + MessageLookupByLibrary.simpleMessage("Введите промокод"), + "exit": MessageLookupByLibrary.simpleMessage("Выйти"), + "expand": MessageLookupByLibrary.simpleMessage("Показать полностью"), + "fats": MessageLookupByLibrary.simpleMessage("Жиры"), + "favorite_foods": + MessageLookupByLibrary.simpleMessage("Любимые продукты"), + "favorite_unfavorite_foods": MessageLookupByLibrary.simpleMessage( + "Ваши любимые/нелюбимые продукты питания?"), + "female": MessageLookupByLibrary.simpleMessage("Женский"), + "fill_in_information": + MessageLookupByLibrary.simpleMessage("Заполните информацию:"), + "finish": MessageLookupByLibrary.simpleMessage("Завершить"), + "first_name": MessageLookupByLibrary.simpleMessage("Имя"), + "first_name_empty": MessageLookupByLibrary.simpleMessage( + "Имя обязательно для заполнения"), + "first_name_short": MessageLookupByLibrary.simpleMessage( + "В имени должен быть минимум 1 символ"), + "fit_type": MessageLookupByLibrary.simpleMessage("Поддержание формы"), + "fit_type_desc": MessageLookupByLibrary.simpleMessage( + "План питания для поддержания формы сбалансированный и разнообразный, чтобы обеспечить организм всеми необходимыми питательными веществами. Общие принципы: \n● Дробное питание; \n● Разнообразие продуктов; \n● Контроль порций; \n● Питьевой режим; \n● Ограничение вредных продуктов;"), + "fitness": MessageLookupByLibrary.simpleMessage("Поддержка формы"), + "from": MessageLookupByLibrary.simpleMessage("от"), + "from_a_to_z": MessageLookupByLibrary.simpleMessage("Название: А-Я"), + "from_z_to_a": MessageLookupByLibrary.simpleMessage("Название: Я-А"), + "gallery": MessageLookupByLibrary.simpleMessage("Галерея"), + "goToMyDiets": + MessageLookupByLibrary.simpleMessage("Перейти к моим диетам"), + "gr": MessageLookupByLibrary.simpleMessage("гр"), + "grams": MessageLookupByLibrary.simpleMessage("гр"), + "have_promo_code": + MessageLookupByLibrary.simpleMessage("У вас есть промокод?"), + "have_promo_code_form": + MessageLookupByLibrary.simpleMessage("Есть промокод?"), + "height_measurements": + MessageLookupByLibrary.simpleMessage("Замер роста"), + "hide": MessageLookupByLibrary.simpleMessage("Свернуть"), + "hip_circumference": + MessageLookupByLibrary.simpleMessage("Обхват бедер"), + "hips": MessageLookupByLibrary.simpleMessage("Бедра"), + "in_progress": MessageLookupByLibrary.simpleMessage("В процессе"), + "inactive_diet_state": MessageLookupByLibrary.simpleMessage("Черновик"), + "infoAboutOrder": + MessageLookupByLibrary.simpleMessage("Информация о заказе"), + "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("Фамилия"), + "last_name_empty": MessageLookupByLibrary.simpleMessage( + "Фамилия обязательна для заполнения"), + "last_name_short": MessageLookupByLibrary.simpleMessage( + "В фамилии должен быть минимум 6 символов"), + "lbl_english": MessageLookupByLibrary.simpleMessage("English"), + "light_type": MessageLookupByLibrary.simpleMessage("Легкая"), + "light_type_desc": MessageLookupByLibrary.simpleMessage( + "С некоторыми видами диет можно употреблять алкоголь в умеренных количествах. Рекомендуется совмещать вместе с низкокалорийными закусками."), + "link_was_copied": + MessageLookupByLibrary.simpleMessage("Ссылка успешно скопирована"), + "loading": MessageLookupByLibrary.simpleMessage("Загрузка..."), + "mail_was_copied": + MessageLookupByLibrary.simpleMessage("Почта успешно скопирована"), + "male": MessageLookupByLibrary.simpleMessage("Мужской"), + "meal": MessageLookupByLibrary.simpleMessage("Приём пищи"), + "meat": MessageLookupByLibrary.simpleMessage("Мясо"), + "meat_type": MessageLookupByLibrary.simpleMessage("С мясом"), + "meat_type_desc": MessageLookupByLibrary.simpleMessage( + "Диета с мясом полезная и сбалансированная. Включает в себя нежирное мясо: курицу, индейку, кролика или говядину. В сочетании с овощами получаете все необходимые витамины и минералы. Не забывайте о порциях и старайтесь есть медленно, прислушиваясь к своему организму."), + "milliliter": MessageLookupByLibrary.simpleMessage("мл"), + "minimal_customer_price": MessageLookupByLibrary.simpleMessage( + "Минимальная цена для покупателя: 1200₽"), + "most_new": MessageLookupByLibrary.simpleMessage("Самые новые"), + "most_old": MessageLookupByLibrary.simpleMessage("Самые старые"), + "msg_network_err": + MessageLookupByLibrary.simpleMessage("Сетевая ошибка!"), + "msg_something_went_wrong": + MessageLookupByLibrary.simpleMessage("Что то пошло не так!"), + "my_blog": MessageLookupByLibrary.simpleMessage("Мой блог"), + "my_diets": MessageLookupByLibrary.simpleMessage("Мои диеты"), + "my_plans": MessageLookupByLibrary.simpleMessage("Мои планы"), + "my_settings": MessageLookupByLibrary.simpleMessage("Мои настройки"), + "name_empty": MessageLookupByLibrary.simpleMessage( + "Имя пользователя обязательно для заполнения"), + "name_short": MessageLookupByLibrary.simpleMessage( + "В имени пользователя должно быть минимум 6 символов"), + "no": MessageLookupByLibrary.simpleMessage("Нет"), + "no_account": + MessageLookupByLibrary.simpleMessage("У меня нет аккаунта"), + "no_active_personal_diet_consultations": + MessageLookupByLibrary.simpleMessage( + "Нет активных консультаций с персональной диетой"), + "no_installed_banks": + MessageLookupByLibrary.simpleMessage("Нет установленных банков"), + "notifications": MessageLookupByLibrary.simpleMessage("Уведомления"), + "one_option": MessageLookupByLibrary.simpleMessage("1 опция"), + "option": MessageLookupByLibrary.simpleMessage("Опция"), + "option_content": + MessageLookupByLibrary.simpleMessage("Содержание опции"), + "option_content_hint_text": + MessageLookupByLibrary.simpleMessage("На связи 7 дней в неделю"), + "option_desc": MessageLookupByLibrary.simpleMessage("Описание опции"), + "option_desc_hint_text": MessageLookupByLibrary.simpleMessage( + "Этот план питания для похудения на 7 дней сбалансированный и разнообразный"), + "option_duration": + MessageLookupByLibrary.simpleMessage("Продолжительность опции"), + "option_personal_diet_desc": MessageLookupByLibrary.simpleMessage( + "Опция подразумевает создание индивидуальной диеты"), + "option_title": MessageLookupByLibrary.simpleMessage("Заголовок опции"), + "order": MessageLookupByLibrary.simpleMessage("Порядок"), + "orderCanceled": MessageLookupByLibrary.simpleMessage("Заказ отменен"), + "order_in_progress": + MessageLookupByLibrary.simpleMessage("Заказ в работе"), + "order_paid": MessageLookupByLibrary.simpleMessage("Заказ оплачен"), + "password": MessageLookupByLibrary.simpleMessage("Пароль"), + "password_confirmation": + MessageLookupByLibrary.simpleMessage("Подтвердите пароль"), + "password_confirmation_mismatch": + MessageLookupByLibrary.simpleMessage("Пароли не совпадают"), + "password_empty": MessageLookupByLibrary.simpleMessage( + "Пароль обязателен для заполнения"), + "password_short": MessageLookupByLibrary.simpleMessage( + "В пароле должно быть минимум 6 символов"), + "pay_by_qr_code": + MessageLookupByLibrary.simpleMessage("Оплатить по QR-коду"), + "payment_failed": + MessageLookupByLibrary.simpleMessage("Оплата не прошла"), + "pcs": MessageLookupByLibrary.simpleMessage("шт"), + "personal": MessageLookupByLibrary.simpleMessage("Персональные"), + "personal_diet_defined_to_author": m14, + "personal_diet_defined_to_author_named": m15, + "personal_diet_duration_hint": m16, + "personal_diet_duration_mismatch": m17, + "personal_diet_not_proposed": + MessageLookupByLibrary.simpleMessage("Диета не предложена"), + "personal_diet_proposed": + MessageLookupByLibrary.simpleMessage("Диета предложена"), + "personal_diet_proposed_named": m18, + "personal_diet_replaces_tomorrow": MessageLookupByLibrary.simpleMessage( + "Замена действует со следующего дня"), + "personal_diet_set": MessageLookupByLibrary.simpleMessage( + "Персональная диета установлена"), + "personal_diet_state": + MessageLookupByLibrary.simpleMessage("Персональная"), + "photo": MessageLookupByLibrary.simpleMessage("Фото"), + "place_of_living": + MessageLookupByLibrary.simpleMessage("Место проживания"), + "plan_author": MessageLookupByLibrary.simpleMessage("Автор плана"), + "plan_desc": MessageLookupByLibrary.simpleMessage("Описание плана"), + "plan_desc_example": MessageLookupByLibrary.simpleMessage( + "Большое подробное, привлекательное описание плана"), + "plan_duration": MessageLookupByLibrary.simpleMessage("Срок плана"), + "plan_duration_label": m21, + "plan_label_desc": + MessageLookupByLibrary.simpleMessage("План для поддержания формы"), + "plans_complete": + MessageLookupByLibrary.simpleMessage("Пройденные планы"), + "popular": MessageLookupByLibrary.simpleMessage("Популярные"), + "preferred_language": + MessageLookupByLibrary.simpleMessage("Предпочитаемый язык общения"), + "pressure_empty": MessageLookupByLibrary.simpleMessage( + "Все показатели давления обязательны к заполнению"), + "pressure_is_not_a_number": MessageLookupByLibrary.simpleMessage( + "Все показатели давления должны быть числами"), + "preview": MessageLookupByLibrary.simpleMessage("Превью"), + "price": MessageLookupByLibrary.simpleMessage("Цена"), + "price_explanation": MessageLookupByLibrary.simpleMessage( + "Разница в ценах, это комиссия Итвио"), + "profile": MessageLookupByLibrary.simpleMessage("Профиль"), + "promo_applied_subtitle": + MessageLookupByLibrary.simpleMessage("Скидка учтётся при оплате"), + "promo_applied_title": + MessageLookupByLibrary.simpleMessage("Промокод применён!"), + "promo_code": MessageLookupByLibrary.simpleMessage("Промокод"), + "promo_discount_hint": m22, + "promo_invalid": MessageLookupByLibrary.simpleMessage( + "Промокод не найден или истёк"), + "promo_remove": MessageLookupByLibrary.simpleMessage("Убрать промокод"), + "promo_remove_failed": MessageLookupByLibrary.simpleMessage( + "Не удалось убрать промокод. Попробуйте позже"), + "proteins": MessageLookupByLibrary.simpleMessage("Белки"), + "public_diet_state": MessageLookupByLibrary.simpleMessage("Публичная"), + "publish": MessageLookupByLibrary.simpleMessage("Опубликовать"), + "published": MessageLookupByLibrary.simpleMessage("Опубликованные"), + "removeFromActive": + MessageLookupByLibrary.simpleMessage("Снять с публикации"), + "save": MessageLookupByLibrary.simpleMessage("Сохранить"), + "sbp_payment_error": MessageLookupByLibrary.simpleMessage( + "Не удалось начать оплату. Попробуйте позже"), + "sbp_qr_amount_label": + MessageLookupByLibrary.simpleMessage("Сумма к оплате"), + "sbp_qr_open_test_payment": + MessageLookupByLibrary.simpleMessage("Открыть тестовую оплату"), + "sbp_qr_paid_description": MessageLookupByLibrary.simpleMessage( + "Консультация оплачена. Можно вернуться в чат."), + "sbp_qr_paid_title": + MessageLookupByLibrary.simpleMessage("Оплата прошла успешно!"), + "sbp_qr_step1": MessageLookupByLibrary.simpleMessage( + "Откройте приложение банка на телефоне"), + "sbp_qr_step2": MessageLookupByLibrary.simpleMessage( + "Выберите «Оплата по QR-коду»"), + "sbp_qr_step3": + MessageLookupByLibrary.simpleMessage("Наведите камеру на код"), + "sbp_qr_test_hint": MessageLookupByLibrary.simpleMessage( + "Симуляция оплаты на тестовом стенде Альфа-Банка"), + "sbp_qr_title": + MessageLookupByLibrary.simpleMessage("Оплата по QR-коду"), + "sbp_qr_waiting_payment": + MessageLookupByLibrary.simpleMessage("Ожидание оплаты…"), + "services": MessageLookupByLibrary.simpleMessage("Оказание услуг"), + "settings": MessageLookupByLibrary.simpleMessage("Настройки"), + "share": MessageLookupByLibrary.simpleMessage("Поделиться"), + "skip": MessageLookupByLibrary.simpleMessage("Пропустить"), + "slim": MessageLookupByLibrary.simpleMessage("Похудение"), + "slim_type": MessageLookupByLibrary.simpleMessage("Похудение"), + "slim_type_desc": MessageLookupByLibrary.simpleMessage( + "План питания для похудения должен быть разработан с учётом индивидуальных особенностей организма, возраста, пола, уровня физической активности и состояния здоровья. Общие принципы: \n● Снижение калорийности; \n● Сбалансированный рацион; \n● Разнообразие продуктов; \n● Питьевой режим; \n● Ограничение вредных продуктов;"), + "standard": MessageLookupByLibrary.simpleMessage("Стандарт"), + "startDateHasBeenSet": + MessageLookupByLibrary.simpleMessage("Выбрана дата старта"), + "startDiet": MessageLookupByLibrary.simpleMessage("Начать диету"), + "start_date_label": m23, + "suggestDiet": MessageLookupByLibrary.simpleMessage("Предложить диету"), + "tell_your_schedule": MessageLookupByLibrary.simpleMessage( + "Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:"), + "text_was_copied": + MessageLookupByLibrary.simpleMessage("Текст успешно скопирован"), + "three_options": MessageLookupByLibrary.simpleMessage("3 опции"), + "toOffer": MessageLookupByLibrary.simpleMessage("Предложить"), + "to_draft": MessageLookupByLibrary.simpleMessage("В черновик"), + "unfavorite_foods": + MessageLookupByLibrary.simpleMessage("Нелюбимые продукты"), + "up_pressure": MessageLookupByLibrary.simpleMessage( + "Верхние показатели давления:"), + "user_authorization": + MessageLookupByLibrary.simpleMessage("Аутентификация"), + "user_data": + MessageLookupByLibrary.simpleMessage("Данные пользователя"), + "user_registration": + MessageLookupByLibrary.simpleMessage("Регистрация пользователя"), + "username": MessageLookupByLibrary.simpleMessage("Имя пользователя"), + "vegan": MessageLookupByLibrary.simpleMessage("Веган."), + "vegan_type": MessageLookupByLibrary.simpleMessage("Вегетарианская"), + "vegan_type_desc": MessageLookupByLibrary.simpleMessage( + "Диета основана на потреблении растительной пищи и отказе от продуктов животного происхождения. Такой тип питания может быть разнообразным и вкусным, а также полезным для здоровья."), + "video_call": MessageLookupByLibrary.simpleMessage("Видеозвонок"), + "video_call_chat": MessageLookupByLibrary.simpleMessage("Чат"), + "video_call_close": MessageLookupByLibrary.simpleMessage("Закрыть"), + "video_call_connection_lost_message": MessageLookupByLibrary.simpleMessage( + "Похоже, возникли проблемы с интернетом. Нажмите «Повторить», чтобы переподключиться."), + "video_call_connection_lost_title": + MessageLookupByLibrary.simpleMessage("Связь прервалась"), + "video_call_counterpart_default": + MessageLookupByLibrary.simpleMessage("Собеседник"), + "video_call_enter": MessageLookupByLibrary.simpleMessage("Войти"), + "video_call_leave": MessageLookupByLibrary.simpleMessage("Выйти"), + "video_call_mic_muted_phone_call": MessageLookupByLibrary.simpleMessage( + "Микрофон выключен на время телефонного звонка"), + "video_call_muted_mic_warning": MessageLookupByLibrary.simpleMessage( + "Внимание!\nУ вас выключен микрофон"), + "video_call_notification_end": + MessageLookupByLibrary.simpleMessage("Завершить звонок"), + "video_call_notification_in_progress": + MessageLookupByLibrary.simpleMessage("Звонок идёт"), + "video_call_notification_return": + MessageLookupByLibrary.simpleMessage("Вернуться к звонку"), + "video_call_permission_camera_description": + MessageLookupByLibrary.simpleMessage( + "Чтобы вас видели во время видеозвонка, разрешите доступ к камере. При отказе можно включить доступ в настройках устройства."), + "video_call_permission_camera_title": + MessageLookupByLibrary.simpleMessage("Доступ к камере"), + "video_call_permission_microphone_description": + MessageLookupByLibrary.simpleMessage( + "Чтобы вас слышали во время видеозвонка, разрешите доступ к микрофону. При отказе можно включить доступ в настройках устройства."), + "video_call_permission_microphone_title": + MessageLookupByLibrary.simpleMessage("Доступ к микрофону"), + "video_call_poor_connection": MessageLookupByLibrary.simpleMessage( + "У вас плохое интернет соединение"), + "video_call_recording_notice": MessageLookupByLibrary.simpleMessage( + "Видеозвонок будет записан.\nКонсультация может быть проверена сотрудниками Итвио, на предмет качества оказания услуг."), + "video_call_recordings_card_title": + MessageLookupByLibrary.simpleMessage( + "Видеоконсультация со специалистом по питанию"), + "video_call_recordings_download": + MessageLookupByLibrary.simpleMessage("Скачать"), + "video_call_recordings_download_error": + MessageLookupByLibrary.simpleMessage( + "Не удалось скачать запись. Попробуйте позже."), + "video_call_recordings_download_success": + MessageLookupByLibrary.simpleMessage( + "Запись сохранена в Загрузки/Itvio"), + "video_call_recordings_download_success_ios": + MessageLookupByLibrary.simpleMessage( + "Запись сохранена в приложении «Файлы»"), + "video_call_recordings_downloading": + MessageLookupByLibrary.simpleMessage("Скачивание…"), + "video_call_recordings_downloading_percent": m30, + "video_call_recordings_empty": + MessageLookupByLibrary.simpleMessage("Пока нет видеоконсультаций"), + "video_call_recordings_period_all": + MessageLookupByLibrary.simpleMessage("Всё время"), + "video_call_recordings_period_current_month": + MessageLookupByLibrary.simpleMessage("Текущий месяц"), + "video_call_recordings_period_prev_month": + MessageLookupByLibrary.simpleMessage("Прошлый месяц"), + "video_call_recordings_period_today": + MessageLookupByLibrary.simpleMessage("Сегодня"), + "video_call_recordings_period_week": + MessageLookupByLibrary.simpleMessage("7 дней"), + "video_call_recordings_player_error": + MessageLookupByLibrary.simpleMessage( + "Не удалось воспроизвести запись"), + "video_call_recordings_processing": + MessageLookupByLibrary.simpleMessage("Запись обрабатывается…"), + "video_call_recordings_retention_tooltip": + MessageLookupByLibrary.simpleMessage( + "Записи видеоконсультаций хранятся на серверах Итвио в течение 1 года."), + "video_call_recordings_title": + MessageLookupByLibrary.simpleMessage("Мои консультации"), + "video_call_role_consultant": + MessageLookupByLibrary.simpleMessage("Консультант Итвио"), + "video_call_screen_connecting_subtitle": + MessageLookupByLibrary.simpleMessage("Это займёт несколько секунд"), + "video_call_screen_connecting_title": + MessageLookupByLibrary.simpleMessage("Подключение\nк консультации"), + "video_call_screen_loading_title": + MessageLookupByLibrary.simpleMessage("Загрузка…"), + "video_call_screen_reconnecting_subtitle": + MessageLookupByLibrary.simpleMessage( + "Проверьте интернет и подождите"), + "video_call_screen_reconnecting_title": + MessageLookupByLibrary.simpleMessage("Восстанавливаем соединение"), + "video_call_sound": MessageLookupByLibrary.simpleMessage("Звук"), + "video_call_status_online": + MessageLookupByLibrary.simpleMessage("Онлайн"), + "video_call_system_interruption": MessageLookupByLibrary.simpleMessage( + "Другой звонок или приложение использует аудио.\nКонсультация приостановлена до его завершения."), + "video_call_try_again": + MessageLookupByLibrary.simpleMessage("Повторить"), + "video_call_unknown_initial": MessageLookupByLibrary.simpleMessage("?"), + "video_call_video": MessageLookupByLibrary.simpleMessage("Видео"), + "video_call_you": MessageLookupByLibrary.simpleMessage("Вы"), + "waist": MessageLookupByLibrary.simpleMessage("Талия"), + "waist_circumference": + MessageLookupByLibrary.simpleMessage("Обхват талии"), + "weight": MessageLookupByLibrary.simpleMessage("Вес"), + "weight_chart": MessageLookupByLibrary.simpleMessage("График веса"), + "weight_measurements": + MessageLookupByLibrary.simpleMessage("Замер веса"), + "wellness": + MessageLookupByLibrary.simpleMessage("Улучшение самочувствия"), + "wellness_type": + MessageLookupByLibrary.simpleMessage("Улучшение самочувствия"), + "wellness_type_desc": MessageLookupByLibrary.simpleMessage( + "Если вы любите мучные продукты, но хотите придерживаться диеты, вам подходит диета с добавленим мучных блюд на основе цельнозерновых вариантов. В них больше сложных углеводов и клетчатки, что способствует длительному чувству сытости и поддерживает здоровье пищеварительной системы."), + "what_is_your_name": + MessageLookupByLibrary.simpleMessage("Как вас зовут?"), + "wrong_credentials": MessageLookupByLibrary.simpleMessage( + "Неверные данные пользователя"), + "yes": MessageLookupByLibrary.simpleMessage("Да"), + "you_will_get": MessageLookupByLibrary.simpleMessage("Вы получите"), + "your_blood_pressure": + MessageLookupByLibrary.simpleMessage("Ваше артериальное давление?"), + "your_favorite_sports": + MessageLookupByLibrary.simpleMessage("Ваши спортивные увлечения?"), + "your_gender": MessageLookupByLibrary.simpleMessage("Ваш пол?"), + "your_height": MessageLookupByLibrary.simpleMessage("Ваш рост:"), + "your_schedule": MessageLookupByLibrary.simpleMessage("Ваш режим дня?"), + "your_weight": MessageLookupByLibrary.simpleMessage("Ваш вес:") + }; } diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index fcafdb73..673d31b0 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -18,10 +18,8 @@ class S { static S? _current; static S get current { - assert( - _current != null, - 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.', - ); + assert(_current != null, + 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.'); return _current!; } @@ -43,10 +41,8 @@ class S { static S of(BuildContext context) { final instance = S.maybeOf(context); - assert( - instance != null, - 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?', - ); + assert(instance != null, + 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?'); return instance!; } @@ -66,7 +62,12 @@ class S { /// `Электронная почта` String get email { - return Intl.message('Электронная почта', name: 'email', desc: '', args: []); + return Intl.message( + 'Электронная почта', + name: 'email', + desc: '', + args: [], + ); } /// `Имя пользователя` @@ -81,7 +82,12 @@ class S { /// `Пароль` String get password { - return Intl.message('Пароль', name: 'password', desc: '', args: []); + return Intl.message( + 'Пароль', + name: 'password', + desc: '', + args: [], + ); } /// `Подтвердите пароль` @@ -106,12 +112,22 @@ class S { /// `Имя` String get first_name { - return Intl.message('Имя', name: 'first_name', desc: '', args: []); + return Intl.message( + 'Имя', + name: 'first_name', + desc: '', + args: [], + ); } /// `Фамилия` String get last_name { - return Intl.message('Фамилия', name: 'last_name', desc: '', args: []); + return Intl.message( + 'Фамилия', + name: 'last_name', + desc: '', + args: [], + ); } /// `Как вас зовут?` @@ -136,22 +152,42 @@ class S { /// `Страна` String get country { - return Intl.message('Страна', name: 'country', desc: '', args: []); + return Intl.message( + 'Страна', + name: 'country', + desc: '', + args: [], + ); } /// `Россия` String get Russia { - return Intl.message('Россия', name: 'Russia', desc: '', args: []); + return Intl.message( + 'Россия', + name: 'Russia', + desc: '', + args: [], + ); } /// `Город` String get city { - return Intl.message('Город', name: 'city', desc: '', args: []); + return Intl.message( + 'Город', + name: 'city', + desc: '', + args: [], + ); } /// `Москва` String get Moscow { - return Intl.message('Москва', name: 'Moscow', desc: '', args: []); + return Intl.message( + 'Москва', + name: 'Moscow', + desc: '', + args: [], + ); } /// `Место проживания` @@ -206,12 +242,22 @@ class S { /// `Мужской` String get male { - return Intl.message('Мужской', name: 'male', desc: '', args: []); + return Intl.message( + 'Мужской', + name: 'male', + desc: '', + args: [], + ); } /// `Женский` String get female { - return Intl.message('Женский', name: 'female', desc: '', args: []); + return Intl.message( + 'Женский', + name: 'female', + desc: '', + args: [], + ); } /// `Замер веса` @@ -226,7 +272,12 @@ class S { /// `Ваш вес:` String get your_weight { - return Intl.message('Ваш вес:', name: 'your_weight', desc: '', args: []); + return Intl.message( + 'Ваш вес:', + name: 'your_weight', + desc: '', + args: [], + ); } /// `Замер роста` @@ -241,7 +292,12 @@ class S { /// `Ваш рост:` String get your_height { - return Intl.message('Ваш рост:', name: 'your_height', desc: '', args: []); + return Intl.message( + 'Ваш рост:', + name: 'your_height', + desc: '', + args: [], + ); } /// `Наличие аллергии` @@ -266,12 +322,22 @@ class S { /// `Ваш пол?` String get your_gender { - return Intl.message('Ваш пол?', name: 'your_gender', desc: '', args: []); + return Intl.message( + 'Ваш пол?', + name: 'your_gender', + desc: '', + args: [], + ); } /// `Нет` String get no { - return Intl.message('Нет', name: 'no', desc: '', args: []); + return Intl.message( + 'Нет', + name: 'no', + desc: '', + args: [], + ); } /// `Есть ли у вас гипертония?` @@ -416,12 +482,22 @@ class S { /// `English` String get lbl_english { - return Intl.message('English', name: 'lbl_english', desc: '', args: []); + return Intl.message( + 'English', + name: 'lbl_english', + desc: '', + args: [], + ); } /// `Завершить` String get finish { - return Intl.message('Завершить', name: 'finish', desc: '', args: []); + return Intl.message( + 'Завершить', + name: 'finish', + desc: '', + args: [], + ); } /// `Предпочитаемый язык общения` @@ -446,7 +522,12 @@ class S { /// `Пропустить` String get skip { - return Intl.message('Пропустить', name: 'skip', desc: '', args: []); + return Intl.message( + 'Пропустить', + name: 'skip', + desc: '', + args: [], + ); } /// `Заполните информацию:` @@ -651,7 +732,12 @@ class S { /// `Войти` String get authentificate { - return Intl.message('Войти', name: 'authentificate', desc: '', args: []); + return Intl.message( + 'Войти', + name: 'authentificate', + desc: '', + args: [], + ); } /// `Аутентификация` @@ -676,7 +762,12 @@ class S { /// `Загрузка...` String get loading { - return Intl.message('Загрузка...', name: 'loading', desc: '', args: []); + return Intl.message( + 'Загрузка...', + name: 'loading', + desc: '', + args: [], + ); } /// `График веса` @@ -721,52 +812,102 @@ class S { /// `Грудь` String get chest { - return Intl.message('Грудь', name: 'chest', desc: '', args: []); + return Intl.message( + 'Грудь', + name: 'chest', + desc: '', + args: [], + ); } /// `Талия` String get waist { - return Intl.message('Талия', name: 'waist', desc: '', args: []); + return Intl.message( + 'Талия', + name: 'waist', + desc: '', + args: [], + ); } /// `Бедра` String get hips { - return Intl.message('Бедра', name: 'hips', desc: '', args: []); + return Intl.message( + 'Бедра', + name: 'hips', + desc: '', + args: [], + ); } /// `Выйти` String get exit { - return Intl.message('Выйти', name: 'exit', desc: '', args: []); + return Intl.message( + 'Выйти', + name: 'exit', + desc: '', + args: [], + ); } /// `Активен` String get active { - return Intl.message('Активен', name: 'active', desc: '', args: []); + return Intl.message( + 'Активен', + name: 'active', + desc: '', + args: [], + ); } /// `В архиве` String get archived { - return Intl.message('В архиве', name: 'archived', desc: '', args: []); + return Intl.message( + 'В архиве', + name: 'archived', + desc: '', + args: [], + ); } /// `Черновик` String get draft { - return Intl.message('Черновик', name: 'draft', desc: '', args: []); + return Intl.message( + 'Черновик', + name: 'draft', + desc: '', + args: [], + ); } /// `Мой блог` String get my_blog { - return Intl.message('Мой блог', name: 'my_blog', desc: '', args: []); + return Intl.message( + 'Мой блог', + name: 'my_blog', + desc: '', + args: [], + ); } /// `Язык` String get language { - return Intl.message('Язык', name: 'language', desc: '', args: []); + return Intl.message( + 'Язык', + name: 'language', + desc: '', + args: [], + ); } /// `В процессе` String get in_progress { - return Intl.message('В процессе', name: 'in_progress', desc: '', args: []); + return Intl.message( + 'В процессе', + name: 'in_progress', + desc: '', + args: [], + ); } /// `Добавить замер` @@ -781,7 +922,12 @@ class S { /// `Вес` String get weight { - return Intl.message('Вес', name: 'weight', desc: '', args: []); + return Intl.message( + 'Вес', + name: 'weight', + desc: '', + args: [], + ); } /// `Пройденные планы` @@ -806,67 +952,132 @@ class S { /// `Настройки` String get settings { - return Intl.message('Настройки', name: 'settings', desc: '', args: []); + return Intl.message( + 'Настройки', + name: 'settings', + desc: '', + args: [], + ); } /// `Профиль` String get profile { - return Intl.message('Профиль', name: 'profile', desc: '', args: []); + return Intl.message( + 'Профиль', + name: 'profile', + desc: '', + args: [], + ); } /// `Чат` String get chat { - return Intl.message('Чат', name: 'chat', desc: '', args: []); + return Intl.message( + 'Чат', + name: 'chat', + desc: '', + args: [], + ); } /// `Админ` String get admin { - return Intl.message('Админ', name: 'admin', desc: '', args: []); + return Intl.message( + 'Админ', + name: 'admin', + desc: '', + args: [], + ); } /// `Дневник` String get diary { - return Intl.message('Дневник', name: 'diary', desc: '', args: []); + return Intl.message( + 'Дневник', + name: 'diary', + desc: '', + args: [], + ); } /// `Сохранить` String get save { - return Intl.message('Сохранить', name: 'save', desc: '', args: []); + return Intl.message( + 'Сохранить', + name: 'save', + desc: '', + args: [], + ); } /// `шт` String get pcs { - return Intl.message('шт', name: 'pcs', desc: '', args: []); + return Intl.message( + 'шт', + name: 'pcs', + desc: '', + args: [], + ); } /// `гр` String get gr { - return Intl.message('гр', name: 'gr', desc: '', args: []); + return Intl.message( + 'гр', + name: 'gr', + desc: '', + args: [], + ); } /// `мл` String get milliliter { - return Intl.message('мл', name: 'milliliter', desc: '', args: []); + return Intl.message( + 'мл', + name: 'milliliter', + desc: '', + args: [], + ); } /// `гр` String get grams { - return Intl.message('гр', name: 'grams', desc: '', args: []); + return Intl.message( + 'гр', + name: 'grams', + desc: '', + args: [], + ); } /// `Начать диету` String get startDiet { - return Intl.message('Начать диету', name: 'startDiet', desc: '', args: []); + return Intl.message( + 'Начать диету', + name: 'startDiet', + desc: '', + args: [], + ); } /// `Комментарии` String get comments { - return Intl.message('Комментарии', name: 'comments', desc: '', args: []); + return Intl.message( + 'Комментарии', + name: 'comments', + desc: '', + args: [], + ); } /// `комментарий` String get comment { - return Intl.message('комментарий', name: 'comment', desc: '', args: []); + return Intl.message( + 'комментарий', + name: 'comment', + desc: '', + args: [], + ); } /// `комментария` @@ -891,17 +1102,32 @@ class S { /// `дней` String get days { - return Intl.message('дней', name: 'days', desc: '', args: []); + return Intl.message( + 'дней', + name: 'days', + desc: '', + args: [], + ); } /// `День` String get day { - return Intl.message('День', name: 'day', desc: '', args: []); + return Intl.message( + 'День', + name: 'day', + desc: '', + args: [], + ); } /// `дня` String get another_form_of_day { - return Intl.message('дня', name: 'another_form_of_day', desc: '', args: []); + return Intl.message( + 'дня', + name: 'another_form_of_day', + desc: '', + args: [], + ); } /// `комментариев` @@ -916,17 +1142,32 @@ class S { /// `Приём пищи` String get meal { - return Intl.message('Приём пищи', name: 'meal', desc: '', args: []); + return Intl.message( + 'Приём пищи', + name: 'meal', + desc: '', + args: [], + ); } /// `Автор диеты` String get diet_author { - return Intl.message('Автор диеты', name: 'diet_author', desc: '', args: []); + return Intl.message( + 'Автор диеты', + name: 'diet_author', + desc: '', + args: [], + ); } /// `Свернуть` String get hide { - return Intl.message('Свернуть', name: 'hide', desc: '', args: []); + return Intl.message( + 'Свернуть', + name: 'hide', + desc: '', + args: [], + ); } /// `Показать полностью` @@ -951,12 +1192,22 @@ class S { /// `Поделиться` String get share { - return Intl.message('Поделиться', name: 'share', desc: '', args: []); + return Intl.message( + 'Поделиться', + name: 'share', + desc: '', + args: [], + ); } /// `Пожаловаться` String get complain { - return Intl.message('Пожаловаться', name: 'complain', desc: '', args: []); + return Intl.message( + 'Пожаловаться', + name: 'complain', + desc: '', + args: [], + ); } /// `Вегетарианская` @@ -971,17 +1222,32 @@ class S { /// `Легкая` String get light_type { - return Intl.message('Легкая', name: 'light_type', desc: '', args: []); + return Intl.message( + 'Легкая', + name: 'light_type', + desc: '', + args: [], + ); } /// `С мясом` String get meat_type { - return Intl.message('С мясом', name: 'meat_type', desc: '', args: []); + return Intl.message( + 'С мясом', + name: 'meat_type', + desc: '', + args: [], + ); } /// `Мучное` String get carb_type { - return Intl.message('Мучное', name: 'carb_type', desc: '', args: []); + return Intl.message( + 'Мучное', + name: 'carb_type', + desc: '', + args: [], + ); } /// `Диета основана на потреблении растительной пищи и отказе от продуктов животного происхождения. Такой тип питания может быть разнообразным и вкусным, а также полезным для здоровья.` @@ -1026,32 +1292,62 @@ class S { /// `План диеты` String get diet_plan { - return Intl.message('План диеты', name: 'diet_plan', desc: '', args: []); + return Intl.message( + 'План диеты', + name: 'diet_plan', + desc: '', + args: [], + ); } /// `Калории` String get calories { - return Intl.message('Калории', name: 'calories', desc: '', args: []); + return Intl.message( + 'Калории', + name: 'calories', + desc: '', + args: [], + ); } /// `Белки` String get proteins { - return Intl.message('Белки', name: 'proteins', desc: '', args: []); + return Intl.message( + 'Белки', + name: 'proteins', + desc: '', + args: [], + ); } /// `Жиры` String get fats { - return Intl.message('Жиры', name: 'fats', desc: '', args: []); + return Intl.message( + 'Жиры', + name: 'fats', + desc: '', + args: [], + ); } /// `Углеводы` String get carbohydrates { - return Intl.message('Углеводы', name: 'carbohydrates', desc: '', args: []); + return Intl.message( + 'Углеводы', + name: 'carbohydrates', + desc: '', + args: [], + ); } /// `Ответить` String get answer { - return Intl.message('Ответить', name: 'answer', desc: '', args: []); + return Intl.message( + 'Ответить', + name: 'answer', + desc: '', + args: [], + ); } /// `Ссылка успешно скопирована` @@ -1096,47 +1392,92 @@ class S { /// `Продолжить` String get continue_ { - return Intl.message('Продолжить', name: 'continue_', desc: '', args: []); + return Intl.message( + 'Продолжить', + name: 'continue_', + desc: '', + args: [], + ); } /// `Порядок` String get order { - return Intl.message('Порядок', name: 'order', desc: '', args: []); + return Intl.message( + 'Порядок', + name: 'order', + desc: '', + args: [], + ); } /// `Время прохождения` String get time { - return Intl.message('Время прохождения', name: 'time', desc: '', args: []); + return Intl.message( + 'Время прохождения', + name: 'time', + desc: '', + args: [], + ); } /// `Все` String get all { - return Intl.message('Все', name: 'all', desc: '', args: []); + return Intl.message( + 'Все', + name: 'all', + desc: '', + args: [], + ); } /// `Тип диеты` String get diet_type { - return Intl.message('Тип диеты', name: 'diet_type', desc: '', args: []); + return Intl.message( + 'Тип диеты', + name: 'diet_type', + desc: '', + args: [], + ); } /// `Тип плана` String get plan_type { - return Intl.message('Тип плана', name: 'plan_type', desc: '', args: []); + return Intl.message( + 'Тип плана', + name: 'plan_type', + desc: '', + args: [], + ); } /// `Популярные` String get popular { - return Intl.message('Популярные', name: 'popular', desc: '', args: []); + return Intl.message( + 'Популярные', + name: 'popular', + desc: '', + args: [], + ); } /// `Самые новые` String get most_new { - return Intl.message('Самые новые', name: 'most_new', desc: '', args: []); + return Intl.message( + 'Самые новые', + name: 'most_new', + desc: '', + args: [], + ); } /// `Самые старые` String get most_old { - return Intl.message('Самые старые', name: 'most_old', desc: '', args: []); + return Intl.message( + 'Самые старые', + name: 'most_old', + desc: '', + args: [], + ); } /// `Название: А-Я` @@ -1161,7 +1502,12 @@ class S { /// `По умолчанию` String get by_default { - return Intl.message('По умолчанию', name: 'by_default', desc: '', args: []); + return Intl.message( + 'По умолчанию', + name: 'by_default', + desc: '', + args: [], + ); } /// `Создание диеты` @@ -1206,7 +1552,12 @@ class S { /// `Статус диеты` String get diet_state { - return Intl.message('Статус диеты', name: 'diet_state', desc: '', args: []); + return Intl.message( + 'Статус диеты', + name: 'diet_state', + desc: '', + args: [], + ); } /// `Активная` @@ -1251,22 +1602,42 @@ class S { /// `Мясо` String get meat { - return Intl.message('Мясо', name: 'meat', desc: '', args: []); + return Intl.message( + 'Мясо', + name: 'meat', + desc: '', + args: [], + ); } /// `Веган.` String get vegan { - return Intl.message('Веган.', name: 'vegan', desc: '', args: []); + return Intl.message( + 'Веган.', + name: 'vegan', + desc: '', + args: [], + ); } /// `Фото` String get photo { - return Intl.message('Фото', name: 'photo', desc: '', args: []); + return Intl.message( + 'Фото', + name: 'photo', + desc: '', + args: [], + ); } /// `Галерея` String get gallery { - return Intl.message('Галерея', name: 'gallery', desc: '', args: []); + return Intl.message( + 'Галерея', + name: 'gallery', + desc: '', + args: [], + ); } /// `Добавьте обложку` @@ -1281,27 +1652,52 @@ class S { /// `Добавить` String get add { - return Intl.message('Добавить', name: 'add', desc: '', args: []); + return Intl.message( + 'Добавить', + name: 'add', + desc: '', + args: [], + ); } /// `cкопирован` String get copied { - return Intl.message('cкопирован', name: 'copied', desc: '', args: []); + return Intl.message( + 'cкопирован', + name: 'copied', + desc: '', + args: [], + ); } /// `В черновик` String get to_draft { - return Intl.message('В черновик', name: 'to_draft', desc: '', args: []); + return Intl.message( + 'В черновик', + name: 'to_draft', + desc: '', + args: [], + ); } /// `Превью` String get preview { - return Intl.message('Превью', name: 'preview', desc: '', args: []); + return Intl.message( + 'Превью', + name: 'preview', + desc: '', + args: [], + ); } /// `Опубликовать` String get publish { - return Intl.message('Опубликовать', name: 'publish', desc: '', args: []); + return Intl.message( + 'Опубликовать', + name: 'publish', + desc: '', + args: [], + ); } /// `Добавление плана` @@ -1316,7 +1712,12 @@ class S { /// `Название` String get label { - return Intl.message('Название', name: 'label', desc: '', args: []); + return Intl.message( + 'Название', + name: 'label', + desc: '', + args: [], + ); } /// `План для поддержания формы` @@ -1341,12 +1742,22 @@ class S { /// `Похудение` String get slim { - return Intl.message('Похудение', name: 'slim', desc: '', args: []); + return Intl.message( + 'Похудение', + name: 'slim', + desc: '', + args: [], + ); } /// `Поддержка формы` String get fitness { - return Intl.message('Поддержка формы', name: 'fitness', desc: '', args: []); + return Intl.message( + 'Поддержка формы', + name: 'fitness', + desc: '', + args: [], + ); } /// `Улучшение самочувствия` @@ -1401,37 +1812,72 @@ class S { /// `1 опция` String get one_option { - return Intl.message('1 опция', name: 'one_option', desc: '', args: []); + return Intl.message( + '1 опция', + name: 'one_option', + desc: '', + args: [], + ); } /// `3 опции` String get three_options { - return Intl.message('3 опции', name: 'three_options', desc: '', args: []); + return Intl.message( + '3 опции', + name: 'three_options', + desc: '', + args: [], + ); } /// `Опция` String get option { - return Intl.message('Опция', name: 'option', desc: '', args: []); + return Intl.message( + 'Опция', + name: 'option', + desc: '', + args: [], + ); } /// `Оказание услуг` String get services { - return Intl.message('Оказание услуг', name: 'services', desc: '', args: []); + return Intl.message( + 'Оказание услуг', + name: 'services', + desc: '', + args: [], + ); } /// `Эконом` String get economy { - return Intl.message('Эконом', name: 'economy', desc: '', args: []); + return Intl.message( + 'Эконом', + name: 'economy', + desc: '', + args: [], + ); } /// `Стандарт` String get standard { - return Intl.message('Стандарт', name: 'standard', desc: '', args: []); + return Intl.message( + 'Стандарт', + name: 'standard', + desc: '', + args: [], + ); } /// `Комфорт` String get comfort { - return Intl.message('Комфорт', name: 'comfort', desc: '', args: []); + return Intl.message( + 'Комфорт', + name: 'comfort', + desc: '', + args: [], + ); } /// `Заголовок опции` @@ -1546,7 +1992,12 @@ class S { /// `Автор плана` String get plan_author { - return Intl.message('Автор плана', name: 'plan_author', desc: '', args: []); + return Intl.message( + 'Автор плана', + name: 'plan_author', + desc: '', + args: [], + ); } /// `Продолжительность опции` @@ -1581,7 +2032,12 @@ class S { /// `Похудение` String get slim_type { - return Intl.message('Похудение', name: 'slim_type', desc: '', args: []); + return Intl.message( + 'Похудение', + name: 'slim_type', + desc: '', + args: [], + ); } /// `План питания для похудения должен быть разработан с учётом индивидуальных особенностей организма, возраста, пола, уровня физической активности и состояния здоровья. Общие принципы: \n● Снижение калорийности; \n● Сбалансированный рацион; \n● Разнообразие продуктов; \n● Питьевой режим; \n● Ограничение вредных продуктов;` @@ -1636,12 +2092,22 @@ class S { /// `Цена` String get price { - return Intl.message('Цена', name: 'price', desc: '', args: []); + return Intl.message( + 'Цена', + name: 'price', + desc: '', + args: [], + ); } /// `Мои диеты` String get my_diets { - return Intl.message('Мои диеты', name: 'my_diets', desc: '', args: []); + return Intl.message( + 'Мои диеты', + name: 'my_diets', + desc: '', + args: [], + ); } /// `Опубликованные` @@ -1656,22 +2122,42 @@ class S { /// `Черновики` String get drafted { - return Intl.message('Черновики', name: 'drafted', desc: '', args: []); + return Intl.message( + 'Черновики', + name: 'drafted', + desc: '', + args: [], + ); } /// `Персональные` String get personal { - return Intl.message('Персональные', name: 'personal', desc: '', args: []); + return Intl.message( + 'Персональные', + name: 'personal', + desc: '', + args: [], + ); } /// `Редактировать` String get edit { - return Intl.message('Редактировать', name: 'edit', desc: '', args: []); + return Intl.message( + 'Редактировать', + name: 'edit', + desc: '', + args: [], + ); } /// `Предложить` String get toOffer { - return Intl.message('Предложить', name: 'toOffer', desc: '', args: []); + return Intl.message( + 'Предложить', + name: 'toOffer', + desc: '', + args: [], + ); } /// `Снять с публикации` @@ -1686,22 +2172,42 @@ class S { /// `Диета` String get diet { - return Intl.message('Диета', name: 'diet', desc: '', args: []); + return Intl.message( + 'Диета', + name: 'diet', + desc: '', + args: [], + ); } /// `Удалена` String get deleted { - return Intl.message('Удалена', name: 'deleted', desc: '', args: []); + return Intl.message( + 'Удалена', + name: 'deleted', + desc: '', + args: [], + ); } /// `Мои планы` String get my_plans { - return Intl.message('Мои планы', name: 'my_plans', desc: '', args: []); + return Intl.message( + 'Мои планы', + name: 'my_plans', + desc: '', + args: [], + ); } /// `от` String get from { - return Intl.message('от', name: 'from', desc: '', args: []); + return Intl.message( + 'от', + name: 'from', + desc: '', + args: [], + ); } /// `Данные пользователя` @@ -1726,7 +2232,12 @@ class S { /// `Пол` String get sex { - return Intl.message('Пол', name: 'sex', desc: '', args: []); + return Intl.message( + 'Пол', + name: 'sex', + desc: '', + args: [], + ); } /// `Физическая форма` @@ -1741,22 +2252,42 @@ class S { /// `Рост` String get height { - return Intl.message('Рост', name: 'height', desc: '', args: []); + return Intl.message( + 'Рост', + name: 'height', + desc: '', + args: [], + ); } /// `Давление` String get pressure { - return Intl.message('Давление', name: 'pressure', desc: '', args: []); + return Intl.message( + 'Давление', + name: 'pressure', + desc: '', + args: [], + ); } /// `Верхнее` String get upper { - return Intl.message('Верхнее', name: 'upper', desc: '', args: []); + return Intl.message( + 'Верхнее', + name: 'upper', + desc: '', + args: [], + ); } /// `Нижнее` String get lower { - return Intl.message('Нижнее', name: 'lower', desc: '', args: []); + return Intl.message( + 'Нижнее', + name: 'lower', + desc: '', + args: [], + ); } /// `Склонность к гипотонии` @@ -1861,7 +2392,12 @@ class S { /// `Подтвердить` String get confirm { - return Intl.message('Подтвердить', name: 'confirm', desc: '', args: []); + return Intl.message( + 'Подтвердить', + name: 'confirm', + desc: '', + args: [], + ); } /// `Не удалось отменить диету` @@ -1876,12 +2412,22 @@ class S { /// `часов` String get hours { - return Intl.message('часов', name: 'hours', desc: '', args: []); + return Intl.message( + 'часов', + name: 'hours', + desc: '', + args: [], + ); } /// `час` String get hour { - return Intl.message('час', name: 'hour', desc: '', args: []); + return Intl.message( + 'час', + name: 'hour', + desc: '', + args: [], + ); } /// `часа` @@ -1896,12 +2442,22 @@ class S { /// `минуты` String get minutes { - return Intl.message('минуты', name: 'minutes', desc: '', args: []); + return Intl.message( + 'минуты', + name: 'minutes', + desc: '', + args: [], + ); } /// `минута` String get minute { - return Intl.message('минута', name: 'minute', desc: '', args: []); + return Intl.message( + 'минута', + name: 'minute', + desc: '', + args: [], + ); } /// `минут` @@ -1946,12 +2502,22 @@ class S { /// `этапов` String get stages { - return Intl.message('этапов', name: 'stages', desc: '', args: []); + return Intl.message( + 'этапов', + name: 'stages', + desc: '', + args: [], + ); } /// `этап` String get stage { - return Intl.message('этап', name: 'stage', desc: '', args: []); + return Intl.message( + 'этап', + name: 'stage', + desc: '', + args: [], + ); } /// `этапа` @@ -1986,12 +2552,22 @@ class S { /// `Ингредиенты` String get ingredients { - return Intl.message('Ингредиенты', name: 'ingredients', desc: '', args: []); + return Intl.message( + 'Ингредиенты', + name: 'ingredients', + desc: '', + args: [], + ); } /// `Шаг` String get step { - return Intl.message('Шаг', name: 'step', desc: '', args: []); + return Intl.message( + 'Шаг', + name: 'step', + desc: '', + args: [], + ); } /// `Пошаговый фоторецепт` @@ -2016,7 +2592,12 @@ class S { /// `Спам` String get spam { - return Intl.message('Спам', name: 'spam', desc: '', args: []); + return Intl.message( + 'Спам', + name: 'spam', + desc: '', + args: [], + ); } /// `Нарушение законодательства` @@ -2031,7 +2612,12 @@ class S { /// `Обман` String get deception { - return Intl.message('Обман', name: 'deception', desc: '', args: []); + return Intl.message( + 'Обман', + name: 'deception', + desc: '', + args: [], + ); } /// `Насилие и вражда` @@ -2076,7 +2662,12 @@ class S { /// `Жалоба` String get complaint { - return Intl.message('Жалоба', name: 'complaint', desc: '', args: []); + return Intl.message( + 'Жалоба', + name: 'complaint', + desc: '', + args: [], + ); } /// `Что именно в этом материале Вы считаете неприемлемым и нарушающим правила?` @@ -2141,27 +2732,52 @@ class S { /// `Хорошо` String get ok { - return Intl.message('Хорошо', name: 'ok', desc: '', args: []); + return Intl.message( + 'Хорошо', + name: 'ok', + desc: '', + args: [], + ); } /// `Алкоголь` String get alcohol { - return Intl.message('Алкоголь', name: 'alcohol', desc: '', args: []); + return Intl.message( + 'Алкоголь', + name: 'alcohol', + desc: '', + args: [], + ); } /// `Наркотики` String get drugs { - return Intl.message('Наркотики', name: 'drugs', desc: '', args: []); + return Intl.message( + 'Наркотики', + name: 'drugs', + desc: '', + args: [], + ); } /// `Никотин` String get nicotine { - return Intl.message('Никотин', name: 'nicotine', desc: '', args: []); + return Intl.message( + 'Никотин', + name: 'nicotine', + desc: '', + args: [], + ); } /// `Оружие` String get weapon { - return Intl.message('Оружие', name: 'weapon', desc: '', args: []); + return Intl.message( + 'Оружие', + name: 'weapon', + desc: '', + args: [], + ); } /// `Поддельные документы` @@ -2186,7 +2802,12 @@ class S { /// `Другое` String get other { - return Intl.message('Другое', name: 'other', desc: '', args: []); + return Intl.message( + 'Другое', + name: 'other', + desc: '', + args: [], + ); } /// `Введение в заблуждение` @@ -2211,7 +2832,12 @@ class S { /// `Мошенничество` String get fraud { - return Intl.message('Мошенничество', name: 'fraud', desc: '', args: []); + return Intl.message( + 'Мошенничество', + name: 'fraud', + desc: '', + args: [], + ); } /// `Мошенничество с целью наживы. Если вас обманули, пожалуйста, сообщите об этом в правоохранительные органы.` @@ -2236,7 +2862,12 @@ class S { /// `Оскорбление` String get hatred { - return Intl.message('Оскорбление', name: 'hatred', desc: '', args: []); + return Intl.message( + 'Оскорбление', + name: 'hatred', + desc: '', + args: [], + ); } /// `Склонение к самоубийству` @@ -2261,7 +2892,12 @@ class S { /// `Экстремизм` String get extremism { - return Intl.message('Экстремизм', name: 'extremism', desc: '', args: []); + return Intl.message( + 'Экстремизм', + name: 'extremism', + desc: '', + args: [], + ); } /// `Призывы к травле` @@ -2316,7 +2952,12 @@ class S { /// `Ваш рейтинг` String get your_rating { - return Intl.message('Ваш рейтинг', name: 'your_rating', desc: '', args: []); + return Intl.message( + 'Ваш рейтинг', + name: 'your_rating', + desc: '', + args: [], + ); } /// `Скопировать пригласительную ссылку` @@ -2331,7 +2972,12 @@ class S { /// `Статистика` String get statistic { - return Intl.message('Статистика', name: 'statistic', desc: '', args: []); + return Intl.message( + 'Статистика', + name: 'statistic', + desc: '', + args: [], + ); } /// `За всё время` @@ -2346,17 +2992,32 @@ class S { /// `За год` String get for_a_year { - return Intl.message('За год', name: 'for_a_year', desc: '', args: []); + return Intl.message( + 'За год', + name: 'for_a_year', + desc: '', + args: [], + ); } /// `За месяц` String get for_a_month { - return Intl.message('За месяц', name: 'for_a_month', desc: '', args: []); + return Intl.message( + 'За месяц', + name: 'for_a_month', + desc: '', + args: [], + ); } /// `За неделю` String get for_a_week { - return Intl.message('За неделю', name: 'for_a_week', desc: '', args: []); + return Intl.message( + 'За неделю', + name: 'for_a_week', + desc: '', + args: [], + ); } /// `Количество приглашенных` @@ -2591,7 +3252,12 @@ class S { /// `Заказать` String get to_order { - return Intl.message('Заказать', name: 'to_order', desc: '', args: []); + return Intl.message( + 'Заказать', + name: 'to_order', + desc: '', + args: [], + ); } /// `Дату старта плана невозможно выбрать, пока Вы не привяжите карту` @@ -2656,7 +3322,12 @@ class S { /// `Оплатить` String get pay { - return Intl.message('Оплатить', name: 'pay', desc: '', args: []); + return Intl.message( + 'Оплатить', + name: 'pay', + desc: '', + args: [], + ); } /// `Выберите банк` @@ -2851,12 +3522,22 @@ class S { /// `Мои карты` String get my_cards { - return Intl.message('Мои карты', name: 'my_cards', desc: '', args: []); + return Intl.message( + 'Мои карты', + name: 'my_cards', + desc: '', + args: [], + ); } /// `Добавить карту` String get new_card { - return Intl.message('Добавить карту', name: 'new_card', desc: '', args: []); + return Intl.message( + 'Добавить карту', + name: 'new_card', + desc: '', + args: [], + ); } /// `У вас нет привязанных карт. Что бы начать работу, привяжите карту` @@ -2961,7 +3642,12 @@ class S { /// `Завершен` String get done { - return Intl.message('Завершен', name: 'done', desc: '', args: []); + return Intl.message( + 'Завершен', + name: 'done', + desc: '', + args: [], + ); } /// `Поздравляем, консультация успешно оплачена` @@ -3126,7 +3812,12 @@ class S { /// `Отправить` String get send { - return Intl.message('Отправить', name: 'send', desc: '', args: []); + return Intl.message( + 'Отправить', + name: 'send', + desc: '', + args: [], + ); } /// `Прокомментировать день` @@ -3211,7 +3902,12 @@ class S { /// `Отменить` String get cancel { - return Intl.message('Отменить', name: 'cancel', desc: '', args: []); + return Intl.message( + 'Отменить', + name: 'cancel', + desc: '', + args: [], + ); } /// `Заказ отменен` @@ -3576,12 +4272,22 @@ class S { /// `Скопировать` String get copy { - return Intl.message('Скопировать', name: 'copy', desc: '', args: []); + return Intl.message( + 'Скопировать', + name: 'copy', + desc: '', + args: [], + ); } /// `Ответить` String get reply { - return Intl.message('Ответить', name: 'reply', desc: '', args: []); + return Intl.message( + 'Ответить', + name: 'reply', + desc: '', + args: [], + ); } /// `Удалить комментарий` @@ -3706,7 +4412,12 @@ class S { /// `Удалить` String get delete { - return Intl.message('Удалить', name: 'delete', desc: '', args: []); + return Intl.message( + 'Удалить', + name: 'delete', + desc: '', + args: [], + ); } /// `Не получилось удалить ваш аккаунт` @@ -3751,7 +4462,12 @@ class S { /// `Ваше имя` String get your_name { - return Intl.message('Ваше имя', name: 'your_name', desc: '', args: []); + return Intl.message( + 'Ваше имя', + name: 'your_name', + desc: '', + args: [], + ); } /// `Ваша фамилия` @@ -3776,22 +4492,42 @@ class S { /// `Телефон` String get phone { - return Intl.message('Телефон', name: 'phone', desc: '', args: []); + return Intl.message( + 'Телефон', + name: 'phone', + desc: '', + args: [], + ); } /// `М` String get male_short { - return Intl.message('М', name: 'male_short', desc: '', args: []); + return Intl.message( + 'М', + name: 'male_short', + desc: '', + args: [], + ); } /// `Ж` String get female_short { - return Intl.message('Ж', name: 'female_short', desc: '', args: []); + return Intl.message( + 'Ж', + name: 'female_short', + desc: '', + args: [], + ); } /// `Далее` String get next { - return Intl.message('Далее', name: 'next', desc: '', args: []); + return Intl.message( + 'Далее', + name: 'next', + desc: '', + args: [], + ); } /// `Введите рост` @@ -3806,7 +4542,12 @@ class S { /// `Введите вес` String get type_weight { - return Intl.message('Введите вес', name: 'type_weight', desc: '', args: []); + return Intl.message( + 'Введите вес', + name: 'type_weight', + desc: '', + args: [], + ); } /// `Зарегистрироваться` @@ -3821,7 +4562,12 @@ class S { /// `Последний шаг` String get last_step { - return Intl.message('Последний шаг', name: 'last_step', desc: '', args: []); + return Intl.message( + 'Последний шаг', + name: 'last_step', + desc: '', + args: [], + ); } /// `Эти данные нужны для корректной работы дневника питания и расчета вашей дневной нормы потребления КБЖУ` @@ -4016,12 +4762,22 @@ class S { /// `Скопировано!` String get copied2 { - return Intl.message('Скопировано!', name: 'copied2', desc: '', args: []); + return Intl.message( + 'Скопировано!', + name: 'copied2', + desc: '', + args: [], + ); } /// `Войти в аккаунт` String get login { - return Intl.message('Войти в аккаунт', name: 'login', desc: '', args: []); + return Intl.message( + 'Войти в аккаунт', + name: 'login', + desc: '', + args: [], + ); } /// `Регистрация не удалась!` @@ -4046,7 +4802,12 @@ class S { /// `Покупатель` String get customer { - return Intl.message('Покупатель', name: 'customer', desc: '', args: []); + return Intl.message( + 'Покупатель', + name: 'customer', + desc: '', + args: [], + ); } /// `Персональная диета установлена` @@ -4081,7 +4842,12 @@ class S { /// `14 дней` String get fourteenDays { - return Intl.message('14 дней', name: 'fourteenDays', desc: '', args: []); + return Intl.message( + '14 дней', + name: 'fourteenDays', + desc: '', + args: [], + ); } /// `Мы собираем самое большое сообщество людей, желающих вести здоровый образ жизни!` @@ -4116,7 +4882,12 @@ class S { /// `Пригласить` String get invite { - return Intl.message('Пригласить', name: 'invite', desc: '', args: []); + return Intl.message( + 'Пригласить', + name: 'invite', + desc: '', + args: [], + ); } /// `Комментарий` @@ -4171,7 +4942,12 @@ class S { /// `Video call` String get video_call { - return Intl.message('Video call', name: 'video_call', desc: '', args: []); + return Intl.message( + 'Video call', + name: 'video_call', + desc: '', + args: [], + ); } /// `Eatvio consultant` @@ -4196,7 +4972,12 @@ class S { /// `You` String get video_call_you { - return Intl.message('You', name: 'video_call_you', desc: '', args: []); + return Intl.message( + 'You', + name: 'video_call_you', + desc: '', + args: [], + ); } /// `You have a poor internet connection` @@ -4261,22 +5042,42 @@ class S { /// `Chat` String get video_call_chat { - return Intl.message('Chat', name: 'video_call_chat', desc: '', args: []); + return Intl.message( + 'Chat', + name: 'video_call_chat', + desc: '', + args: [], + ); } /// `Sound` String get video_call_sound { - return Intl.message('Sound', name: 'video_call_sound', desc: '', args: []); + return Intl.message( + 'Sound', + name: 'video_call_sound', + desc: '', + args: [], + ); } /// `Video` String get video_call_video { - return Intl.message('Video', name: 'video_call_video', desc: '', args: []); + return Intl.message( + 'Video', + name: 'video_call_video', + desc: '', + args: [], + ); } /// `Leave` String get video_call_leave { - return Intl.message('Leave', name: 'video_call_leave', desc: '', args: []); + return Intl.message( + 'Leave', + name: 'video_call_leave', + desc: '', + args: [], + ); } /// `?` @@ -4331,12 +5132,22 @@ class S { /// `Yes` String get yes { - return Intl.message('Yes', name: 'yes', desc: '', args: []); + return Intl.message( + 'Yes', + name: 'yes', + desc: '', + args: [], + ); } /// `Apply` String get apply { - return Intl.message('Apply', name: 'apply', desc: '', args: []); + return Intl.message( + 'Apply', + name: 'apply', + desc: '', + args: [], + ); } /// `Do you have a promo code?` @@ -4361,7 +5172,12 @@ class S { /// `Promo code` String get promo_code { - return Intl.message('Promo code', name: 'promo_code', desc: '', args: []); + return Intl.message( + 'Promo code', + name: 'promo_code', + desc: '', + args: [], + ); } /// `Enter promo code` @@ -4516,12 +5332,22 @@ class S { /// `Enter` String get video_call_enter { - return Intl.message('Enter', name: 'video_call_enter', desc: '', args: []); + return Intl.message( + 'Enter', + name: 'video_call_enter', + desc: '', + args: [], + ); } /// `Close` String get video_call_close { - return Intl.message('Close', name: 'video_call_close', desc: '', args: []); + return Intl.message( + 'Close', + name: 'video_call_close', + desc: '', + args: [], + ); } /// `Call in progress` @@ -4596,7 +5422,12 @@ class S { /// `BMI` String get insights_tab_bmi { - return Intl.message('BMI', name: 'insights_tab_bmi', desc: '', args: []); + return Intl.message( + 'BMI', + name: 'insights_tab_bmi', + desc: '', + args: [], + ); } /// `Measurements` @@ -4631,22 +5462,42 @@ class S { /// `1M` String get insights_period_1m { - return Intl.message('1M', name: 'insights_period_1m', desc: '', args: []); + 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: []); + 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: []); + 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: []); + return Intl.message( + '1Y', + name: 'insights_period_1y', + desc: '', + args: [], + ); } /// `All time` @@ -4661,12 +5512,22 @@ class S { /// `1W` String get insights_period_1w { - return Intl.message('1W', name: 'insights_period_1w', desc: '', args: []); + 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: []); + return Intl.message( + '2W', + name: 'insights_period_2w', + desc: '', + args: [], + ); } /// `Waist` @@ -4771,17 +5632,32 @@ class S { /// `kg` String get insights_unit_kg { - return Intl.message('kg', name: 'insights_unit_kg', desc: '', args: []); + 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: []); + 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: []); + return Intl.message( + 'cm', + name: 'insights_unit_cm', + desc: '', + args: [], + ); } /// `cm waist` @@ -4796,7 +5672,12 @@ class S { /// `kcal` String get insights_unit_kcal { - return Intl.message('kcal', name: 'insights_unit_kcal', desc: '', args: []); + return Intl.message( + 'kcal', + name: 'insights_unit_kcal', + desc: '', + args: [], + ); } /// `kcal on average` @@ -5121,7 +6002,12 @@ class S { /// `Retry` String get insights_retry { - return Intl.message('Retry', name: 'insights_retry', desc: '', args: []); + 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.` @@ -5196,7 +6082,12 @@ class S { /// `Today` String get insights_today { - return Intl.message('Today', name: 'insights_today', desc: '', args: []); + return Intl.message( + 'Today', + name: 'insights_today', + desc: '', + args: [], + ); } /// `Failed to save the entry` @@ -5241,7 +6132,12 @@ class S { /// `User` String get default_user_name { - return Intl.message('User', name: 'default_user_name', desc: '', args: []); + return Intl.message( + 'User', + name: 'default_user_name', + desc: '', + args: [], + ); } /// `You have proposed a personal diet to {userName}` @@ -5256,9 +6152,7 @@ class S { /// `You have proposed a personal diet to {userName}, selected diet: «{dietName}»` String personal_diet_defined_to_author_named( - String userName, - String dietName, - ) { + String userName, String dietName) { return Intl.message( 'You have proposed a personal diet to $userName, selected diet: «$dietName»', name: 'personal_diet_defined_to_author_named', @@ -5318,12 +6212,8 @@ class S { } /// `Not suitable: diet lasts {dietDuration} {dietDayWord}, plan lasts {planDuration} {planDayWord}.` - String personal_diet_duration_mismatch( - int dietDuration, - String dietDayWord, - int planDuration, - String planDayWord, - ) { + String personal_diet_duration_mismatch(int dietDuration, String dietDayWord, + int planDuration, String planDayWord) { return Intl.message( 'Not suitable: diet lasts $dietDuration $dietDayWord, plan lasts $planDuration $planDayWord.', name: 'personal_diet_duration_mismatch', diff --git a/pubspec.yaml b/pubspec.yaml index dad171d6..9ef19605 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: eatvio_app description: A new Flutter project. -version: 1.3.72+161 +version: 1.3.73+162 publish_to: 'none' environment: diff --git a/test/features/chat/presentation/pages/chat_screen_loaded_smoke_test.dart b/test/features/chat/presentation/pages/chat_screen_loaded_smoke_test.dart index 8e7cc997..3bb333eb 100644 --- a/test/features/chat/presentation/pages/chat_screen_loaded_smoke_test.dart +++ b/test/features/chat/presentation/pages/chat_screen_loaded_smoke_test.dart @@ -12,6 +12,12 @@ import 'package:eatvio_app/features/chat/presentation/bloc/chat_room_cubit/chat_ import 'package:eatvio_app/features/chat/presentation/bloc/chats_cubit/chats_cubit.dart'; import 'package:eatvio_app/features/chat/presentation/bloc/chats_cubit/chats_state.dart'; import 'package:eatvio_app/features/chat/presentation/pages/chat_screen.dart'; +import 'package:eatvio_app/features/chat/presentation/widgets/video_call_chat_message_widget.dart'; +import 'package:eatvio_app/features/feed/models/diets_pagination_model.dart'; +import 'package:eatvio_app/features/feed/models/plan_pagination_model.dart'; +import 'package:eatvio_app/features/plans/enums/chosen_plan_state_enum.dart'; +import 'package:eatvio_app/features/plans/models/chosen_plan_model.dart'; +import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; @@ -55,13 +61,57 @@ void main() { final fakeBundle = _FakeAssetBundle({ 'assets/icons/error_icon.svg': fakeSvg, + 'assets/icons/video_call/vc_control_enter.svg': fakeSvg, }); + const plan = PlanModel( + id: 1, + slug: 'test-plan', + name: 'Test Plan', + image: 'https://example.com/image.jpg', + duration: 30, + state: 'active', + type: PlanType(fit: true, slim: false, behavior: false, wellness: false), + details: 'Test details', + packetsCount: 3, + author: Author( + authorSlug: 'author', + authorName: 'Author Name', + authorProfileIcon: 'https://example.com/icon.jpg', + authorIsMe: false, + ), + totalLikes: 10, + totalViews: 100, + totalComments: 5, + isFavorite: false, + minPriceOfOptions: 1000, + maxPriceOfOptions: 2000, + wasLikedByMe: false, + ); + + ChosenPlanModel chosenPlan(ChosenPlanStateEnum state) { + return ChosenPlanModel( + id: 7, + optionType: 'options1', + startDate: DateTime(2025, 1, 1), + chosenPlanState: state, + chatId: '1', + consultantId: 2, + plan: plan, + ); + } + Widget wrap(Widget child, ChatsCubit chatsCubit) { return DefaultAssetBundle( bundle: fakeBundle, child: MaterialApp( theme: ThemeHelper().themeData(), + locale: const Locale('ru'), + localizationsDelegates: const [ + S.delegate, + ...GlobalMaterialLocalizations.delegates, + ], + supportedLocales: S.delegate.supportedLocales, home: BlocProvider.value(value: chatsCubit, child: child), ), ); @@ -202,9 +252,133 @@ void main() { expect(find.text('sending...'), findsOneWidget); expect(find.text('tap to retry'), findsOneWidget); expect(find.text('file.pdf'), findsOneWidget); + expect(find.byIcon(Icons.videocam_rounded), findsNothing); VisibilityDetectorController.instance.notifyNow(); await tester.pump(); }); + + Future pumpLoadedChat( + WidgetTester tester, { + ChosenPlanModel? plan, + List messages = const [], + }) async { + final chatRoomCubit = MockChatRoomCubit(); + final chatsCubit = MockChatsCubit(); + const chatRoom = ChatRoomModel( + id: '1', + chatRoomSettings: ChatRoomSettingsModel(name: 'room', state: 'active'), + users: Users( + sender: ChatUserModel( + id: 1, + name: 'Me', + slug: 'me', + profilePhotoUrl: null, + ), + receiver: ChatUserModel( + id: 2, + name: 'User Two', + slug: 'user-two', + profilePhotoUrl: null, + ), + ), + chosenPlanId: 7, + chosenPlan: null, + ); + final state = ChatRoomState.loaded( + chatRoom: chatRoom.copyWith(chosenPlan: plan), + chatMessages: messages, + hasCard: false, + isTyping: false, + isLoading: false, + ); + + when(chatRoomCubit.state).thenReturn(state); + when( + chatRoomCubit.stream, + ).thenAnswer((_) => const Stream.empty()); + when(chatRoomCubit.close()).thenAnswer((_) async => Future.value()); + when( + chatRoomCubit.initChat( + any, + sendInitialMessage: anyNamed('sendInitialMessage'), + orderId: anyNamed('orderId'), + ), + ).thenAnswer((_) async => 'uuid'); + when(chatRoomCubit.setTimer()).thenReturn(null); + when(chatRoomCubit.refreshChat()).thenAnswer((_) async {}); + + if (sl.isRegistered()) { + sl.unregister(); + } + sl.registerFactory(() => chatRoomCubit); + + when(chatsCubit.state).thenReturn(ChatsState()); + when(chatsCubit.stream).thenAnswer((_) => const Stream.empty()); + when(chatsCubit.close()).thenAnswer((_) async => Future.value()); + + await tester.pumpWidget( + wrap( + const ChatScreen(uuid: 'uuid', sendInitialMessage: false), + chatsCubit, + ), + ); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 200)); + } + + ChatMessageModel incomingCallMessage() { + return ChatMessageModel( + id: 9, + data: 'Видеозвонок', + mediaData: const [], + authorId: 2, + updatedAt: DateTime(2025, 1, 2, 11), + isRead: true, + isCurrentUserAuthor: false, + roomId: '1', + type: ChatMessageType.videoCallStarted, + messageState: MessageState.sent, + uuid: 'call', + ); + } + + testWidgets('shows the call button for an active consultation', ( + tester, + ) async { + await pumpLoadedChat( + tester, + plan: chosenPlan(ChosenPlanStateEnum.stateInProgress), + messages: [incomingCallMessage()], + ); + + expect(find.byIcon(Icons.videocam_rounded), findsOneWidget); + expect(find.byType(VideoCallChatMessageWidget), findsOneWidget); + }); + + testWidgets('hides the call button for a finished consultation', ( + tester, + ) async { + await pumpLoadedChat( + tester, + plan: chosenPlan(ChosenPlanStateEnum.stateDone), + messages: [incomingCallMessage()], + ); + + expect(find.byIcon(Icons.videocam_rounded), findsNothing); + expect(find.byType(VideoCallChatMessageWidget), findsNothing); + expect(find.text('Видеозвонок'), findsOneWidget); + }); + + testWidgets('hides the call button for a canceled consultation', ( + tester, + ) async { + await pumpLoadedChat( + tester, + plan: chosenPlan(ChosenPlanStateEnum.stateCanceledByTheInitiator), + ); + + expect(find.byIcon(Icons.videocam_rounded), findsNothing); + }); }); } diff --git a/test/features/diary/presentation/bloc/diary_cubit_test.dart b/test/features/diary/presentation/bloc/diary_cubit_test.dart index 4f593dfd..0ac391cf 100644 --- a/test/features/diary/presentation/bloc/diary_cubit_test.dart +++ b/test/features/diary/presentation/bloc/diary_cubit_test.dart @@ -1,5 +1,6 @@ import 'package:dio/dio.dart'; import 'package:eatvio_app/features/chat/repositories/chat_repository.dart'; +import 'package:eatvio_app/features/consultations/models/consultation_model.dart'; import 'package:eatvio_app/features/diary/entities/diary_future_diet_day_entity.dart'; import 'package:eatvio_app/features/diary/models/diary_day_model.dart'; import 'package:eatvio_app/features/diary/models/nutrition_model.dart'; @@ -41,7 +42,11 @@ void main() { date: '2024-01-15', closed: 0, comment: '', - typeOfDiary: TypeOfDiaryModel(hasChosenDiet: false, hasChosenPlan: false, diaryState: null), + typeOfDiary: TypeOfDiaryModel( + hasChosenDiet: false, + hasChosenPlan: false, + diaryState: null, + ), meals: [], chosenPlanId: null, dayOfChosenDiet: null, @@ -49,8 +54,18 @@ void main() { ); const testNutrition = NutritionDataModel( - dailyNutritionIntake: NutritionModel(energy: 2000.0, proteins: 150.0, fats: 80.0, carbohydrates: 250.0), - dailyNutritionRecommendation: NutritionModel(energy: 2200.0, proteins: 160.0, fats: 90.0, carbohydrates: 270.0), + dailyNutritionIntake: NutritionModel( + energy: 2000.0, + proteins: 150.0, + fats: 80.0, + carbohydrates: 250.0, + ), + dailyNutritionRecommendation: NutritionModel( + energy: 2200.0, + proteins: 160.0, + fats: 90.0, + carbohydrates: 270.0, + ), ); setUp(() { @@ -91,9 +106,15 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -120,8 +141,12 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.getDiaryDay(any)).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDay(any), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -132,7 +157,10 @@ void main() { ), ); - final result = await diaryCubit!.fetchDiaryV2(needLoading: true, diaryId: 1); + final result = await diaryCubit!.fetchDiaryV2( + needLoading: true, + diaryId: 1, + ); expect(result, true); await Future.delayed(const Duration(milliseconds: 100)); @@ -143,11 +171,18 @@ void main() { when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenThrow( DioException( requestOptions: RequestOptions(path: ''), - response: Response(requestOptions: RequestOptions(path: ''), statusCode: 422), + response: Response( + requestOptions: RequestOptions(path: ''), + statusCode: 422, + ), ), ); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -182,9 +217,15 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -203,75 +244,100 @@ void main() { expect(diaryCubit!.state, isA()); }); - test('setDiaryForDietOnly - устанавливает дневник только для диеты', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - const diet = Diet( - id: 1, - slug: 'test-diet', - name: 'Test Diet', - image: '', - duration: 7, - state: DietState.active, - type: DietType(), - details: '', - dailySchedule: { - 1: { - 1: {1: DailySchedule(name: 'Яблоко', portion: Portion.grams, quantity: 1)}, + test( + 'setDiaryForDietOnly - устанавливает дневник только для диеты', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + const diet = Diet( + id: 1, + slug: 'test-diet', + name: 'Test Diet', + image: '', + duration: 7, + state: DietState.active, + type: DietType(), + details: '', + dailySchedule: { + 1: { + 1: { + 1: DailySchedule( + name: 'Яблоко', + portion: Portion.grams, + quantity: 1, + ), + }, + }, }, - }, - author: Author(authorSlug: 'test', authorName: 'Test', authorProfileIcon: '', authorIsMe: false), - totalLikes: 0, - totalViews: 0, - totalComments: 0, - wasLikedByMe: false, - isFavorite: false, - dailyNutrition: [], - ); + author: Author( + authorSlug: 'test', + authorName: 'Test', + authorProfileIcon: '', + authorIsMe: false, + ), + totalLikes: 0, + totalViews: 0, + totalComments: 0, + wasLikedByMe: false, + isFavorite: false, + dailyNutrition: [], + ); - when(mockDietRepository.getDiet(1)).thenAnswer((_) async => diet); + when(mockDietRepository.getDiet(1)).thenAnswer((_) async => diet); - final result = await diaryCubit!.setDiaryForDietOnly( - const DiaryFutureDietDayEntity( - date: '2024-01-15', - typeOfDiary: TypeOfDiaryModel(hasChosenDiet: true, hasChosenPlan: false, diaryState: null), - meals: [], - dayOfChosenDiet: 1, - diet: DiaryDietModel(id: 1, duration: 7, name: 'Test Diet'), - ), - ); + final result = await diaryCubit!.setDiaryForDietOnly( + const DiaryFutureDietDayEntity( + date: '2024-01-15', + typeOfDiary: TypeOfDiaryModel( + hasChosenDiet: true, + hasChosenPlan: false, + diaryState: null, + ), + meals: [], + dayOfChosenDiet: 1, + diet: DiaryDietModel(id: 1, duration: 7, name: 'Test Diet'), + ), + ); - expect(result, true); - expect(diaryCubit!.state, isA()); - }); + expect(result, true); + expect(diaryCubit!.state, isA()); + }, + ); - test('setDiaryForDietOnly - возвращает false если нет выбранной диеты', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - final result = await diaryCubit!.setDiaryForDietOnly( - const DiaryFutureDietDayEntity( - date: '2024-01-15', - typeOfDiary: TypeOfDiaryModel(hasChosenDiet: false, hasChosenPlan: false, diaryState: null), - meals: [], - dayOfChosenDiet: null, - diet: null, - ), - ); + test( + 'setDiaryForDietOnly - возвращает false если нет выбранной диеты', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + final result = await diaryCubit!.setDiaryForDietOnly( + const DiaryFutureDietDayEntity( + date: '2024-01-15', + typeOfDiary: TypeOfDiaryModel( + hasChosenDiet: false, + hasChosenPlan: false, + diaryState: null, + ), + meals: [], + dayOfChosenDiet: null, + diet: null, + ), + ); - expect(result, false); - }); + expect(result, false); + }, + ); test('finishDiaryDay - завершает день дневника', () async { diaryCubit = DiaryCubit( @@ -283,10 +349,19 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.finishDiaryDay(diaryId: anyNamed('diaryId'), wakeUp: anyNamed('wakeUp'), retire: anyNamed('retire'), comment: anyNamed('comment')), + mockDiaryRepository.finishDiaryDay( + diaryId: anyNamed('diaryId'), + wakeUp: anyNamed('wakeUp'), + retire: anyNamed('retire'), + comment: anyNamed('comment'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -299,7 +374,11 @@ void main() { await diaryCubit!.fetchDiaryV2(needLoading: true); await Future.delayed(const Duration(milliseconds: 100)); - await diaryCubit!.finishDiaryDay(diaryId: 1, wakeUp: '07:00', retire: '23:00'); + await diaryCubit!.finishDiaryDay( + diaryId: 1, + wakeUp: '07:00', + retire: '23:00', + ); await Future.delayed(const Duration(milliseconds: 100)); }); @@ -322,8 +401,12 @@ void main() { productNutritionalValueId: anyNamed('productNutritionalValueId'), ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -336,7 +419,13 @@ void main() { await diaryCubit!.fetchDiaryV2(needLoading: true); await Future.delayed(const Duration(milliseconds: 100)); - await diaryCubit!.addProductToMeal(diaryId: 1, mealId: 1, productName: 'Яблоко', portion: '100г', quantity: 2); + await diaryCubit!.addProductToMeal( + diaryId: 1, + mealId: 1, + productName: 'Яблоко', + portion: '100г', + quantity: 2, + ); await Future.delayed(const Duration(milliseconds: 100)); }); @@ -350,10 +439,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.markEaten(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), portionId: anyNamed('portionId')), + mockDiaryRepository.markEaten( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + portionId: anyNamed('portionId'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -370,39 +467,42 @@ void main() { await Future.delayed(const Duration(milliseconds: 100)); }); - test('getGlossaryListByQuery - получает список глоссариев по запросу', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - when(mockGlossaryRepository.getGlossaryListByQuery(any)).thenAnswer( - (_) async => [ - const GlossaryModel( - id: 1, - name: 'Яблоко', - grInPortion: 100, - energyOn100Gr: 52.0, - proteinsOn100Gr: 0.3, - fatsOn100Gr: 0.2, - carbohydratesOn100Gr: 14.0, - energyOnPortion: 52.0, - proteinsOnPortion: 0.3, - fatsOnPortion: 0.2, - carbohydratesOnPortion: 14.0, - ), - ], - ); + test( + 'getGlossaryListByQuery - получает список глоссариев по запросу', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + when(mockGlossaryRepository.getGlossaryListByQuery(any)).thenAnswer( + (_) async => [ + const GlossaryModel( + id: 1, + name: 'Яблоко', + grInPortion: 100, + energyOn100Gr: 52.0, + proteinsOn100Gr: 0.3, + fatsOn100Gr: 0.2, + carbohydratesOn100Gr: 14.0, + energyOnPortion: 52.0, + proteinsOnPortion: 0.3, + fatsOnPortion: 0.2, + carbohydratesOnPortion: 14.0, + ), + ], + ); - final result = await diaryCubit!.getGlossaryListByQuery('яблоко'); + final result = await diaryCubit!.getGlossaryListByQuery('яблоко'); - expect(result, isA>()); - expect(result.length, 1); - expect(result.first.name, 'Яблоко'); - }); + expect(result, isA>()); + expect(result.length, 1); + expect(result.first.name, 'Яблоко'); + }, + ); test('fillSatiety - заполняет сытость', () async { diaryCubit = DiaryCubit( @@ -414,10 +514,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.fillSatiety(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), satiety: anyNamed('satiety')), + mockDiaryRepository.fillSatiety( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + satiety: anyNamed('satiety'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -444,10 +552,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.fillMood(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), mood: anyNamed('mood')), + mockDiaryRepository.fillMood( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + mood: anyNamed('mood'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -486,8 +602,12 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -512,7 +632,9 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenThrow(Exception('Ошибка')); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenThrow(Exception('Ошибка')); await diaryCubit!.updateCurrentDiary(); await Future.delayed(const Duration(milliseconds: 100)); @@ -527,7 +649,9 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); final result = await diaryCubit!.getNutrition(1); @@ -556,8 +680,12 @@ void main() { portionState: anyNamed('portionState'), ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -604,10 +732,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.unmarkEaten(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), portionId: anyNamed('portionId')), + mockDiaryRepository.unmarkEaten( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + portionId: anyNamed('portionId'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -622,7 +758,9 @@ void main() { await Future.delayed(const Duration(milliseconds: 100)); await diaryCubit!.unmarkEaten(diaryId: 1, mealId: 1, portionId: 5); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.unmarkEaten(diaryId: 1, mealId: 1, portionId: 5)).called(1); + verify( + mockDiaryRepository.unmarkEaten(diaryId: 1, mealId: 1, portionId: 5), + ).called(1); }); test('restore - восстанавливает продукт', () async { @@ -635,10 +773,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.restore(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), portionId: anyNamed('portionId')), + mockDiaryRepository.restore( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + portionId: anyNamed('portionId'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -653,7 +799,9 @@ void main() { await Future.delayed(const Duration(milliseconds: 100)); await diaryCubit!.restore(diaryId: 1, mealId: 1, portionId: 5); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.restore(diaryId: 1, mealId: 1, portionId: 5)).called(1); + verify( + mockDiaryRepository.restore(diaryId: 1, mealId: 1, portionId: 5), + ).called(1); }); test('deleteProductFromMeal - удаляет продукт из приема пищи', () async { @@ -666,10 +814,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.deleteProductFromMeal(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), portionId: anyNamed('portionId')), + mockDiaryRepository.deleteProductFromMeal( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + portionId: anyNamed('portionId'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -682,9 +838,19 @@ void main() { await diaryCubit!.fetchDiaryV2(needLoading: true); await Future.delayed(const Duration(milliseconds: 100)); - await diaryCubit!.deleteProductFromMeal(diaryId: 1, mealId: 1, portionId: 5); + await diaryCubit!.deleteProductFromMeal( + diaryId: 1, + mealId: 1, + portionId: 5, + ); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.deleteProductFromMeal(diaryId: 1, mealId: 1, portionId: 5)).called(1); + verify( + mockDiaryRepository.deleteProductFromMeal( + diaryId: 1, + mealId: 1, + portionId: 5, + ), + ).called(1); }); test('sendProductToModeration - отправляет продукт на модерацию', () async { @@ -721,10 +887,24 @@ void main() { ), ).thenAnswer((_) async => moderationModel); - final result = await diaryCubit!.sendProductToModeration(name: 'Новый продукт', energy: 100.0, proteins: 10.0, fats: 5.0, carbohydrates: 15.0); + final result = await diaryCubit!.sendProductToModeration( + name: 'Новый продукт', + energy: 100.0, + proteins: 10.0, + fats: 5.0, + carbohydrates: 15.0, + ); expect(result, moderationModel); - verify(mockDiaryRepository.sendProductToModeration(name: 'Новый продукт', energy: 100.0, proteins: 10.0, fats: 5.0, carbohydrates: 15.0)).called(1); + verify( + mockDiaryRepository.sendProductToModeration( + name: 'Новый продукт', + energy: 100.0, + proteins: 10.0, + fats: 5.0, + carbohydrates: 15.0, + ), + ).called(1); }); test('sendProductToModeration - возвращает null при ошибке', () async { @@ -746,7 +926,13 @@ void main() { ), ).thenThrow(Exception('Ошибка')); - final result = await diaryCubit!.sendProductToModeration(name: 'Новый продукт', energy: 100.0, proteins: 10.0, fats: 5.0, carbohydrates: 15.0); + final result = await diaryCubit!.sendProductToModeration( + name: 'Новый продукт', + energy: 100.0, + proteins: 10.0, + fats: 5.0, + carbohydrates: 15.0, + ); expect(result, isNull); }); @@ -761,10 +947,18 @@ void main() { settingsRepository: mockSettingsRepository, ); when( - mockDiaryRepository.fillTime(diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId'), time: anyNamed('time')), + mockDiaryRepository.fillTime( + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + time: anyNamed('time'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -779,7 +973,9 @@ void main() { await Future.delayed(const Duration(milliseconds: 100)); await diaryCubit!.fillTime(diaryId: 1, time: '12:00'); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.fillTime(diaryId: 1, mealId: 1, time: '12:00')).called(1); + verify( + mockDiaryRepository.fillTime(diaryId: 1, mealId: 1, time: '12:00'), + ).called(1); }); test('fillWakeup - заполняет время пробуждения', () async { @@ -791,9 +987,18 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.fillWakeup(diaryId: anyNamed('diaryId'), time: anyNamed('time'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.fillWakeup( + diaryId: anyNamed('diaryId'), + time: anyNamed('time'), + ), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -808,7 +1013,9 @@ void main() { await Future.delayed(const Duration(milliseconds: 100)); await diaryCubit!.fillWakeup(diaryId: 1, time: '07:00'); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.fillWakeup(diaryId: 1, time: '07:00')).called(1); + verify( + mockDiaryRepository.fillWakeup(diaryId: 1, time: '07:00'), + ).called(1); }); test('fillRetire - заполняет время отхода ко сну', () async { @@ -820,9 +1027,18 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.fillRetire(diaryId: anyNamed('diaryId'), time: anyNamed('time'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.fillRetire( + diaryId: anyNamed('diaryId'), + time: anyNamed('time'), + ), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -837,7 +1053,9 @@ void main() { await Future.delayed(const Duration(milliseconds: 100)); await diaryCubit!.fillRetire(diaryId: 1, time: '23:00'); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.fillRetire(diaryId: 1, time: '23:00')).called(1); + verify( + mockDiaryRepository.fillRetire(diaryId: 1, time: '23:00'), + ).called(1); }); test('getDiary - создает новый день дневника', () async { @@ -849,39 +1067,59 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); final result = await diaryCubit!.getDiary(); expect(result, isNotNull); - verify(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).called(1); + verify( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).called(1); verify(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).called(1); }); - test('getDiary - обрабатывает ошибку 422 и получает существующий день', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenThrow( - DioException( - requestOptions: RequestOptions(path: ''), - response: Response(requestOptions: RequestOptions(path: ''), statusCode: 422), - ), - ); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); + test( + 'getDiary - обрабатывает ошибку 422 и получает существующий день', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenThrow( + DioException( + requestOptions: RequestOptions(path: ''), + response: Response( + requestOptions: RequestOptions(path: ''), + statusCode: 422, + ), + ), + ); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); - final result = await diaryCubit!.getDiary(); + final result = await diaryCubit!.getDiary(); - expect(result, isNotNull); - verify(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).called(1); - verify(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).called(1); - }); + expect(result, isNotNull); + verify( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).called(1); + verify( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).called(1); + }, + ); test('getDiary - возвращает null при другой ошибке', () async { diaryCubit = DiaryCubit( @@ -895,7 +1133,10 @@ void main() { when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenThrow( DioException( requestOptions: RequestOptions(path: ''), - response: Response(requestOptions: RequestOptions(path: ''), statusCode: 500), + response: Response( + requestOptions: RequestOptions(path: ''), + statusCode: 500, + ), ), ); @@ -920,7 +1161,10 @@ void main() { when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenThrow( DioException( requestOptions: RequestOptions(path: ''), - response: Response(requestOptions: RequestOptions(path: ''), statusCode: 500), + response: Response( + requestOptions: RequestOptions(path: ''), + statusCode: 500, + ), ), ); @@ -941,12 +1185,25 @@ void main() { chatRepository: mockChatRepository, settingsRepository: mockSettingsRepository, ); - const photo = DiaryPhotoModel(id: 1, originalName: 'test.jpg', path: 'path/to/test.jpg', size: 100); + const photo = DiaryPhotoModel( + id: 1, + originalName: 'test.jpg', + path: 'path/to/test.jpg', + size: 100, + ); when( - mockDiaryRepository.deletePhoto(photo: anyNamed('photo'), diaryId: anyNamed('diaryId'), mealId: anyNamed('mealId')), + mockDiaryRepository.deletePhoto( + photo: anyNamed('photo'), + diaryId: anyNamed('diaryId'), + mealId: anyNamed('mealId'), + ), ).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => testDiaryDay); - when(mockDiaryRepository.getNutritionData(any)).thenAnswer((_) async => testNutrition); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => testDiaryDay); + when( + mockDiaryRepository.getNutritionData(any), + ).thenAnswer((_) async => testNutrition); when(mockSettingsRepository.getProfileSettings()).thenAnswer( (_) async => const ProfileSettingsModel( isMoodFillable: true, @@ -963,118 +1220,236 @@ void main() { await diaryCubit!.deletePhoto(photo: photo, diaryId: 1); await Future.delayed(const Duration(milliseconds: 100)); - verify(mockDiaryRepository.deletePhoto(photo: photo, diaryId: 1, mealId: 1)).called(1); + verify( + mockDiaryRepository.deletePhoto(photo: photo, diaryId: 1, mealId: 1), + ).called(1); }); - test('setSelectedDay - возвращает true даже если getDiary возвращает null', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenThrow( - DioException( - requestOptions: RequestOptions(path: ''), - response: Response(requestOptions: RequestOptions(path: ''), statusCode: 500), - ), - ); + test( + 'setSelectedDay - возвращает true даже если getDiary возвращает null', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenThrow( + DioException( + requestOptions: RequestOptions(path: ''), + response: Response( + requestOptions: RequestOptions(path: ''), + statusCode: 500, + ), + ), + ); - final result = await diaryCubit!.setSelectedDay(DateTime(2024, 1, 20)); + final result = await diaryCubit!.setSelectedDay(DateTime(2024, 1, 20)); - // fetchDiaryV2 возвращает true когда getDiary() == null, так как эмитит состояние ошибки - expect(result, true); - expect(diaryCubit!.state, isA()); - }); + // fetchDiaryV2 возвращает true когда getDiary() == null, так как эмитит состояние ошибки + expect(result, true); + expect(diaryCubit!.state, isA()); + }, + ); - test('fetchDiaryV2 - обрабатывает случай когда diaryEntity == null и нет диеты', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - // toEntity() возвращает null когда id == null - const diaryDayWithoutEntity = DiaryDayModel( - id: null, - date: '2024-01-15', - closed: 0, - comment: '', - typeOfDiary: TypeOfDiaryModel(hasChosenDiet: false, hasChosenPlan: false, diaryState: null), - meals: [], - chosenPlanId: null, - dayOfChosenDiet: null, - diet: null, - ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => diaryDayWithoutEntity); + test( + 'fetchDiaryV2 - обрабатывает случай когда diaryEntity == null и нет диеты', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + // toEntity() возвращает null когда id == null + const diaryDayWithoutEntity = DiaryDayModel( + id: null, + date: '2024-01-15', + closed: 0, + comment: '', + typeOfDiary: TypeOfDiaryModel( + hasChosenDiet: false, + hasChosenPlan: false, + diaryState: null, + ), + meals: [], + chosenPlanId: null, + dayOfChosenDiet: null, + diet: null, + ); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => diaryDayWithoutEntity); - final result = await diaryCubit!.fetchDiaryV2(needLoading: false); + final result = await diaryCubit!.fetchDiaryV2(needLoading: false); - // Если diaryEntity == null (id == null) и нет диеты, fetchDiaryV2 возвращает false - // и эмитит предыдущее состояние (loading) - expect(result, false); - expect(diaryCubit!.state, const DiaryState.loading()); - }); + // Если diaryEntity == null (id == null) и нет диеты, fetchDiaryV2 возвращает false + // и эмитит предыдущее состояние (loading) + expect(result, false); + expect(diaryCubit!.state, const DiaryState.loading()); + }, + ); - test('fetchDiaryV2 - обрабатывает случай когда diaryEntity == null но есть диета', () async { - diaryCubit = DiaryCubit( - diaryRepository: mockDiaryRepository, - glossaryRepository: mockGlossaryRepository, - profileRepository: mockProfileRepository, - dietRepository: mockDietRepository, - chatRepository: mockChatRepository, - settingsRepository: mockSettingsRepository, - ); - // id должен быть null, чтобы toEntity() вернул null и код пошел по ветке setDiaryForDietOnly - const diaryDayWithDiet = DiaryDayModel( - id: null, - date: '2024-01-15', - closed: 0, - comment: '', - typeOfDiary: TypeOfDiaryModel(hasChosenDiet: true, hasChosenPlan: false, diaryState: null), - meals: [], - chosenPlanId: null, - dayOfChosenDiet: 1, - diet: DiaryDietModel(id: 1, duration: 7, name: 'Test Diet'), - ); - when(mockDiaryRepository.createDiaryDay(day: anyNamed('day'))).thenAnswer((_) async => Future.value()); - when(mockDiaryRepository.getDiaryDayV2(day: anyNamed('day'))).thenAnswer((_) async => diaryDayWithDiet); - when(mockDietRepository.getDiet(1)).thenAnswer( - (_) async => const Diet( - id: 1, - slug: 'test-diet', - name: 'Test Diet', - image: '', - duration: 7, - state: DietState.active, - type: DietType(), - details: '', - dailySchedule: { - 1: { - 1: {1: DailySchedule(name: 'Яблоко', portion: Portion.grams, quantity: 1)}, + test( + 'fetchDiaryV2 - обрабатывает случай когда diaryEntity == null но есть диета', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + // id должен быть null, чтобы toEntity() вернул null и код пошел по ветке setDiaryForDietOnly + const diaryDayWithDiet = DiaryDayModel( + id: null, + date: '2024-01-15', + closed: 0, + comment: '', + typeOfDiary: TypeOfDiaryModel( + hasChosenDiet: true, + hasChosenPlan: false, + diaryState: null, + ), + meals: [], + chosenPlanId: null, + dayOfChosenDiet: 1, + diet: DiaryDietModel(id: 1, duration: 7, name: 'Test Diet'), + ); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => diaryDayWithDiet); + when(mockDietRepository.getDiet(1)).thenAnswer( + (_) async => const Diet( + id: 1, + slug: 'test-diet', + name: 'Test Diet', + image: '', + duration: 7, + state: DietState.active, + type: DietType(), + details: '', + dailySchedule: { + 1: { + 1: { + 1: DailySchedule( + name: 'Яблоко', + portion: Portion.grams, + quantity: 1, + ), + }, + }, }, - }, - author: Author(authorSlug: 'test', authorName: 'Test', authorProfileIcon: '', authorIsMe: false), - totalLikes: 0, - totalViews: 0, - totalComments: 0, - wasLikedByMe: false, - isFavorite: false, - dailyNutrition: [], - ), - ); + author: Author( + authorSlug: 'test', + authorName: 'Test', + authorProfileIcon: '', + authorIsMe: false, + ), + totalLikes: 0, + totalViews: 0, + totalComments: 0, + wasLikedByMe: false, + isFavorite: false, + dailyNutrition: [], + ), + ); - final result = await diaryCubit!.fetchDiaryV2(needLoading: false); - await Future.delayed(const Duration(milliseconds: 100)); + final result = await diaryCubit!.fetchDiaryV2(needLoading: false); - expect(result, true); - // setDiaryForDietOnly сначала эмитит loading, затем loadedTomorrowWithDiet - expect(diaryCubit!.state, isA()); - }); + expect(result, true); + expect(diaryCubit!.state, isA()); + }, + ); + + test( + 'fetchDiaryV2 - открывает будущий день диеты, когда API отдаёт last_state init', + () async { + diaryCubit = DiaryCubit( + diaryRepository: mockDiaryRepository, + glossaryRepository: mockGlossaryRepository, + profileRepository: mockProfileRepository, + dietRepository: mockDietRepository, + chatRepository: mockChatRepository, + settingsRepository: mockSettingsRepository, + ); + const diaryDayWithDiet = DiaryDayModel( + id: null, + date: '2024-01-16', + closed: 0, + comment: '', + typeOfDiary: TypeOfDiaryModel( + hasChosenDiet: true, + hasChosenPlan: false, + diaryState: DiaryStateEnum.init, + ), + meals: [], + chosenPlanId: null, + dayOfChosenDiet: 2, + diet: DiaryDietModel(id: 1, duration: 7, name: 'Test Diet'), + ); + when( + mockDiaryRepository.createDiaryDay(day: anyNamed('day')), + ).thenAnswer((_) async => Future.value()); + when( + mockDiaryRepository.getDiaryDayV2(day: anyNamed('day')), + ).thenAnswer((_) async => diaryDayWithDiet); + when(mockDietRepository.getDiet(1)).thenAnswer( + (_) async => const Diet( + id: 1, + slug: 'test-diet', + name: 'Test Diet', + image: '', + duration: 7, + state: DietState.active, + type: DietType(), + details: '', + dailySchedule: { + 2: { + 1: { + 1: DailySchedule( + name: 'Овсянка', + portion: Portion.grams, + quantity: 150, + ), + }, + }, + }, + author: Author( + authorSlug: 'test', + authorName: 'Test', + authorProfileIcon: '', + authorIsMe: false, + ), + totalLikes: 0, + totalViews: 0, + totalComments: 0, + wasLikedByMe: false, + isFavorite: false, + dailyNutrition: [], + ), + ); + + final result = await diaryCubit!.fetchDiaryV2(needLoading: false); + + expect(result, true); + expect(diaryCubit!.state, isA()); + final loaded = diaryCubit!.state as DiaryStateLoadedTomorrowWithDiet; + expect(loaded.diary.meals.first.portions.single.productName, 'Овсянка'); + }, + ); }); } diff --git a/test/features/plans/enums/chosen_plan_state_enum_test.dart b/test/features/plans/enums/chosen_plan_state_enum_test.dart index a82ef455..9f769b49 100644 --- a/test/features/plans/enums/chosen_plan_state_enum_test.dart +++ b/test/features/plans/enums/chosen_plan_state_enum_test.dart @@ -5,22 +5,70 @@ void main() { group('ChosenPlanStateEnum', () { test('has all expected values', () { expect(ChosenPlanStateEnum.values.length, 16); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateInited)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateStartDateHasBeenSet)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateInCoordination)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateStarted)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateInProgress)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.statePendingPayment)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateConfirmedByConsultant)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.statePaid)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateCanceledByTheInitiator)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateLastDayStarted)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateLastDayFinished)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateComplained)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateDone)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.personalDietSet)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.stateChargeWasCollected)); - expect(ChosenPlanStateEnum.values, contains(ChosenPlanStateEnum.statePaymentFailed)); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateInited), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateStartDateHasBeenSet), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateInCoordination), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateStarted), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateInProgress), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.statePendingPayment), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateConfirmedByConsultant), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.statePaid), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateCanceledByTheInitiator), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateLastDayStarted), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateLastDayFinished), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateComplained), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateDone), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.personalDietSet), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.stateChargeWasCollected), + ); + expect( + ChosenPlanStateEnum.values, + contains(ChosenPlanStateEnum.statePaymentFailed), + ); }); test('getShowableChatBadgeStates returns correct states', () { @@ -40,32 +88,77 @@ void main() { }); test('isStateAfterPaidState returns false for states before paid', () { - expect(ChosenPlanStateEnum.stateCanceledByTheInitiator.isStateAfterPaidState(), isFalse); + expect( + ChosenPlanStateEnum.stateCanceledByTheInitiator.isStateAfterPaidState(), + isFalse, + ); expect(ChosenPlanStateEnum.stateInited.isStateAfterPaidState(), isFalse); - expect(ChosenPlanStateEnum.stateInCoordination.isStateAfterPaidState(), isFalse); - expect(ChosenPlanStateEnum.stateStartDateHasBeenSet.isStateAfterPaidState(), isFalse); - expect(ChosenPlanStateEnum.statePendingPayment.isStateAfterPaidState(), isFalse); - expect(ChosenPlanStateEnum.statePaymentFailed.isStateAfterPaidState(), isFalse); + expect( + ChosenPlanStateEnum.stateInCoordination.isStateAfterPaidState(), + isFalse, + ); + expect( + ChosenPlanStateEnum.stateStartDateHasBeenSet.isStateAfterPaidState(), + isFalse, + ); + expect( + ChosenPlanStateEnum.statePendingPayment.isStateAfterPaidState(), + isFalse, + ); + expect( + ChosenPlanStateEnum.statePaymentFailed.isStateAfterPaidState(), + isFalse, + ); }); test('isStateAfterPaidState returns true for states after paid', () { expect(ChosenPlanStateEnum.statePaid.isStateAfterPaidState(), isTrue); expect(ChosenPlanStateEnum.stateStarted.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.stateInProgress.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.stateLastDayStarted.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.stateLastDayFinished.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.stateComplained.isStateAfterPaidState(), isTrue); + expect( + ChosenPlanStateEnum.stateInProgress.isStateAfterPaidState(), + isTrue, + ); + expect( + ChosenPlanStateEnum.stateLastDayStarted.isStateAfterPaidState(), + isTrue, + ); + expect( + ChosenPlanStateEnum.stateLastDayFinished.isStateAfterPaidState(), + isTrue, + ); + expect( + ChosenPlanStateEnum.stateComplained.isStateAfterPaidState(), + isTrue, + ); expect(ChosenPlanStateEnum.stateDone.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.personalDietSet.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.stateChargeWasCollected.isStateAfterPaidState(), isTrue); - expect(ChosenPlanStateEnum.stateConfirmedByConsultant.isStateAfterPaidState(), isTrue); + expect( + ChosenPlanStateEnum.personalDietSet.isStateAfterPaidState(), + isTrue, + ); + expect( + ChosenPlanStateEnum.stateChargeWasCollected.isStateAfterPaidState(), + isTrue, + ); + expect( + ChosenPlanStateEnum.stateConfirmedByConsultant.isStateAfterPaidState(), + isTrue, + ); }); test('canShowCancelAction returns true for cancellable states', () { expect(ChosenPlanStateEnum.stateInited.canShowCancelAction, isTrue); - expect(ChosenPlanStateEnum.stateInCoordination.canShowCancelAction, isTrue); - expect(ChosenPlanStateEnum.stateStartDateHasBeenSet.canShowCancelAction, isTrue); - expect(ChosenPlanStateEnum.statePendingPayment.canShowCancelAction, isTrue); + expect( + ChosenPlanStateEnum.stateInCoordination.canShowCancelAction, + isTrue, + ); + expect( + ChosenPlanStateEnum.stateStartDateHasBeenSet.canShowCancelAction, + isTrue, + ); + expect( + ChosenPlanStateEnum.statePendingPayment.canShowCancelAction, + isTrue, + ); expect(ChosenPlanStateEnum.statePaid.canShowCancelAction, isTrue); expect(ChosenPlanStateEnum.stateStarted.canShowCancelAction, isTrue); expect(ChosenPlanStateEnum.stateInProgress.canShowCancelAction, isTrue); @@ -73,33 +166,129 @@ void main() { test('canShowCancelAction returns false for non-cancellable states', () { expect(ChosenPlanStateEnum.personalDietSet.canShowCancelAction, isFalse); - expect(ChosenPlanStateEnum.stateLastDayStarted.canShowCancelAction, isFalse); - expect(ChosenPlanStateEnum.stateLastDayFinished.canShowCancelAction, isFalse); + expect( + ChosenPlanStateEnum.stateLastDayStarted.canShowCancelAction, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateLastDayFinished.canShowCancelAction, + isFalse, + ); expect(ChosenPlanStateEnum.stateComplained.canShowCancelAction, isFalse); expect(ChosenPlanStateEnum.stateDone.canShowCancelAction, isFalse); - expect(ChosenPlanStateEnum.stateChargeWasCollected.canShowCancelAction, isFalse); - expect(ChosenPlanStateEnum.stateCanceledByTheInitiator.canShowCancelAction, isFalse); - expect(ChosenPlanStateEnum.statePaymentFailed.canShowCancelAction, isFalse); - expect(ChosenPlanStateEnum.stateConfirmedByConsultant.canShowCancelAction, isFalse); + expect( + ChosenPlanStateEnum.stateChargeWasCollected.canShowCancelAction, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateCanceledByTheInitiator.canShowCancelAction, + isFalse, + ); + expect( + ChosenPlanStateEnum.statePaymentFailed.canShowCancelAction, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateConfirmedByConsultant.canShowCancelAction, + isFalse, + ); }); - test('isCancelAfterPaidState returns true only for post-paid cancellable states', () { - expect(ChosenPlanStateEnum.statePaid.isCancelAfterPaidState, isTrue); - expect(ChosenPlanStateEnum.stateStarted.isCancelAfterPaidState, isTrue); - expect(ChosenPlanStateEnum.stateInProgress.isCancelAfterPaidState, isTrue); - expect(ChosenPlanStateEnum.stateInited.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateInCoordination.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateStartDateHasBeenSet.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.statePendingPayment.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.statePaymentFailed.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateConfirmedByConsultant.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.personalDietSet.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateLastDayStarted.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateLastDayFinished.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateComplained.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateDone.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateChargeWasCollected.isCancelAfterPaidState, isFalse); - expect(ChosenPlanStateEnum.stateCanceledByTheInitiator.isCancelAfterPaidState, isFalse); + test( + 'isCancelAfterPaidState returns true only for post-paid cancellable states', + () { + expect(ChosenPlanStateEnum.statePaid.isCancelAfterPaidState, isTrue); + expect(ChosenPlanStateEnum.stateStarted.isCancelAfterPaidState, isTrue); + expect( + ChosenPlanStateEnum.stateInProgress.isCancelAfterPaidState, + isTrue, + ); + expect(ChosenPlanStateEnum.stateInited.isCancelAfterPaidState, isFalse); + expect( + ChosenPlanStateEnum.stateInCoordination.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateStartDateHasBeenSet.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.statePendingPayment.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.statePaymentFailed.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateConfirmedByConsultant.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.personalDietSet.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateLastDayStarted.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateLastDayFinished.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum.stateComplained.isCancelAfterPaidState, + isFalse, + ); + expect(ChosenPlanStateEnum.stateDone.isCancelAfterPaidState, isFalse); + expect( + ChosenPlanStateEnum.stateChargeWasCollected.isCancelAfterPaidState, + isFalse, + ); + expect( + ChosenPlanStateEnum + .stateCanceledByTheInitiator + .isCancelAfterPaidState, + isFalse, + ); + }, + ); + + test( + 'allowsVideoCall is false for finished and canceled consultations', + () { + expect( + ChosenPlanStateEnum.stateCanceledByTheInitiator.allowsVideoCall, + isFalse, + ); + expect(ChosenPlanStateEnum.statePaymentFailed.allowsVideoCall, isFalse); + expect(ChosenPlanStateEnum.stateDone.allowsVideoCall, isFalse); + expect( + ChosenPlanStateEnum.stateChargeWasCollected.allowsVideoCall, + isFalse, + ); + }, + ); + + test('allowsVideoCall is true while the consultation is not finished', () { + expect(ChosenPlanStateEnum.stateInited.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.stateInCoordination.allowsVideoCall, isTrue); + expect( + ChosenPlanStateEnum.stateStartDateHasBeenSet.allowsVideoCall, + isTrue, + ); + expect(ChosenPlanStateEnum.statePendingPayment.allowsVideoCall, isTrue); + expect( + ChosenPlanStateEnum.stateConfirmedByConsultant.allowsVideoCall, + isTrue, + ); + expect(ChosenPlanStateEnum.statePaid.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.personalDietSet.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.stateStarted.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.stateInProgress.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.stateLastDayStarted.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.stateLastDayFinished.allowsVideoCall, isTrue); + expect(ChosenPlanStateEnum.stateComplained.allowsVideoCall, isTrue); }); test('getActiveStates returns correct states', () { @@ -114,8 +303,10 @@ void main() { expect(activeStates, contains(ChosenPlanStateEnum.stateComplained)); expect(activeStates, contains(ChosenPlanStateEnum.stateDone)); expect(activeStates, contains(ChosenPlanStateEnum.personalDietSet)); - expect(activeStates, isNot(contains(ChosenPlanStateEnum.statePaymentFailed))); + expect( + activeStates, + isNot(contains(ChosenPlanStateEnum.statePaymentFailed)), + ); }); }); } - diff --git a/test/features/video_calls/recordings/presentation/pages/video_call_recordings_screen_test.dart b/test/features/video_calls/recordings/presentation/pages/video_call_recordings_screen_test.dart new file mode 100644 index 00000000..a0c4da5e --- /dev/null +++ b/test/features/video_calls/recordings/presentation/pages/video_call_recordings_screen_test.dart @@ -0,0 +1,114 @@ +import 'package:eatvio_app/core/locator_service.dart'; +import 'package:eatvio_app/core/models/pagination_model.dart'; +import 'package:eatvio_app/core/theme/theme_helper.dart'; +import 'package:eatvio_app/features/video_calls/recordings/models/recording_status.dart'; +import 'package:eatvio_app/features/video_calls/recordings/models/video_call_recording_model.dart'; +import 'package:eatvio_app/features/video_calls/recordings/presentation/cubit/video_call_recordings_cubit.dart'; +import 'package:eatvio_app/features/video_calls/recordings/presentation/pages/video_call_recordings_screen.dart'; +import 'package:eatvio_app/features/video_calls/recordings/repositories/video_call_recordings_repository.dart'; +import 'package:eatvio_app/generated/l10n.dart'; +import 'package:material_ui/material_ui.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mocktail/mocktail.dart'; +import 'package:network_image_mock/network_image_mock.dart'; + +class _MockRecordingsRepository extends Mock implements VideoCallRecordingsRepository {} + +void main() { + late _MockRecordingsRepository repository; + + VideoCallRecordingsPagination page(List data) { + return VideoCallRecordingsPagination( + data: data, + links: const Links( + first: 'https://example.com?page=1', + last: 'https://example.com?page=1', + prev: null, + next: null, + ), + meta: Meta( + currentPage: 1, + from: data.isEmpty ? null : 1, + lastPage: 1, + links: const [], + perPage: 20, + to: data.isEmpty ? null : data.length, + total: data.length, + ), + ); + } + + VideoCallRecordingModel recording(int id) { + return VideoCallRecordingModel( + id: id, + status: RecordingStatus.ready, + durationSeconds: 60, + createdAt: DateTime.utc(2026, 9, 21, 10), + previewUrl: 'https://example.com/preview.jpg', + fileUrl: 'https://example.com/file.mp4', + counterpart: const VideoCallRecordingCounterpartModel(name: 'Сидни', slug: 'sydney'), + ); + } + + setUp(() async { + await sl.reset(); + repository = _MockRecordingsRepository(); + sl.registerFactory( + () => VideoCallRecordingsCubit(repository: repository), + ); + }); + + tearDown(() async { + await sl.reset(); + }); + + Widget wrap(Widget child) { + return MaterialApp( + theme: ThemeHelper().themeData(), + localizationsDelegates: const [S.delegate, ...GlobalMaterialLocalizations.delegates], + supportedLocales: const [Locale('ru')], + home: child, + ); + } + + testWidgets('short list can be pulled to refresh', (tester) async { + await mockNetworkImagesFor(() async { + when(() => repository.getRecordings(page: 1, period: null)).thenAnswer( + (_) async => page([recording(1)]), + ); + + await tester.pumpWidget(wrap(const VideoCallRecordingsScreen())); + await tester.pumpAndSettle(); + + final list = tester.widget(find.byType(ListView)); + expect(list.physics, isA()); + + await tester.fling(find.byType(ListView), const Offset(0, 400), 1200); + await tester.pump(); + await tester.pump(const Duration(seconds: 1)); + await tester.pumpAndSettle(); + + verify(() => repository.getRecordings(page: 1, period: null)).called(2); + }); + }); + + testWidgets('empty list can be pulled to refresh', (tester) async { + when(() => repository.getRecordings(page: 1, period: null)).thenAnswer( + (_) async => page(const []), + ); + + await tester.pumpWidget(wrap(const VideoCallRecordingsScreen())); + await tester.pumpAndSettle(); + + expect(find.text('Пока нет видеоконсультаций'), findsOneWidget); + final list = tester.widget(find.byType(ListView)); + expect(list.physics, isA()); + + await tester.fling(find.text('Пока нет видеоконсультаций'), const Offset(0, 400), 1200); + await tester.pump(); + await tester.pump(const Duration(seconds: 1)); + await tester.pumpAndSettle(); + + verify(() => repository.getRecordings(page: 1, period: null)).called(2); + }); +}