diff --git a/lib/core/app_initializer.dart b/lib/core/app_initializer.dart index 601a7984..86f60dbe 100644 --- a/lib/core/app_initializer.dart +++ b/lib/core/app_initializer.dart @@ -18,21 +18,22 @@ class AppInitializer { static Future initialize({required AppBuildType buildType}) async { await _initializeEnvironment(); await _initializeDependencyInjection(buildType: buildType); - await _initializeSentry(); + _preserveSplash(); await _initializeFirebase(); await _initializeDebugMode(); await _initializeAnalytics(); } - /// Инициализация Sentry - static Future _initializeSentry() async { + static void _preserveSplash() { final widgetsBinding = SentryWidgetsFlutterBinding.ensureInitialized(); FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding); } /// Загрузка переменных окружения static Future _initializeEnvironment() async { - await dotenv.load(fileName: ".env"); + if (!dotenv.isInitialized) { + await dotenv.load(fileName: '.env'); + } } /// Инициализация Firebase @@ -64,20 +65,25 @@ class AppInitializer { /// Инициализация аналитики static Future _initializeAnalytics() async { - AppMetrica.activate(AppMetricaConfig(EnvConfig.appMetricaApiKey)); + AppMetrica.activate(AppMetricaConfig(EnvConfig.appMetricaApiKey, flutterCrashReporting: false)); AppMetrica.reportEvent('Application started'); } /// Запуск приложения с Sentry - static Future runAppWithSentry(VoidCallback appRunner) async { + static Future runAppWithSentry( + FutureOr Function() appRunner, + ) async { + SentryWidgetsFlutterBinding.ensureInitialized(); + await _initializeEnvironment(); + const sendInDebug = bool.fromEnvironment('SENTRY_IN_DEBUG'); await SentryFlutter.init((options) { options.dsn = EnvConfig.sentryDsn; options.tracesSampleRate = 1.0; options.debug = false; + if (kDebugMode && sendInDebug) options.environment = 'debug'; options.beforeSend = (event, hint) { - if (kDebugMode) return null; - if (!ErrorReportPolicy.allowSentryEvent(event, hint)) return null; - return event; + if (kDebugMode && !sendInDebug) return null; + return ErrorReportPolicy.prepareSentryEvent(event, hint); }; }, appRunner: appRunner); } diff --git a/lib/core/comments/services/comments_service.dart b/lib/core/comments/services/comments_service.dart index 606f61bd..6c5a1333 100644 --- a/lib/core/comments/services/comments_service.dart +++ b/lib/core/comments/services/comments_service.dart @@ -6,7 +6,11 @@ part 'comments_service.g.dart'; @RestApi() abstract class CommentsService { - factory CommentsService(Dio dio, {String baseUrl}) = _CommentsService; + factory CommentsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CommentsService; @DELETE('/api/comments/{id}') Future deleteComment(@Path('id') int id); diff --git a/lib/core/di/external_registrations.dart b/lib/core/di/external_registrations.dart index cb285f40..2912633c 100644 --- a/lib/core/di/external_registrations.dart +++ b/lib/core/di/external_registrations.dart @@ -1,6 +1,8 @@ import 'package:dio/dio.dart'; import 'package:eatvio_app/core/app_config.dart'; import 'package:eatvio_app/core/constants/app_constants.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_dio.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; import 'package:eatvio_app/core/error_reporting/error_reporter.dart'; import 'package:eatvio_app/core/error_reporting/sentry_error_reporter.dart'; import 'package:eatvio_app/core/interceptors/phone_verify_error_interceptor.dart'; @@ -18,14 +20,15 @@ class ExternalRegistrations { /// Регистрация всех внешних зависимостей static void registerAll() { sl.registerLazySingleton(SentryErrorReporter.new); + sl.registerLazySingleton(() => ApiResponseErrorReporter(sl())); _registerDio(); _registerPrefs(); } /// Регистрация Dio HTTP клиента static void _registerDio() { - sl.registerLazySingleton( - () => Dio( + sl.registerLazySingleton( + () => ApiResponseDio( BaseOptions( baseUrl: sl().baseUrl, headers: {'accept': 'application/json', 'content-type': 'application/json'}, @@ -33,6 +36,7 @@ class ExternalRegistrations { receiveTimeout: AppConstants.pendingDelay, sendTimeout: AppConstants.pendingDelay, ), + sl(), )..interceptors.addAll([TokenInterceptor(), PhoneVerifyErrorInterceptor()]) ..addSentry( failedRequestStatusCodes: const [SentryStatusCode.defaultRange()], diff --git a/lib/core/di/repository_registrations.dart b/lib/core/di/repository_registrations.dart index 545d009f..6b85d0a6 100644 --- a/lib/core/di/repository_registrations.dart +++ b/lib/core/di/repository_registrations.dart @@ -86,7 +86,9 @@ class RepositoryRegistrations { sl.registerLazySingleton(() => CommentsRepository(service: sl())); sl.registerLazySingleton(() => NotificationSettingsRepository(sl())); sl.registerLazySingleton(() => SbpRepository(sbpService: sl())); - sl.registerLazySingleton(() => PaymentRepository(chatService: sl())); + sl.registerLazySingleton( + () => PaymentRepository(chatService: sl(), responseErrors: sl()), + ); sl.registerLazySingleton(() => PersonalDietSuggestionRepository(personalDietSuggestionService: sl())); sl.registerLazySingleton(() => RegistrationRepositoryV2(registrationService: sl())); diff --git a/lib/core/di/service_registrations.dart b/lib/core/di/service_registrations.dart index abddd8eb..a5022c3f 100644 --- a/lib/core/di/service_registrations.dart +++ b/lib/core/di/service_registrations.dart @@ -1,3 +1,4 @@ +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; import 'package:eatvio_app/core/comments/services/comments_service.dart'; import 'package:eatvio_app/core/firebase_api.dart'; import 'package:eatvio_app/core/views/service/views_service.dart'; @@ -56,37 +57,83 @@ class ServiceRegistrations { /// Регистрация Service как синглтонов static void _registerSingletonServices() { // Core services - sl.registerLazySingleton(() => ChatService(sl())); - sl.registerLazySingleton(() => VideoCallService(sl())); + sl.registerLazySingleton( + () => ChatService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => VideoCallService(sl(), errorLogger: sl()), + ); sl.registerLazySingleton( () => const PublicDownloadsSaver(), ); sl.registerLazySingleton( () => VideoCallRecordingFileService(dio: sl(), downloadsSaver: sl()), ); - sl.registerLazySingleton(() => FeedService(sl())); - sl.registerLazySingleton(() => ProfileService(sl())); - sl.registerLazySingleton(() => InsightsService(sl())); - sl.registerLazySingleton(() => CalendarService(sl())); - sl.registerLazySingleton(() => SettingsService(sl())); - sl.registerLazySingleton(() => ConsultantService(sl())); - sl.registerLazySingleton(() => DiaryService(sl())); - sl.registerLazySingleton(() => GlossaryService(sl())); - sl.registerLazySingleton(() => BarcodeService(sl())); - sl.registerLazySingleton(() => DietService(sl())); - sl.registerLazySingleton(() => PlansService(sl())); - sl.registerLazySingleton(() => PlanService(sl())); - sl.registerLazySingleton(() => MyDietsService(sl())); - sl.registerLazySingleton(() => MyPlansService(sl())); - sl.registerLazySingleton(() => WsService(sl())); - sl.registerLazySingleton(() => AboutRecipeService(sl())); - sl.registerLazySingleton(() => ComplainingService(sl())); - sl.registerLazySingleton(() => AuthService(sl())); - sl.registerLazySingleton(() => CardsService(sl())); + sl.registerLazySingleton( + () => FeedService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => ProfileService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => InsightsService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => CalendarService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => SettingsService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => ConsultantService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => DiaryService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => GlossaryService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => BarcodeService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => DietService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => PlansService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => PlanService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => MyDietsService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => MyPlansService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton(() => WsService(sl(), errorLogger: sl())); + sl.registerLazySingleton( + () => AboutRecipeService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => ComplainingService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => AuthService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => CardsService(sl(), errorLogger: sl()), + ); sl.registerLazySingleton(() => ConsultationService(sl())); - sl.registerLazySingleton(() => CancelPlanService(sl())); - sl.registerLazySingleton(() => CreatePlanService(sl())); - sl.registerLazySingleton(() => NotificationsService(sl())); + sl.registerLazySingleton( + () => CancelPlanService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => CreatePlanService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => NotificationsService(sl(), responseErrors: sl()), + ); sl.registerLazySingleton(() => FirebaseApi(errorReporter: sl())); sl.registerLazySingleton( () => VideoCallCallKitCoordinator(firebaseApi: sl()), @@ -94,23 +141,49 @@ class ServiceRegistrations { sl.registerLazySingleton( () => VideoCallSystemPipCoordinator(), ); - sl.registerLazySingleton(() => ResetPasswordService(sl())); - sl.registerLazySingleton(() => BlockedUserService(sl())); - sl.registerLazySingleton(() => CommentsService(sl())); - sl.registerLazySingleton(() => MyRecipesService(sl())); - sl.registerLazySingleton(() => ConsultantRatingService(sl())); - sl.registerLazySingleton(() => NotificationSettingsService(sl())); - sl.registerLazySingleton(() => ViewsService(sl())); + sl.registerLazySingleton( + () => ResetPasswordService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => BlockedUserService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => CommentsService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => MyRecipesService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => ConsultantRatingService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => NotificationSettingsService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => ViewsService(sl(), errorLogger: sl()), + ); sl.registerLazySingleton(() => const SbpServiceImpl()); - sl.registerLazySingleton(() => PersonalDietSuggestionService(sl())); - sl.registerLazySingleton(() => RegistrationServiceV2(sl())); + sl.registerLazySingleton( + () => PersonalDietSuggestionService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => RegistrationServiceV2(sl(), errorLogger: sl()), + ); // Content services - sl.registerLazySingleton(() => CreateRecipeService(sl())); - sl.registerLazySingleton(() => BlogPostService(sl())); - sl.registerLazySingleton(() => CreateDietService(sl())); + sl.registerLazySingleton( + () => CreateRecipeService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => BlogPostService(sl(), errorLogger: sl()), + ); + sl.registerLazySingleton( + () => CreateDietService(sl(), errorLogger: sl()), + ); // Auth services - sl.registerLazySingleton(() => RegistrationService(sl())); + sl.registerLazySingleton( + () => RegistrationService(sl(), errorLogger: sl()), + ); } } diff --git a/lib/core/error_reporting/api_response_dio.dart b/lib/core/error_reporting/api_response_dio.dart new file mode 100644 index 00000000..d9c51f9d --- /dev/null +++ b/lib/core/error_reporting/api_response_dio.dart @@ -0,0 +1,71 @@ +import 'package:dio/dio.dart'; +import 'package:dio/io.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; + +class ApiResponseDio extends DioForNative { + ApiResponseDio(BaseOptions super.options, this._responseErrors) { + transformer = _ApiResponseTransformer( + transformer, + _responseErrors, + _responseStatuses, + ); + } + + final ApiResponseErrorReporter _responseErrors; + final _responseStatuses = Expando(); + + @override + Future> fetch(RequestOptions requestOptions) async { + try { + return await super.fetch(requestOptions); + } on DioException catch (error) { + final cause = error.error; + final status = _responseStatuses[error.requestOptions]; + // Dio приводит тип корневого значения до вызова fromJson в Retrofit. + if (error.type == DioExceptionType.unknown && + error.requestOptions.responseType == ResponseType.json && + cause is TypeError && + status != null) { + _responseErrors.report( + error, + cause.stackTrace ?? error.stackTrace, + method: error.requestOptions.method, + statusCode: status, + ); + } + rethrow; + } + } +} + +class _ApiResponseTransformer implements Transformer { + _ApiResponseTransformer(this._delegate, this._responseErrors, this._statuses); + + final Transformer _delegate; + final ApiResponseErrorReporter _responseErrors; + final Expando _statuses; + + @override + Future transformRequest(RequestOptions options) => + _delegate.transformRequest(options); + + @override + Future transformResponse( + RequestOptions options, + ResponseBody response, + ) async { + try { + final data = await _delegate.transformResponse(options, response); + _statuses[options] = response.statusCode; + return data; + } on FormatException catch (error, stackTrace) { + _responseErrors.report( + error, + stackTrace, + method: options.method, + statusCode: response.statusCode, + ); + rethrow; + } + } +} diff --git a/lib/core/error_reporting/api_response_error_reporter.dart b/lib/core/error_reporting/api_response_error_reporter.dart new file mode 100644 index 00000000..54077d1e --- /dev/null +++ b/lib/core/error_reporting/api_response_error_reporter.dart @@ -0,0 +1,111 @@ +import 'dart:async'; +import 'dart:developer'; + +import 'package:dio/dio.dart'; +import 'package:eatvio_app/core/error_reporting/error_reporter.dart'; +import 'package:retrofit/retrofit.dart'; + +class ApiResponseErrorReporter implements ParseErrorLogger { + ApiResponseErrorReporter(this._reporter); + + final ErrorReporter _reporter; + static final _capturedErrors = Expando(); + + static bool wasCaptured(Object error) => + _isCaptured(error) || (error is DioException && _isCaptured(error.error)); + + static bool _isCaptured(Object? error) => + error != null && + (error is Error || error is Exception) && + _capturedErrors[error] == true; + + static T decode( + ApiResponseErrorReporter? reporter, + Response response, + String endpoint, + T Function() parse, + ) { + try { + return parse(); + } catch (error, stackTrace) { + reporter?.report( + error, + stackTrace, + method: response.requestOptions.method, + statusCode: response.statusCode, + endpoint: endpoint, + ); + rethrow; + } + } + + @override + void logError( + Object error, + StackTrace stackTrace, + RequestOptions options, { + Response? response, + }) { + report( + error, + stackTrace, + method: options.method, + statusCode: response?.statusCode, + ); + } + + void report( + Object error, + StackTrace stackTrace, { + required String method, + int? statusCode, + String? endpoint, + }) { + if (error is Error || error is Exception) { + _capturedErrors[error] = true; + } + // Сообщение исходного исключения может содержать значения из ответа API. + final cause = error is DioException ? error.error ?? error : error; + unawaited( + _send( + ApiResponseDecodeException(cause.runtimeType.toString()), + stackTrace, + { + 'http_method': method, + 'http_status_code': ?statusCode, + 'endpoint': ?endpoint, + }, + ), + ); + } + + Future _send( + ApiResponseDecodeException error, + StackTrace stackTrace, + Map context, + ) async { + try { + await _reporter.report( + error, + stackTrace, + origin: 'api_response', + extras: context, + ); + } catch (reportError, reportStackTrace) { + log( + 'Не удалось записать ошибку разбора ответа API', + error: reportError.runtimeType, + stackTrace: reportStackTrace, + ); + } + } +} + +class ApiResponseDecodeException implements Exception { + ApiResponseDecodeException(this.causeType); + + final String causeType; + + @override + String toString() => 'Could not decode API response ($causeType)'; +} diff --git a/lib/core/error_reporting/error_report_policy.dart b/lib/core/error_reporting/error_report_policy.dart index e2864af7..0bf81933 100644 --- a/lib/core/error_reporting/error_report_policy.dart +++ b/lib/core/error_reporting/error_report_policy.dart @@ -1,6 +1,7 @@ import 'dart:io'; import 'package:dio/dio.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; import 'package:eatvio_app/core/push/hms_client_error.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; @@ -14,6 +15,7 @@ class ErrorReportPolicy { /// When `false`, the error is not sent via [ErrorReporter]. static bool shouldReport(Object? error) { if (error == null) return false; + if (ApiResponseErrorReporter.wasCaptured(error)) return false; if (error is String) return false; if (error is SocketException) return false; if (isHmsClientUnavailable(error)) return false; @@ -34,11 +36,23 @@ class ErrorReportPolicy { final t = event.throwable; if (t == null) return true; if (t is DioException) { - return _allowSentrySdkDio(t); + return !ApiResponseErrorReporter.wasCaptured(t) && _allowSentrySdkDio(t); } return shouldReport(t); } + static SentryEvent? prepareSentryEvent(SentryEvent event, Hint hint) { + if (!allowSentryEvent(event, hint)) return null; + if (event.throwable is ApiResponseDecodeException) { + // HTTP breadcrumbs могут содержать идентификаторы в пути и параметры запроса. + event.breadcrumbs = event.breadcrumbs + ?.where((breadcrumb) => breadcrumb.category != 'http') + .toList(); + event.request = null; + } + return event; + } + /// Cancel, timeouts, socket / connection errors — do not send (noisy, often user environment). static bool _isTransientDioFailure(DioException e) { switch (e.type) { diff --git a/lib/core/routing/other_routes.dart b/lib/core/routing/other_routes.dart index f07247dd..f06f44ef 100644 --- a/lib/core/routing/other_routes.dart +++ b/lib/core/routing/other_routes.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'package:dio/dio.dart'; import 'package:eatvio_app/core/app_config.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; import 'package:eatvio_app/core/firebase_api.dart'; import 'package:eatvio_app/core/locator_service.dart'; import 'package:eatvio_app/core/prefs.dart'; @@ -103,7 +104,7 @@ class OtherRoutes { redirect: (context, state) async { try { // Проверка версии с таймаутом, чтобы не блокировать запуск приложения - final versions = await sl() + final response = await sl() .get('${sl().baseUrl}/api/app_versions') .timeout( const Duration(seconds: 5), @@ -111,12 +112,8 @@ class OtherRoutes { // При таймауте пропускаем проверку и идем дальше throw TimeoutException('Version check timeout'); }, - ) - .then((response) => response.data) - .catchError((e) { - // При любой ошибке пропускаем проверку версии - return null; - }); + ); + final versions = response.data; if (versions == null) { // Если проверка не удалась, пропускаем экран обновления @@ -126,7 +123,15 @@ class OtherRoutes { PackageInfo packageInfo = await PackageInfo.fromPlatform(); String version = packageInfo.version; Version currentVersion = Version.parse(version); - Version latestVersion = Version.parse(versions['min_version']); + final responseErrors = sl.isRegistered() + ? sl() + : null; + final latestVersion = ApiResponseErrorReporter.decode( + responseErrors, + response, + '/api/app_versions', + () => Version.parse(versions['min_version']), + ); if (latestVersion > currentVersion) { return null; } else { diff --git a/lib/core/views/service/views_service.dart b/lib/core/views/service/views_service.dart index e89990fa..fb0a3cef 100644 --- a/lib/core/views/service/views_service.dart +++ b/lib/core/views/service/views_service.dart @@ -6,7 +6,11 @@ part 'views_service.g.dart'; @RestApi() abstract class ViewsService { - factory ViewsService(Dio dio, {String baseUrl}) = _ViewsService; + factory ViewsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ViewsService; @POST('/api/views') Future viewContent({ diff --git a/lib/core/websockets/ws_service.dart b/lib/core/websockets/ws_service.dart index 92d326f0..4f962918 100644 --- a/lib/core/websockets/ws_service.dart +++ b/lib/core/websockets/ws_service.dart @@ -8,7 +8,11 @@ part 'ws_service.g.dart'; @RestApi() abstract class WsService { - factory WsService(Dio dio, {String baseUrl}) = _WsService; + factory WsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _WsService; @GET('/api/profile/ws/params') Future getWebsocket(); diff --git a/lib/features/auth/services/auth_service.dart b/lib/features/auth/services/auth_service.dart index 2c7c6249..0fe4c9df 100644 --- a/lib/features/auth/services/auth_service.dart +++ b/lib/features/auth/services/auth_service.dart @@ -12,7 +12,11 @@ part 'auth_service.g.dart'; @RestApi() abstract class AuthService { - factory AuthService(Dio dio, {String? baseUrl}) = _AuthService; + factory AuthService( + Dio dio, { + String? baseUrl, + ParseErrorLogger? errorLogger, + }) = _AuthService; @POST('/api/login') Future getTokenByCredentials({@Body() required CredentialsModel credentials}); diff --git a/lib/features/auth/services/reset_password_service.dart b/lib/features/auth/services/reset_password_service.dart index 9a7a101d..8343468e 100644 --- a/lib/features/auth/services/reset_password_service.dart +++ b/lib/features/auth/services/reset_password_service.dart @@ -5,7 +5,11 @@ part 'reset_password_service.g.dart'; @RestApi() abstract class ResetPasswordService { - factory ResetPasswordService(Dio dio, {String baseUrl}) = _ResetPasswordService; + factory ResetPasswordService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ResetPasswordService; @POST('/api/send_password_reset_code') Future sendEmailCodeForPasswordChange({ diff --git a/lib/features/barcode/services/barcode_service.dart b/lib/features/barcode/services/barcode_service.dart index e64e2575..31990b1c 100644 --- a/lib/features/barcode/services/barcode_service.dart +++ b/lib/features/barcode/services/barcode_service.dart @@ -1,24 +1,28 @@ -import 'package:dio/dio.dart'; -import 'package:eatvio_app/features/barcode/models/barcode_product_model.dart'; -import 'package:retrofit/retrofit.dart'; - -part 'barcode_service.g.dart'; - -@RestApi() -abstract class BarcodeService { - factory BarcodeService(Dio dio, {String baseUrl}) = _BarcodeService; - - @GET('/api/gsone/barcode/{barcode}') - Future getProductByBarcode({@Path('barcode') required String barcode}); - - @GET('/api/gsone/barcode/status/{task_id}') - Future getTaskStatus({@Path('task_id') required String taskId}); -} - - - - - - - - +import 'package:dio/dio.dart'; +import 'package:eatvio_app/features/barcode/models/barcode_product_model.dart'; +import 'package:retrofit/retrofit.dart'; + +part 'barcode_service.g.dart'; + +@RestApi() +abstract class BarcodeService { + factory BarcodeService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _BarcodeService; + + @GET('/api/gsone/barcode/{barcode}') + Future getProductByBarcode({@Path('barcode') required String barcode}); + + @GET('/api/gsone/barcode/status/{task_id}') + Future getTaskStatus({@Path('task_id') required String taskId}); +} + + + + + + + + diff --git a/lib/features/blog_post_create/services/blog_post_service.dart b/lib/features/blog_post_create/services/blog_post_service.dart index 72c0be12..eadb029b 100644 --- a/lib/features/blog_post_create/services/blog_post_service.dart +++ b/lib/features/blog_post_create/services/blog_post_service.dart @@ -5,7 +5,11 @@ part 'blog_post_service.g.dart'; @RestApi() abstract class BlogPostService { - factory BlogPostService(Dio dio, {String baseUrl}) = _BlogPostService; + factory BlogPostService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _BlogPostService; @POST('/api/v2/blogPosts/create/published') @MultiPart() diff --git a/lib/features/calendar/services/calendar_service.dart b/lib/features/calendar/services/calendar_service.dart index 2974f735..b2243f21 100644 --- a/lib/features/calendar/services/calendar_service.dart +++ b/lib/features/calendar/services/calendar_service.dart @@ -6,7 +6,11 @@ part 'calendar_service.g.dart'; @RestApi() abstract class CalendarService { - factory CalendarService(Dio dio, {String baseUrl}) = _CalendarService; + factory CalendarService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CalendarService; @GET('/api/calendar/index') Future> getCalendar(); diff --git a/lib/features/cancel_plan_bottom_sheet/service/cancel_plan_service.dart b/lib/features/cancel_plan_bottom_sheet/service/cancel_plan_service.dart index ae677280..e7e18499 100644 --- a/lib/features/cancel_plan_bottom_sheet/service/cancel_plan_service.dart +++ b/lib/features/cancel_plan_bottom_sheet/service/cancel_plan_service.dart @@ -6,7 +6,11 @@ part 'cancel_plan_service.g.dart'; @RestApi() abstract class CancelPlanService { - factory CancelPlanService(Dio dio, {String baseUrl}) = _CancelPlanService; + factory CancelPlanService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CancelPlanService; @POST('/api/chosen_plans/{id}/cancel') Future cancelChosenPlan({ diff --git a/lib/features/chat/services/chat_service.dart b/lib/features/chat/services/chat_service.dart index 3bd6a505..e51fcf8a 100644 --- a/lib/features/chat/services/chat_service.dart +++ b/lib/features/chat/services/chat_service.dart @@ -17,7 +17,11 @@ part 'chat_service.g.dart'; @RestApi() abstract class ChatService { - factory ChatService(Dio dio, {String baseUrl}) = _ChatService; + factory ChatService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ChatService; @GET('/api/v2/chat/index') Future getChatRooms({ diff --git a/lib/features/complaining/services/complaining_service.dart b/lib/features/complaining/services/complaining_service.dart index 276ac750..90fb78b2 100644 --- a/lib/features/complaining/services/complaining_service.dart +++ b/lib/features/complaining/services/complaining_service.dart @@ -6,7 +6,11 @@ part 'complaining_service.g.dart'; @RestApi() abstract class ComplainingService { - factory ComplainingService(Dio dio, {String baseUrl}) = _ComplainingService; + factory ComplainingService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ComplainingService; @POST('/api/plans/{slug}/complain/{category}') Future sendPlanComplain({ diff --git a/lib/features/consultant/become_consultant/services/consultant_service.dart b/lib/features/consultant/become_consultant/services/consultant_service.dart index 8458824d..2ab5f553 100644 --- a/lib/features/consultant/become_consultant/services/consultant_service.dart +++ b/lib/features/consultant/become_consultant/services/consultant_service.dart @@ -9,7 +9,11 @@ part 'consultant_service.g.dart'; @RestApi() abstract class ConsultantService { - factory ConsultantService(Dio dio, {String baseUrl}) = _ConsultantService; + factory ConsultantService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ConsultantService; @POST('/api/v2/consultant_request/registration') Future consultantRegistration({ diff --git a/lib/features/consultant_rating/services/consultant_rating_service.dart b/lib/features/consultant_rating/services/consultant_rating_service.dart index c4412afb..a824f457 100644 --- a/lib/features/consultant_rating/services/consultant_rating_service.dart +++ b/lib/features/consultant_rating/services/consultant_rating_service.dart @@ -8,7 +8,11 @@ part 'consultant_rating_service.g.dart'; @RestApi() abstract class ConsultantRatingService { - factory ConsultantRatingService(Dio dio, {String baseUrl}) = _ConsultantRatingService; + factory ConsultantRatingService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ConsultantRatingService; @GET('/api/consultants/rating/statistics') Future getConsultantStatistics({@Query('filters[duration][\$gte]') String? date}); diff --git a/lib/features/create_diet/services/create_diet_service.dart b/lib/features/create_diet/services/create_diet_service.dart index cc010293..e97d418a 100644 --- a/lib/features/create_diet/services/create_diet_service.dart +++ b/lib/features/create_diet/services/create_diet_service.dart @@ -6,7 +6,11 @@ part 'create_diet_service.g.dart'; @RestApi() abstract class CreateDietService { - factory CreateDietService(Dio dio, {String baseUrl}) = _CreateDietService; + factory CreateDietService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CreateDietService; @POST('/api/diets/create/published') @MultiPart() diff --git a/lib/features/create_plan/services/create_plan_service.dart b/lib/features/create_plan/services/create_plan_service.dart index cafcba2f..9a10e6fa 100644 --- a/lib/features/create_plan/services/create_plan_service.dart +++ b/lib/features/create_plan/services/create_plan_service.dart @@ -5,7 +5,11 @@ part 'create_plan_service.g.dart'; @RestApi() abstract class CreatePlanService { - factory CreatePlanService(Dio dio, {String baseUrl}) = _CreatePlanService; + factory CreatePlanService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CreatePlanService; @POST('/api/plans/create/published') @MultiPart() diff --git a/lib/features/create_recipe/services/recipe_service.dart b/lib/features/create_recipe/services/recipe_service.dart index 4bed540a..0bd6e0f9 100644 --- a/lib/features/create_recipe/services/recipe_service.dart +++ b/lib/features/create_recipe/services/recipe_service.dart @@ -8,7 +8,11 @@ part 'recipe_service.g.dart'; @RestApi() abstract class CreateRecipeService { - factory CreateRecipeService(Dio dio, {String baseUrl}) = _CreateRecipeService; + factory CreateRecipeService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CreateRecipeService; @POST('/api/recipes/{slug}/like') Future likeRecipe({ diff --git a/lib/features/diary/services/diary_service.dart b/lib/features/diary/services/diary_service.dart index 985fb885..656009e1 100644 --- a/lib/features/diary/services/diary_service.dart +++ b/lib/features/diary/services/diary_service.dart @@ -13,7 +13,11 @@ part 'diary_service.g.dart'; @RestApi() abstract class DiaryService { - factory DiaryService(Dio dio, {String baseUrl}) = _DiaryService; + factory DiaryService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _DiaryService; @GET('/api/diary/index/{date}') Future> getDiaryIndexByDate({@Path('date') required String date}); diff --git a/lib/features/diets/services/diet_service.dart b/lib/features/diets/services/diet_service.dart index b25b8054..b4c7e509 100644 --- a/lib/features/diets/services/diet_service.dart +++ b/lib/features/diets/services/diet_service.dart @@ -7,7 +7,11 @@ part 'diet_service.g.dart'; @RestApi() abstract class DietService { - factory DietService(Dio dio, {String baseUrl}) = _DietService; + factory DietService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _DietService; @POST('/api/diets/{id}/like') Future likeDiet({ diff --git a/lib/features/feed/services/feed_service.dart b/lib/features/feed/services/feed_service.dart index 22a453be..90b35e2f 100644 --- a/lib/features/feed/services/feed_service.dart +++ b/lib/features/feed/services/feed_service.dart @@ -14,7 +14,11 @@ part 'feed_service.g.dart'; @RestApi() abstract class FeedService { - factory FeedService(Dio dio, {String baseUrl}) = _FeedService; + factory FeedService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _FeedService; @GET('/api/blogPosts/index') Future getBlogPostList({@Query('page') required int page, @Query('query_search') String? query}); diff --git a/lib/features/glossary/services/glossary_service.dart b/lib/features/glossary/services/glossary_service.dart index 8c28bb16..1ed4783d 100644 --- a/lib/features/glossary/services/glossary_service.dart +++ b/lib/features/glossary/services/glossary_service.dart @@ -6,7 +6,11 @@ part 'glossary_service.g.dart'; @RestApi() abstract class GlossaryService { - factory GlossaryService(Dio dio, {String baseUrl}) = _GlossaryService; + factory GlossaryService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _GlossaryService; @GET('/api/glossaries/search') Future getGlossaryByQuery({ diff --git a/lib/features/insights/services/insights_service.dart b/lib/features/insights/services/insights_service.dart index f0e64028..c7fe04b6 100644 --- a/lib/features/insights/services/insights_service.dart +++ b/lib/features/insights/services/insights_service.dart @@ -9,7 +9,11 @@ part 'insights_service.g.dart'; /// недоступный профиль — 403. @RestApi() abstract class InsightsService { - factory InsightsService(Dio dio, {String baseUrl}) = _InsightsService; + factory InsightsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _InsightsService; /// Свои графики целиком. @GET('/api/profile/insights') diff --git a/lib/features/menu/services/blocked_users_service.dart b/lib/features/menu/services/blocked_users_service.dart index 6a4ed987..a6ed6b13 100644 --- a/lib/features/menu/services/blocked_users_service.dart +++ b/lib/features/menu/services/blocked_users_service.dart @@ -6,7 +6,11 @@ part 'blocked_users_service.g.dart'; @RestApi() abstract class BlockedUserService { - factory BlockedUserService(Dio dio, {String baseUrl}) = _BlockedUserService; + factory BlockedUserService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _BlockedUserService; @GET('/api/blocked_users') Future getBlockedUsers(); diff --git a/lib/features/menu/services/notification_settings_service.dart b/lib/features/menu/services/notification_settings_service.dart index f489267f..ee08e819 100644 --- a/lib/features/menu/services/notification_settings_service.dart +++ b/lib/features/menu/services/notification_settings_service.dart @@ -6,7 +6,11 @@ part 'notification_settings_service.g.dart'; @RestApi() abstract class NotificationSettingsService { - factory NotificationSettingsService(Dio dio, {String baseUrl}) = _NotificationSettingsService; + factory NotificationSettingsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _NotificationSettingsService; @GET('/api/profile/notification_settings') Future getNotificationSettings(); diff --git a/lib/features/my_diets/services/my_diets_service.dart b/lib/features/my_diets/services/my_diets_service.dart index 41e3174f..b7224b10 100644 --- a/lib/features/my_diets/services/my_diets_service.dart +++ b/lib/features/my_diets/services/my_diets_service.dart @@ -7,7 +7,11 @@ part 'my_diets_service.g.dart'; @RestApi() abstract class MyDietsService { - factory MyDietsService(Dio dio, {String baseUrl}) = _MyDietsService; + factory MyDietsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _MyDietsService; @GET('/api/profile/my_diets') Future getDiets({ diff --git a/lib/features/my_finance/services/cards_service.dart b/lib/features/my_finance/services/cards_service.dart index c653d1a5..e051968b 100644 --- a/lib/features/my_finance/services/cards_service.dart +++ b/lib/features/my_finance/services/cards_service.dart @@ -7,7 +7,11 @@ part 'cards_service.g.dart'; @RestApi() abstract class CardsService { - factory CardsService(Dio dio, {String baseUrl}) = _CardsService; + factory CardsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _CardsService; @GET('/api/finances/cards') Future> getCards(); diff --git a/lib/features/my_plans/services/my_plans_service.dart b/lib/features/my_plans/services/my_plans_service.dart index bc24aec8..4eb15dd8 100644 --- a/lib/features/my_plans/services/my_plans_service.dart +++ b/lib/features/my_plans/services/my_plans_service.dart @@ -6,7 +6,11 @@ part 'my_plans_service.g.dart'; @RestApi() abstract class MyPlansService { - factory MyPlansService(Dio dio, {String baseUrl}) = _MyPlansService; + factory MyPlansService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _MyPlansService; @GET('/api/profile/my_plans') Future getPlans({ diff --git a/lib/features/notifications/service/notifications_service.dart b/lib/features/notifications/service/notifications_service.dart index dbe2d16c..9d815647 100644 --- a/lib/features/notifications/service/notifications_service.dart +++ b/lib/features/notifications/service/notifications_service.dart @@ -1,13 +1,17 @@ import 'package:dio/dio.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; import 'package:eatvio_app/features/notifications/models/notification_model.dart'; class NotificationsService { final Dio dio; - NotificationsService(this.dio); + final ApiResponseErrorReporter? responseErrors; + static const _endpoint = '/api/profile/notifications'; + + NotificationsService(this.dio, {this.responseErrors}); Future?> getNotifications({required int page}) async { + final response = await dio.get('$_endpoint?page=$page'); try { - final response = await dio.get('/api/profile/notifications?page=$page'); if (response.statusCode == 200) { final data = response.data['data'] as List; @@ -493,7 +497,14 @@ class NotificationsService { ), NotificationType.unknown => UnknownNotification(type: type, createdAt: parseDate(createdAt)), }; - } catch (e) { + } catch (error, stackTrace) { + responseErrors?.report( + error, + stackTrace, + method: response.requestOptions.method, + statusCode: response.statusCode, + endpoint: _endpoint, + ); return UnknownNotification(type: NotificationType.unknown, createdAt: DateTime.now()); } }).toList(); @@ -510,7 +521,14 @@ class NotificationsService { }; } return null; - } catch (e) { + } catch (error, stackTrace) { + responseErrors?.report( + error, + stackTrace, + method: response.requestOptions.method, + statusCode: response.statusCode, + endpoint: _endpoint, + ); rethrow; } } diff --git a/lib/features/payment/repositories/payment_repository.dart b/lib/features/payment/repositories/payment_repository.dart index 00d2ca75..82736126 100644 --- a/lib/features/payment/repositories/payment_repository.dart +++ b/lib/features/payment/repositories/payment_repository.dart @@ -1,4 +1,5 @@ import 'package:dio/dio.dart'; +import 'package:eatvio_app/core/error_reporting/api_response_error_reporter.dart'; import 'package:eatvio_app/features/chat/models/payment_model.dart'; import 'package:eatvio_app/features/chat/services/chat_service.dart'; import 'package:eatvio_app/features/payment/models/promo_applied_list_response.dart'; @@ -10,8 +11,9 @@ import 'package:eatvio_app/features/payment/models/promo_validate_response.dart' /// Репозиторий оплаты консультаций (chosen_plan) через Alfa Bank / СБП. class PaymentRepository { final ChatService chatService; + final ApiResponseErrorReporter? responseErrors; - PaymentRepository({required this.chatService}); + PaymentRepository({required this.chatService, this.responseErrors}); /// Запускает процесс оплаты: POST `/api/chosen_plans/{id}/start_payment_process` /// с `payment_provider: alfa-bank`. @@ -64,9 +66,15 @@ class PaymentRepository { body: {'promo_code': promoCode}, ); } on DioException catch (e) { - final data = e.response?.data; - if (data is Map) { - return PromoApplyResponse.fromJson(data); + final response = e.response; + final data = response?.data; + if (response != null && data is Map) { + return ApiResponseErrorReporter.decode( + responseErrors, + response, + '/api/chosen_plans/{id}/apply_promo', + () => PromoApplyResponse.fromJson(data), + ); } rethrow; } @@ -77,9 +85,15 @@ class PaymentRepository { try { return await chatService.removePromoCode(id: planId); } on DioException catch (e) { - final data = e.response?.data; - if (data is Map) { - return PromoRemoveResponse.fromJson(data); + final response = e.response; + final data = response?.data; + if (response != null && data is Map) { + return ApiResponseErrorReporter.decode( + responseErrors, + response, + '/api/chosen_plans/{id}/remove_promo_code', + () => PromoRemoveResponse.fromJson(data), + ); } rethrow; } diff --git a/lib/features/personal_diet_suggestion/services/personal_diet_suggestion_service.dart b/lib/features/personal_diet_suggestion/services/personal_diet_suggestion_service.dart index 245cbdbd..db9be06d 100644 --- a/lib/features/personal_diet_suggestion/services/personal_diet_suggestion_service.dart +++ b/lib/features/personal_diet_suggestion/services/personal_diet_suggestion_service.dart @@ -6,8 +6,11 @@ part 'personal_diet_suggestion_service.g.dart'; @RestApi() abstract class PersonalDietSuggestionService { - factory PersonalDietSuggestionService(Dio dio, {String? baseUrl}) = - _PersonalDietSuggestionService; + factory PersonalDietSuggestionService( + Dio dio, { + String? baseUrl, + ParseErrorLogger? errorLogger, + }) = _PersonalDietSuggestionService; @GET('/api/consultations') Future getConsultationWithPersonalDiets({ diff --git a/lib/features/plans/services/plan_service.dart b/lib/features/plans/services/plan_service.dart index 8a179760..6a7105c6 100644 --- a/lib/features/plans/services/plan_service.dart +++ b/lib/features/plans/services/plan_service.dart @@ -7,7 +7,11 @@ part 'plan_service.g.dart'; @RestApi() abstract class PlanService { - factory PlanService(Dio dio, {String baseUrl}) = _PlanService; + factory PlanService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _PlanService; @GET('/api/plans/show/{slug}') Future getPlan(@Path('slug') String slug); diff --git a/lib/features/plans/services/plans_service.dart b/lib/features/plans/services/plans_service.dart index 5f8769ce..10d4257d 100644 --- a/lib/features/plans/services/plans_service.dart +++ b/lib/features/plans/services/plans_service.dart @@ -6,7 +6,11 @@ part 'plans_service.g.dart'; @RestApi() abstract class PlansService { - factory PlansService(Dio dio, {String baseUrl}) = _PlansService; + factory PlansService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _PlansService; @GET('/api/plans/get_by_author/{author}') Future getPlansBySlug({ diff --git a/lib/features/profile/services/profile_service.dart b/lib/features/profile/services/profile_service.dart index 95117d36..60910256 100644 --- a/lib/features/profile/services/profile_service.dart +++ b/lib/features/profile/services/profile_service.dart @@ -14,7 +14,11 @@ part 'profile_service.g.dart'; @RestApi() abstract class ProfileService { - factory ProfileService(Dio dio, {String baseUrl}) = _ProfileService; + factory ProfileService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _ProfileService; @GET('/api/profile/show/{slug}') Future getProfileBySlug({@Path() required String slug}); diff --git a/lib/features/recipe/services/about_recipe_service.dart b/lib/features/recipe/services/about_recipe_service.dart index 21170ed4..b1edadbb 100644 --- a/lib/features/recipe/services/about_recipe_service.dart +++ b/lib/features/recipe/services/about_recipe_service.dart @@ -6,7 +6,11 @@ part 'about_recipe_service.g.dart'; @RestApi() abstract class AboutRecipeService { - factory AboutRecipeService(Dio dio, {String baseUrl}) = _AboutRecipeService; + factory AboutRecipeService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _AboutRecipeService; @POST('/api/recipes/{slug}/like') Future likeRecipe({ diff --git a/lib/features/recipe/services/my_recipes_service.dart b/lib/features/recipe/services/my_recipes_service.dart index 7500edcb..436debae 100644 --- a/lib/features/recipe/services/my_recipes_service.dart +++ b/lib/features/recipe/services/my_recipes_service.dart @@ -6,7 +6,11 @@ part 'my_recipes_service.g.dart'; @RestApi() abstract class MyRecipesService { - factory MyRecipesService(Dio dio, {String baseUrl}) = _MyRecipesService; + factory MyRecipesService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _MyRecipesService; @GET('/api/recipes/my') Future getMyRecipes(); diff --git a/lib/features/registration/services/registration_service.dart b/lib/features/registration/services/registration_service.dart index 200c2f6f..c1b1b752 100644 --- a/lib/features/registration/services/registration_service.dart +++ b/lib/features/registration/services/registration_service.dart @@ -6,7 +6,11 @@ part 'registration_service.g.dart'; @RestApi() abstract class RegistrationService { - factory RegistrationService(Dio dio, {String baseUrl}) = _RegistrationService; + factory RegistrationService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _RegistrationService; @POST('/api/register') Future> register({ diff --git a/lib/features/registration_v2/services/registration_service_v2.dart b/lib/features/registration_v2/services/registration_service_v2.dart index 2472eb40..53a0bfbf 100644 --- a/lib/features/registration_v2/services/registration_service_v2.dart +++ b/lib/features/registration_v2/services/registration_service_v2.dart @@ -5,7 +5,11 @@ part 'registration_service_v2.g.dart'; @RestApi() abstract class RegistrationServiceV2 { - factory RegistrationServiceV2(Dio dio, {String baseUrl}) = _RegistrationServiceV2; + factory RegistrationServiceV2( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _RegistrationServiceV2; @POST('/api/register') Future> register({ diff --git a/lib/features/settings/presentation/bloc/settings_cubit/settings_cubit.dart b/lib/features/settings/presentation/bloc/settings_cubit/settings_cubit.dart index a8479ffc..b5690c68 100644 --- a/lib/features/settings/presentation/bloc/settings_cubit/settings_cubit.dart +++ b/lib/features/settings/presentation/bloc/settings_cubit/settings_cubit.dart @@ -80,29 +80,33 @@ class SettingsCubit extends Cubit { } } - Future updateProfileDetails({ + Future updateProfileDetails({ required ProfileDetailsModel profileDetailsModel, }) async { try { await settingsRepository.updateProfileDetails( profileDetailsModel: profileDetailsModel, ); + return true; } catch (e, st) { await reportFrom(e, st, this); + return false; } finally { await init(); } } - Future updateProfileSettings({ + Future updateProfileSettings({ required ProfileSettingsModel profileSettingsModel, }) async { try { await settingsRepository.updateProfileSettings( profileSettingsModel: profileSettingsModel, ); + return true; } catch (e, st) { await reportFrom(e, st, this); + return false; } finally { await init(); } diff --git a/lib/features/settings/presentation/pages/general_info_screen.dart b/lib/features/settings/presentation/pages/general_info_screen.dart index 2396a54c..4340e573 100644 --- a/lib/features/settings/presentation/pages/general_info_screen.dart +++ b/lib/features/settings/presentation/pages/general_info_screen.dart @@ -1,5 +1,6 @@ import 'package:eatvio_app/core/data/selectionPopupModel/selection_popup_model.dart'; import 'package:eatvio_app/core/utils/date_time_utils.dart'; +import 'package:eatvio_app/core/utils/toasts.dart'; import 'package:eatvio_app/core/widgets/custom_drop_down.dart'; import 'package:eatvio_app/core/widgets/loader.dart'; import 'package:eatvio_app/features/create_diet/presentation/widgets/error_widget.dart'; @@ -10,6 +11,7 @@ import 'package:eatvio_app/core/theme/theme_helper.dart'; import 'package:eatvio_app/core/widgets/custom_text_form_field.dart'; import 'package:material_ui/material_ui.dart'; import 'package:cupertino_ui/cupertino_ui.dart'; +import 'package:go_router/go_router.dart'; class GeneralInfoScreen extends StatefulWidget { final SettingsEntity settingsEntity; @@ -233,7 +235,7 @@ class _GeneralInfoScreenState extends State { setState(() { isLoading = true; }); - await widget.settingsEntity.settingsCubit.updateProfileDetails( + final detailsSaved = await widget.settingsEntity.settingsCubit.updateProfileDetails( profileDetailsModel: (widget.settingsEntity.settingsCubit.state as SettingsStateLoaded).profileDetails.copyWith( firstName: firstNameController.text, lastName: lastNameController.text, @@ -244,7 +246,7 @@ class _GeneralInfoScreenState extends State { lang: languageController.text, ), ); - await widget.settingsEntity.settingsCubit.updateProfileSettings( + final settingsSaved = await widget.settingsEntity.settingsCubit.updateProfileSettings( profileSettingsModel: (widget.settingsEntity.settingsCubit.state as SettingsStateLoaded).profileSettings.copyWith( isPublicProfile: isPublicProfile.value, ), @@ -253,6 +255,10 @@ class _GeneralInfoScreenState extends State { setState(() { isLoading = false; }); + if (detailsSaved && settingsSaved) { + showSuccessToast(S.of(context).data_saved_successfully); + context.pop(); + } }, borderRadius: BorderRadius.circular(20), child: Ink( diff --git a/lib/features/settings/presentation/pages/other_info_screen.dart b/lib/features/settings/presentation/pages/other_info_screen.dart index 588b6e50..b799cc63 100644 --- a/lib/features/settings/presentation/pages/other_info_screen.dart +++ b/lib/features/settings/presentation/pages/other_info_screen.dart @@ -2,6 +2,7 @@ import 'package:eatvio_app/features/settings/entities/settings_entity.dart'; import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_state.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:eatvio_app/core/theme/theme_helper.dart'; +import 'package:eatvio_app/core/utils/toasts.dart'; import 'package:eatvio_app/core/widgets/custom_text_form_field.dart'; import 'package:material_ui/material_ui.dart'; import 'package:go_router/go_router.dart'; @@ -137,8 +138,8 @@ class _OtherInfoScreenState extends State { InkWell _saveButton() { return InkWell( - onTap: () { - widget.settingsEntity.settingsCubit.updateProfileDetails( + onTap: () async { + final saved = await widget.settingsEntity.settingsCubit.updateProfileDetails( profileDetailsModel: (widget.settingsEntity.settingsCubit.state as SettingsStateLoaded).profileDetails.copyWith( aboutAlergy: aboutAllergyController.text, aboutTakingPils: aboutTakingPillsController.text, @@ -148,7 +149,11 @@ class _OtherInfoScreenState extends State { additionalInfo: additionalInfoController.text, ), ); - GoRouter.of(context).pop(); + if (!mounted) return; + if (saved) { + showSuccessToast(S.of(context).data_saved_successfully); + GoRouter.of(context).pop(); + } }, borderRadius: BorderRadius.circular(20), child: Ink( diff --git a/lib/features/settings/presentation/pages/physical_activity_screen.dart b/lib/features/settings/presentation/pages/physical_activity_screen.dart index 86b66dd0..aae40880 100644 --- a/lib/features/settings/presentation/pages/physical_activity_screen.dart +++ b/lib/features/settings/presentation/pages/physical_activity_screen.dart @@ -2,6 +2,8 @@ import 'package:eatvio_app/features/settings/entities/settings_entity.dart'; import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_cubit.dart'; import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_state.dart'; import 'package:eatvio_app/core/theme/theme_helper.dart'; +import 'package:eatvio_app/core/utils/toasts.dart'; +import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:go_router/go_router.dart'; @@ -200,7 +202,7 @@ class _PhysicalActivityScreenState extends State { InkWell _saveButton() { return InkWell( - onTap: () { + onTap: () async { late final double activityCoefficient; switch (_physicalActivity) { case PhysicalActivity.minimum: @@ -221,12 +223,16 @@ class _PhysicalActivityScreenState extends State { default: break; } - widget.settingsEntity.settingsCubit.updateProfileDetails( + final saved = await widget.settingsEntity.settingsCubit.updateProfileDetails( profileDetailsModel: (widget.settingsEntity.settingsCubit.state as SettingsStateLoaded).profileDetails.copyWith( activityCoefficient: activityCoefficient, ), ); - GoRouter.of(context).pop(); + if (!mounted) return; + if (saved) { + showSuccessToast(S.of(context).data_saved_successfully); + GoRouter.of(context).pop(); + } }, borderRadius: BorderRadius.circular(20), child: Ink( diff --git a/lib/features/settings/presentation/pages/physical_form_screen.dart b/lib/features/settings/presentation/pages/physical_form_screen.dart index a7c612b9..3ced30af 100644 --- a/lib/features/settings/presentation/pages/physical_form_screen.dart +++ b/lib/features/settings/presentation/pages/physical_form_screen.dart @@ -2,6 +2,7 @@ import 'package:eatvio_app/features/settings/entities/settings_entity.dart'; import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_state.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:eatvio_app/core/theme/theme_helper.dart'; +import 'package:eatvio_app/core/utils/toasts.dart'; import 'package:eatvio_app/core/widgets/custom_text_form_field.dart'; import 'package:material_ui/material_ui.dart'; import 'package:flutter/services.dart'; @@ -108,8 +109,8 @@ class _PhysicalFormScreenState extends State { InkWell _saveButton() { return InkWell( - onTap: () { - widget.settingsEntity.settingsCubit.updateProfileDetails( + onTap: () async { + final saved = await widget.settingsEntity.settingsCubit.updateProfileDetails( profileDetailsModel: (widget.settingsEntity.settingsCubit.state as SettingsStateLoaded).profileDetails.copyWith( chestCircumference: int.parse(chestCircumferenceController.text), waistCircumference: int.parse(waistCircumferenceController.text), @@ -118,7 +119,11 @@ class _PhysicalFormScreenState extends State { weight: double.parse(weightController.text), ), ); - GoRouter.of(context).pop(); + if (!mounted) return; + if (saved) { + showSuccessToast(S.of(context).data_saved_successfully); + GoRouter.of(context).pop(); + } }, borderRadius: BorderRadius.circular(20), child: Ink( diff --git a/lib/features/settings/presentation/pages/pressure_screen.dart b/lib/features/settings/presentation/pages/pressure_screen.dart index 9f82b216..cf91b298 100644 --- a/lib/features/settings/presentation/pages/pressure_screen.dart +++ b/lib/features/settings/presentation/pages/pressure_screen.dart @@ -4,6 +4,7 @@ import 'package:eatvio_app/features/settings/entities/settings_entity.dart'; import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_state.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:eatvio_app/core/theme/theme_helper.dart'; +import 'package:eatvio_app/core/utils/toasts.dart'; import 'package:eatvio_app/core/widgets/custom_text_form_field.dart'; import 'package:material_ui/material_ui.dart'; import 'package:flutter/services.dart'; @@ -114,8 +115,8 @@ class _PressureScreenState extends State { InkWell _saveButton() { return InkWell( - onTap: () { - widget.settingsEntity.settingsCubit.updateProfileDetails( + onTap: () async { + final saved = await widget.settingsEntity.settingsCubit.updateProfileDetails( profileDetailsModel: (widget.settingsEntity.settingsCubit.state as SettingsStateLoaded).profileDetails.copyWith( bloodPressureUp: int.parse(bloodPressureUpController.text), bloodPressureDown: int.parse(bloodPressureDownController.text), @@ -123,7 +124,11 @@ class _PressureScreenState extends State { hasHypo: hypo.value, ), ); - GoRouter.of(context).pop(); + if (!mounted) return; + if (saved) { + showSuccessToast(S.of(context).data_saved_successfully); + GoRouter.of(context).pop(); + } }, borderRadius: BorderRadius.circular(20), child: Ink( diff --git a/lib/features/settings/services/settings_service.dart b/lib/features/settings/services/settings_service.dart index c83f4c41..c35e617c 100644 --- a/lib/features/settings/services/settings_service.dart +++ b/lib/features/settings/services/settings_service.dart @@ -9,7 +9,11 @@ part 'settings_service.g.dart'; @RestApi() abstract class SettingsService { - factory SettingsService(Dio dio, {String baseUrl}) = _SettingsService; + factory SettingsService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _SettingsService; @GET('/api/profile/settings') Future getProfileSettings(); diff --git a/lib/features/video_calls/services/video_call_service.dart b/lib/features/video_calls/services/video_call_service.dart index 88768381..530c9ab2 100644 --- a/lib/features/video_calls/services/video_call_service.dart +++ b/lib/features/video_calls/services/video_call_service.dart @@ -7,7 +7,11 @@ part 'video_call_service.g.dart'; @RestApi() abstract class VideoCallService { - factory VideoCallService(Dio dio, {String baseUrl}) = _VideoCallService; + factory VideoCallService( + Dio dio, { + String baseUrl, + ParseErrorLogger? errorLogger, + }) = _VideoCallService; @GET('/api/v2/chat/{conversation}/video-call/token') Future getParticipantToken({ diff --git a/lib/generated/intl/messages_all.dart b/lib/generated/intl/messages_all.dart index 9efeaa8e..3139e159 100644 --- a/lib/generated/intl/messages_all.dart +++ b/lib/generated/intl/messages_all.dart @@ -11,6 +11,7 @@ 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'; @@ -20,8 +21,8 @@ import 'messages_ru.dart' as messages_ru; typedef Future LibraryLoader(); Map _deferredLibraries = { - 'en': () => new Future.value(null), - 'ru': () => new Future.value(null), + 'en': () => new SynchronousFuture(null), + 'ru': () => new SynchronousFuture(null), }; MessageLookupByLibrary? _findExact(String localeName) { @@ -36,18 +37,20 @@ MessageLookupByLibrary? _findExact(String localeName) { } /// User programs should call this before using [localeName] for messages. -Future initializeMessages(String localeName) async { +Future initializeMessages(String localeName) { var availableLocale = Intl.verifiedLocale( - localeName, (locale) => _deferredLibraries[locale] != null, - onFailure: (_) => null); + localeName, + (locale) => _deferredLibraries[locale] != null, + onFailure: (_) => null, + ); if (availableLocale == null) { - return new Future.value(false); + return new SynchronousFuture(false); } var lib = _deferredLibraries[availableLocale]; - await (lib == null ? new Future.value(false) : lib()); + lib == null ? new SynchronousFuture(false) : lib(); initializeInternalMessageLookup(() => new CompositeMessageLookup()); messageLookup.addLocale(availableLocale, _findGeneratedMessagesFor); - return new Future.value(true); + return new SynchronousFuture(true); } bool _messagesExistFor(String locale) { @@ -59,8 +62,11 @@ 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 fa0b1557..7e3161dc 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -76,1034 +76,1271 @@ class MessageLookup extends MessageLookupByLibrary { static String m22(percent, amount) => "Discount ${percent}% — you save ${amount} ₽"; - static String m23(date) => "Start: ${date}"; + static String m23(place) => "#${place} in the ranking"; - static String m24(step) => "шаг ${step} из 2"; + static String m24(date) => "Start: ${date}"; - static String m25(planName, name) => + static String m25(step) => "шаг ${step} из 2"; + + static String m26(planName, name) => "Завтра начинается план «${planName}» с пользователем ${name}"; - static String m26(planName) => + static String m27(planName) => "Завтра начнется прохождение плана «${planName}»"; - static String m27(name, planName) => + static String m28(name, planName) => "Пользователь ${name} отменил подписку на план «${planName}»"; - static String m28(name, planName) => + static String m29(name, planName) => "Пользователь ${name} оплатил план «${planName}»"; - static String m29(name, planName) => + static String m30(name, planName) => "Пользователь ${name} подписался на план «${planName}»"; - static String m30(percent) => "Downloading… ${percent}%"; + static String m31(percent) => "Downloading… ${percent}%"; - static String m31(planName) => "Вы отменили подписку на план «${planName}»"; - - static String m32(place) => "#${place} in the ranking"; + static String m32(planName) => "Вы отменили подписку на план «${planName}»"; 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( - "Произошла ошибка. Мы уже работаем над её устранением. Попробуйте позже"), - "error_try_again_later": MessageLookupByLibrary.simpleMessage( - "Something went wrong. Please try again later."), - "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("Начисление рейтинга"), - "rating_place": m32, - "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/Eatvio"), - "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( + "Цена для покупателя", + ), + "data_saved_successfully": MessageLookupByLibrary.simpleMessage( + "Data saved successfully", + ), + "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( + "Произошла ошибка. Мы уже работаем над её устранением. Попробуйте позже", + ), + "error_try_again_later": MessageLookupByLibrary.simpleMessage( + "Something went wrong. Please try again later.", + ), + "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( + "Начисление рейтинга", + ), + "rating_place": m23, + "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": m24, + "statistic": MessageLookupByLibrary.simpleMessage("Статистика"), + "step": MessageLookupByLibrary.simpleMessage("Шаг"), + "step_by_step_photo_recipe": MessageLookupByLibrary.simpleMessage( + "Пошаговый фоторецепт", + ), + "step_widget": m25, + "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": m26, + "tomorrowYourPlanWillStart": m27, + "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": m28, + "userConfirmedPlanCompletion": MessageLookupByLibrary.simpleMessage( + "Пользователь подтвердил прохождения плана. В ближайшее время Вы получите", + ), + "userConfirmedPlanCompletionWithoutSum": + MessageLookupByLibrary.simpleMessage( + "Пользователь подтвердил прохождения плана.", + ), + "userPaidThePlan": m29, + "userSubscribedToPlan": m30, + "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/Eatvio", + ), + "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": m31, + "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": m32, + "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 0729e17d..c6707bee 100644 --- a/lib/generated/intl/messages_ru.dart +++ b/lib/generated/intl/messages_ru.dart @@ -69,612 +69,732 @@ class MessageLookup extends MessageLookupByLibrary { static String m22(percent, amount) => "Скидка ${percent}% — вы экономите ${amount} ₽"; - static String m23(date) => "Старт: ${date}"; + static String m23(place) => "${place}-й в рейтинге"; - static String m30(percent) => "Скачивание… ${percent}%"; + static String m24(date) => "Старт: ${date}"; - static String m31(place) => "${place}-й в рейтинге"; + static String m31(percent) => "Скачивание… ${percent}%"; 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("Введите промокод"), - "error_try_again_later": 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("Опубликованные"), - "rating_place": m31, - "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( - "Запись сохранена в Загрузки/Eatvio"), - "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( + "Цена для покупателя", + ), + "data_saved_successfully": 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( + "Введите промокод", + ), + "error_try_again_later": 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("Опубликованные"), + "rating_place": m23, + "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": m24, + "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( + "Запись сохранена в Загрузки/Eatvio", + ), + "video_call_recordings_download_success_ios": + MessageLookupByLibrary.simpleMessage( + "Запись сохранена в приложении «Файлы»", + ), + "video_call_recordings_downloading": MessageLookupByLibrary.simpleMessage( + "Скачивание…", + ), + "video_call_recordings_downloading_percent": m31, + "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 a9946216..6613ded8 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -18,8 +18,10 @@ 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!; } @@ -41,8 +43,10 @@ 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!; } @@ -62,12 +66,7 @@ class S { /// `Электронная почта` String get email { - return Intl.message( - 'Электронная почта', - name: 'email', - desc: '', - args: [], - ); + return Intl.message('Электронная почта', name: 'email', desc: '', args: []); } /// `Имя пользователя` @@ -82,12 +81,7 @@ class S { /// `Пароль` String get password { - return Intl.message( - 'Пароль', - name: 'password', - desc: '', - args: [], - ); + return Intl.message('Пароль', name: 'password', desc: '', args: []); } /// `Подтвердите пароль` @@ -112,22 +106,12 @@ 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: []); } /// `Как вас зовут?` @@ -150,44 +134,34 @@ class S { ); } - /// `Страна` - String get country { + /// `Data saved successfully` + String get data_saved_successfully { return Intl.message( - 'Страна', - name: 'country', + 'Data saved successfully', + name: 'data_saved_successfully', desc: '', args: [], ); } + /// `Страна` + String get country { + 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: []); } /// `Место проживания` @@ -242,22 +216,12 @@ 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: []); } /// `Замер веса` @@ -272,12 +236,7 @@ class S { /// `Ваш вес:` String get your_weight { - return Intl.message( - 'Ваш вес:', - name: 'your_weight', - desc: '', - args: [], - ); + return Intl.message('Ваш вес:', name: 'your_weight', desc: '', args: []); } /// `Замер роста` @@ -292,12 +251,7 @@ class S { /// `Ваш рост:` String get your_height { - return Intl.message( - 'Ваш рост:', - name: 'your_height', - desc: '', - args: [], - ); + return Intl.message('Ваш рост:', name: 'your_height', desc: '', args: []); } /// `Наличие аллергии` @@ -322,22 +276,12 @@ 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: []); } /// `Есть ли у вас гипертония?` @@ -482,22 +426,12 @@ 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: []); } /// `Предпочитаемый язык общения` @@ -522,12 +456,7 @@ class S { /// `Пропустить` String get skip { - return Intl.message( - 'Пропустить', - name: 'skip', - desc: '', - args: [], - ); + return Intl.message('Пропустить', name: 'skip', desc: '', args: []); } /// `Заполните информацию:` @@ -732,12 +661,7 @@ class S { /// `Войти` String get authentificate { - return Intl.message( - 'Войти', - name: 'authentificate', - desc: '', - args: [], - ); + return Intl.message('Войти', name: 'authentificate', desc: '', args: []); } /// `Аутентификация` @@ -762,12 +686,7 @@ class S { /// `Загрузка...` String get loading { - return Intl.message( - 'Загрузка...', - name: 'loading', - desc: '', - args: [], - ); + return Intl.message('Загрузка...', name: 'loading', desc: '', args: []); } /// `График веса` @@ -812,102 +731,52 @@ 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: []); } /// `Добавить замер` @@ -922,12 +791,7 @@ class S { /// `Вес` String get weight { - return Intl.message( - 'Вес', - name: 'weight', - desc: '', - args: [], - ); + return Intl.message('Вес', name: 'weight', desc: '', args: []); } /// `Пройденные планы` @@ -952,132 +816,67 @@ 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: []); } /// `комментария` @@ -1102,32 +901,17 @@ 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: []); } /// `комментариев` @@ -1142,32 +926,17 @@ 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: []); } /// `Показать полностью` @@ -1192,22 +961,12 @@ 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: []); } /// `Вегетарианская` @@ -1222,32 +981,17 @@ 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: []); } /// `Диета основана на потреблении растительной пищи и отказе от продуктов животного происхождения. Такой тип питания может быть разнообразным и вкусным, а также полезным для здоровья.` @@ -1292,62 +1036,32 @@ 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: []); } /// `Ссылка успешно скопирована` @@ -1392,92 +1106,47 @@ 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: []); } /// `Название: А-Я` @@ -1502,12 +1171,7 @@ class S { /// `По умолчанию` String get by_default { - return Intl.message( - 'По умолчанию', - name: 'by_default', - desc: '', - args: [], - ); + return Intl.message('По умолчанию', name: 'by_default', desc: '', args: []); } /// `Создание диеты` @@ -1552,12 +1216,7 @@ class S { /// `Статус диеты` String get diet_state { - return Intl.message( - 'Статус диеты', - name: 'diet_state', - desc: '', - args: [], - ); + return Intl.message('Статус диеты', name: 'diet_state', desc: '', args: []); } /// `Активная` @@ -1602,42 +1261,22 @@ 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: []); } /// `Добавьте обложку` @@ -1652,52 +1291,27 @@ 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: []); } /// `Добавление плана` @@ -1712,12 +1326,7 @@ class S { /// `Название` String get label { - return Intl.message( - 'Название', - name: 'label', - desc: '', - args: [], - ); + return Intl.message('Название', name: 'label', desc: '', args: []); } /// `План для поддержания формы` @@ -1742,22 +1351,12 @@ 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: []); } /// `Улучшение самочувствия` @@ -1812,72 +1411,37 @@ 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: []); } /// `Заголовок опции` @@ -1992,12 +1556,7 @@ class S { /// `Автор плана` String get plan_author { - return Intl.message( - 'Автор плана', - name: 'plan_author', - desc: '', - args: [], - ); + return Intl.message('Автор плана', name: 'plan_author', desc: '', args: []); } /// `Продолжительность опции` @@ -2032,12 +1591,7 @@ 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● Ограничение вредных продуктов;` @@ -2092,22 +1646,12 @@ 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: []); } /// `Опубликованные` @@ -2122,42 +1666,22 @@ 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: []); } /// `Снять с публикации` @@ -2172,42 +1696,22 @@ 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: []); } /// `Данные пользователя` @@ -2232,12 +1736,7 @@ class S { /// `Пол` String get sex { - return Intl.message( - 'Пол', - name: 'sex', - desc: '', - args: [], - ); + return Intl.message('Пол', name: 'sex', desc: '', args: []); } /// `Физическая форма` @@ -2252,42 +1751,22 @@ 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: []); } /// `Склонность к гипотонии` @@ -2392,12 +1871,7 @@ class S { /// `Подтвердить` String get confirm { - return Intl.message( - 'Подтвердить', - name: 'confirm', - desc: '', - args: [], - ); + return Intl.message('Подтвердить', name: 'confirm', desc: '', args: []); } /// `Не удалось отменить диету` @@ -2412,22 +1886,12 @@ 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: []); } /// `часа` @@ -2442,22 +1906,12 @@ 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: []); } /// `минут` @@ -2502,22 +1956,12 @@ 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: []); } /// `этапа` @@ -2552,22 +1996,12 @@ 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: []); } /// `Пошаговый фоторецепт` @@ -2592,12 +2026,7 @@ class S { /// `Спам` String get spam { - return Intl.message( - 'Спам', - name: 'spam', - desc: '', - args: [], - ); + return Intl.message('Спам', name: 'spam', desc: '', args: []); } /// `Нарушение законодательства` @@ -2612,12 +2041,7 @@ class S { /// `Обман` String get deception { - return Intl.message( - 'Обман', - name: 'deception', - desc: '', - args: [], - ); + return Intl.message('Обман', name: 'deception', desc: '', args: []); } /// `Насилие и вражда` @@ -2662,12 +2086,7 @@ class S { /// `Жалоба` String get complaint { - return Intl.message( - 'Жалоба', - name: 'complaint', - desc: '', - args: [], - ); + return Intl.message('Жалоба', name: 'complaint', desc: '', args: []); } /// `Что именно в этом материале Вы считаете неприемлемым и нарушающим правила?` @@ -2732,52 +2151,27 @@ 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: []); } /// `Поддельные документы` @@ -2802,12 +2196,7 @@ class S { /// `Другое` String get other { - return Intl.message( - 'Другое', - name: 'other', - desc: '', - args: [], - ); + return Intl.message('Другое', name: 'other', desc: '', args: []); } /// `Введение в заблуждение` @@ -2832,12 +2221,7 @@ class S { /// `Мошенничество` String get fraud { - return Intl.message( - 'Мошенничество', - name: 'fraud', - desc: '', - args: [], - ); + return Intl.message('Мошенничество', name: 'fraud', desc: '', args: []); } /// `Мошенничество с целью наживы. Если вас обманули, пожалуйста, сообщите об этом в правоохранительные органы.` @@ -2862,12 +2246,7 @@ class S { /// `Оскорбление` String get hatred { - return Intl.message( - 'Оскорбление', - name: 'hatred', - desc: '', - args: [], - ); + return Intl.message('Оскорбление', name: 'hatred', desc: '', args: []); } /// `Склонение к самоубийству` @@ -2892,12 +2271,7 @@ class S { /// `Экстремизм` String get extremism { - return Intl.message( - 'Экстремизм', - name: 'extremism', - desc: '', - args: [], - ); + return Intl.message('Экстремизм', name: 'extremism', desc: '', args: []); } /// `Призывы к травле` @@ -2952,12 +2326,7 @@ class S { /// `Ваш рейтинг` String get your_rating { - return Intl.message( - 'Ваш рейтинг', - name: 'your_rating', - desc: '', - args: [], - ); + return Intl.message('Ваш рейтинг', name: 'your_rating', desc: '', args: []); } /// `Скопировать пригласительную ссылку` @@ -2972,12 +2341,7 @@ class S { /// `Статистика` String get statistic { - return Intl.message( - 'Статистика', - name: 'statistic', - desc: '', - args: [], - ); + return Intl.message('Статистика', name: 'statistic', desc: '', args: []); } /// `За всё время` @@ -2992,32 +2356,17 @@ 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: []); } /// `Количество приглашенных` @@ -3252,12 +2601,7 @@ class S { /// `Заказать` String get to_order { - return Intl.message( - 'Заказать', - name: 'to_order', - desc: '', - args: [], - ); + return Intl.message('Заказать', name: 'to_order', desc: '', args: []); } /// `Дату старта плана невозможно выбрать, пока Вы не привяжите карту` @@ -3322,12 +2666,7 @@ class S { /// `Оплатить` String get pay { - return Intl.message( - 'Оплатить', - name: 'pay', - desc: '', - args: [], - ); + return Intl.message('Оплатить', name: 'pay', desc: '', args: []); } /// `Выберите банк` @@ -3522,22 +2861,12 @@ 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: []); } /// `У вас нет привязанных карт. Что бы начать работу, привяжите карту` @@ -3642,12 +2971,7 @@ class S { /// `Завершен` String get done { - return Intl.message( - 'Завершен', - name: 'done', - desc: '', - args: [], - ); + return Intl.message('Завершен', name: 'done', desc: '', args: []); } /// `Поздравляем, консультация успешно оплачена` @@ -3812,12 +3136,7 @@ class S { /// `Отправить` String get send { - return Intl.message( - 'Отправить', - name: 'send', - desc: '', - args: [], - ); + return Intl.message('Отправить', name: 'send', desc: '', args: []); } /// `Прокомментировать день` @@ -3902,12 +3221,7 @@ class S { /// `Отменить` String get cancel { - return Intl.message( - 'Отменить', - name: 'cancel', - desc: '', - args: [], - ); + return Intl.message('Отменить', name: 'cancel', desc: '', args: []); } /// `Заказ отменен` @@ -4272,22 +3586,12 @@ 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: []); } /// `Удалить комментарий` @@ -4412,12 +3716,7 @@ class S { /// `Удалить` String get delete { - return Intl.message( - 'Удалить', - name: 'delete', - desc: '', - args: [], - ); + return Intl.message('Удалить', name: 'delete', desc: '', args: []); } /// `Не получилось удалить ваш аккаунт` @@ -4462,12 +3761,7 @@ class S { /// `Ваше имя` String get your_name { - return Intl.message( - 'Ваше имя', - name: 'your_name', - desc: '', - args: [], - ); + return Intl.message('Ваше имя', name: 'your_name', desc: '', args: []); } /// `Ваша фамилия` @@ -4492,42 +3786,22 @@ 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: []); } /// `Введите рост` @@ -4542,12 +3816,7 @@ class S { /// `Введите вес` String get type_weight { - return Intl.message( - 'Введите вес', - name: 'type_weight', - desc: '', - args: [], - ); + return Intl.message('Введите вес', name: 'type_weight', desc: '', args: []); } /// `Зарегистрироваться` @@ -4562,12 +3831,7 @@ class S { /// `Последний шаг` String get last_step { - return Intl.message( - 'Последний шаг', - name: 'last_step', - desc: '', - args: [], - ); + return Intl.message('Последний шаг', name: 'last_step', desc: '', args: []); } /// `Эти данные нужны для корректной работы дневника питания и расчета вашей дневной нормы потребления КБЖУ` @@ -4762,22 +4026,12 @@ 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: []); } /// `Регистрация не удалась!` @@ -4802,12 +4056,7 @@ class S { /// `Покупатель` String get customer { - return Intl.message( - 'Покупатель', - name: 'customer', - desc: '', - args: [], - ); + return Intl.message('Покупатель', name: 'customer', desc: '', args: []); } /// `Персональная диета установлена` @@ -4842,12 +4091,7 @@ class S { /// `14 дней` String get fourteenDays { - return Intl.message( - '14 дней', - name: 'fourteenDays', - desc: '', - args: [], - ); + return Intl.message('14 дней', name: 'fourteenDays', desc: '', args: []); } /// `Мы собираем самое большое сообщество людей, желающих вести здоровый образ жизни!` @@ -4882,12 +4126,7 @@ class S { /// `Пригласить` String get invite { - return Intl.message( - 'Пригласить', - name: 'invite', - desc: '', - args: [], - ); + return Intl.message('Пригласить', name: 'invite', desc: '', args: []); } /// `Комментарий` @@ -4942,12 +4181,7 @@ 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` @@ -4972,12 +4206,7 @@ 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` @@ -5042,42 +4271,22 @@ 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: []); } /// `?` @@ -5132,22 +4341,12 @@ 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?` @@ -5172,12 +4371,7 @@ 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` @@ -5332,22 +4526,12 @@ 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` @@ -5422,12 +4606,7 @@ 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` @@ -5462,42 +4641,22 @@ 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` @@ -5512,22 +4671,12 @@ 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` @@ -5632,32 +4781,17 @@ 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` @@ -5672,12 +4806,7 @@ 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` @@ -6002,12 +5131,7 @@ 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.` @@ -6082,12 +5206,7 @@ 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` @@ -6132,12 +5251,7 @@ 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}` @@ -6152,7 +5266,9 @@ 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', @@ -6212,8 +5328,12 @@ 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', @@ -6412,20 +5532,20 @@ class S { ); } - /// `{place}-й в рейтинге` + /// `#{place} in the ranking` String rating_place(int place) { return Intl.message( - '$place-й в рейтинге', + '#$place in the ranking', name: 'rating_place', desc: '', args: [place], ); } - /// `Произошла ошибка. Попробуйте ещё раз через некоторое время` + /// `Something went wrong. Please try again later.` String get error_try_again_later { return Intl.message( - 'Произошла ошибка. Попробуйте ещё раз через некоторое время', + 'Something went wrong. Please try again later.', name: 'error_try_again_later', desc: '', args: [], diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 972fc86e..4719adc7 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -9,6 +9,7 @@ "last_name": "Фамилия", "what_is_your_name": "Как вас зовут?", "date_of_birth": "Дата рождения", + "data_saved_successfully": "Data saved successfully", "country": "Страна", "Russia": "Россия", "city": "Город", diff --git a/lib/l10n/intl_ru.arb b/lib/l10n/intl_ru.arb index cc469a53..9503cdaa 100644 --- a/lib/l10n/intl_ru.arb +++ b/lib/l10n/intl_ru.arb @@ -9,6 +9,7 @@ "last_name": "Фамилия", "what_is_your_name": "Как вас зовут?", "date_of_birth": "Дата рождения", + "data_saved_successfully": "Данные успешно сохранены", "country": "Страна", "Russia": "Россия", "city": "Город", diff --git a/lib/main.dart b/lib/main.dart index bbc8e5d4..4a2c77fd 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -16,13 +16,14 @@ import 'package:flutter_portal/flutter_portal.dart'; import 'package:keyboard_dismisser/keyboard_dismisser.dart'; Future main() async { - WidgetsFlutterBinding.ensureInitialized(); - FlutterForegroundTask.initCommunicationPort(); - VideoCallForegroundBootstrap.ensureInitialized(); - await AppInitializer.initialize(buildType: AppBuildType.prod); - await sl().initialize(); - await PushNavigationHandler.initialize(); - await AppInitializer.runAppWithSentry(() => runApp(const MyApp())); + await AppInitializer.runAppWithSentry(() async { + FlutterForegroundTask.initCommunicationPort(); + VideoCallForegroundBootstrap.ensureInitialized(); + await AppInitializer.initialize(buildType: AppBuildType.prod); + await sl().initialize(); + await PushNavigationHandler.initialize(); + runApp(const MyApp()); + }); } class MyApp extends StatefulWidget { diff --git a/pubspec.yaml b/pubspec.yaml index 3f5a8ec7..e020bfd2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: eatvio_app description: A new Flutter project. -version: 1.3.74+163 +version: 1.3.75+164 publish_to: 'none' environment: diff --git a/test/core/error_reporting/api_response_reporting_test.dart b/test/core/error_reporting/api_response_reporting_test.dart new file mode 100644 index 00000000..ad19d30d --- /dev/null +++ b/test/core/error_reporting/api_response_reporting_test.dart @@ -0,0 +1,311 @@ +import 'dart:async'; +import 'dart:convert'; +import 'dart:typed_data'; + +import 'package:dio/dio.dart'; +import 'package:eatvio_app/core/app_initializer.dart'; +import 'package:eatvio_app/core/di/app_config_registration.dart'; +import 'package:eatvio_app/core/di/external_registrations.dart'; +import 'package:eatvio_app/core/di/repository_registrations.dart'; +import 'package:eatvio_app/core/di/service_registrations.dart'; +import 'package:eatvio_app/core/error_reporting/error_report_policy.dart'; +import 'package:eatvio_app/core/locator_service.dart'; +import 'package:eatvio_app/core/prefs_keys.dart'; +import 'package:eatvio_app/core/routing/other_routes.dart'; +import 'package:eatvio_app/core/routing/route_constants.dart'; +import 'package:eatvio_app/core/token_storage.dart'; +import 'package:eatvio_app/features/notifications/models/notification_model.dart'; +import 'package:eatvio_app/features/notifications/service/notifications_service.dart'; +import 'package:eatvio_app/features/payment/repositories/payment_repository.dart'; +import 'package:eatvio_app/features/profile/repositories/profile_repository.dart'; +import 'package:eatvio_app/features/recipe/presentation/cubit/about_recipe_cubit.dart'; +import 'package:eatvio_app/features/recipe/presentation/cubit/about_recipe_state.dart'; +import 'package:flutter/widgets.dart'; +import 'package:flutter_dotenv/flutter_dotenv.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:go_router/go_router.dart'; +import 'package:package_info_plus/package_info_plus.dart'; +import 'package:sentry_flutter/sentry_flutter.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +void main() { + TestWidgetsFlutterBinding.ensureInitialized(); + + late _MemoryTransport transport; + late List events; + + setUp(() async { + transport = _MemoryTransport(); + events = []; + await Sentry.init((options) { + options.dsn = 'https://test@example.invalid/1'; + options.transport = transport; + options.sendClientReports = false; + // Проверяем дедупликацию в приложении независимо от кеша SDK. + options.enableDeduplication = false; + options.beforeSend = (event, hint) { + final prepared = ErrorReportPolicy.prepareSentryEvent(event, hint); + if (prepared != null) events.add(prepared); + return prepared; + }; + }); + + dotenv.loadFromString( + envString: 'DEV_BASE_URL=https://api.example.invalid', + ); + SharedPreferences.setMockInitialValues({ + PrefsKeys.welcomeScreenWasShowed.name: true, + 'token': 'synthetic-token', + }); + AppConfigRegistration.registerAppConfig(buildType: AppBuildType.tests); + ExternalRegistrations.registerAll(); + ServiceRegistrations.registerAll(); + RepositoryRegistrations.registerAll(); + }); + + tearDown(() async { + TokenStorage.clearCache(); + await sl.reset(); + await Sentry.close(); + }); + + test( + 'reports a missing recipe field once and keeps the original stack', + () async { + sl().httpClientAdapter = _ResponseAdapter(200, '{}'); + final cubit = AboutRecipeCubit( + recipeRepository: sl(), + profileRepository: sl(), + ); + addTearDown(cubit.close); + + await cubit.initRecipe('private-recipe-id'); + await transport.waitForEvent(); + + expect(cubit.state, isA()); + expect(events.single.tags?['origin'], 'api_response'); + expect( + events.single.exceptions!.single.stackTrace!.frames.any( + (frame) => frame.fileName?.endsWith('recipes_model.g.dart') ?? false, + ), + isTrue, + ); + expect(transport.sent, hasLength(1)); + }, + ); + + test( + 'reports a malformed profile even when the welcome redirect handles it', + () async { + final adapter = _ResponseAdapter(200, '{}'); + sl().httpClientAdapter = adapter; + final route = OtherRoutes.createRoutes().whereType().singleWhere( + (route) => route.path == RouteConstants.welcomeScreen, + ); + + expect( + await route.redirect!(_BuildContext(), _RouterState()), + RouteConstants.authScreen, + ); + await transport.waitForEvent(); + + expect(adapter.requests.single.path, '/api/profile/index'); + expect(events.single.exceptions!.single.value, contains('TypeError')); + expect(transport.sent, hasLength(1)); + }, + ); + + test( + 'reports invalid JSON without sending its contents or HTTP breadcrumbs', + () async { + const secret = 'private-patient-data'; + sl().httpClientAdapter = _ResponseAdapter(200, '{"$secret":'); + await Sentry.addBreadcrumb( + Breadcrumb.http( + url: Uri.parse('https://api.example.invalid/user/$secret'), + method: 'GET', + httpQuery: 'profile=$secret', + ), + ); + + await expectLater( + sl().getMyProfile(), + throwsA(isA()), + ); + await transport.waitForEvent(); + + final event = events.single; + expect(event.exceptions!.single.value, contains('FormatException')); + expect(event.exceptions!.single.stackTrace!.frames, isNotEmpty); + expect(event.tags?['origin'], 'api_response'); + expect( + event.contexts['report_extras'], + containsPair('http_status_code', '200'), + ); + expect(jsonEncode(event.toJson()), isNot(contains(secret))); + }, + ); + + test( + 'reports the wrong JSON root type before the Retrofit model parser', + () async { + sl().httpClientAdapter = _ResponseAdapter(200, '[]'); + + await expectLater( + sl().getMyProfile(), + throwsA(isA()), + ); + await transport.waitForEvent(); + + expect(events.single.exceptions!.single.value, contains('TypeError')); + expect( + events.single.contexts['report_extras'], + containsPair('http_status_code', '200'), + ); + }, + ); + + test( + 'reports a malformed notification and keeps the replacement item', + () async { + sl().httpClientAdapter = _ResponseAdapter( + 200, + '{"data":[17],"current_page":1,"last_page":1,"per_page":20,"total":1}', + ); + + final result = await sl().getNotifications(page: 1); + await transport.waitForEvent(); + + expect( + (result!['notifications'] as List).single, + isA(), + ); + expect( + events.single.contexts['report_extras'], + containsPair('endpoint', '/api/profile/notifications'), + ); + }, + ); + + test( + 'reports an invalid minimum version and still skips the update screen', + () async { + PackageInfo.setMockInitialValues( + appName: 'Eatvio', + packageName: 'example.invalid', + version: '1.0.0', + buildNumber: '1', + buildSignature: '', + ); + sl().httpClientAdapter = _ResponseAdapter( + 200, + '{"min_version":"invalid"}', + ); + final route = OtherRoutes.createRoutes().whereType().singleWhere( + (route) => route.path == RouteConstants.updateScreen, + ); + + expect( + await route.redirect!(_BuildContext(), _RouterState()), + RouteConstants.welcomeScreen, + ); + await transport.waitForEvent(); + + expect( + events.single.contexts['report_extras'], + containsPair('endpoint', '/api/app_versions'), + ); + }, + ); + + test( + 'reports a malformed 422 promo response after its manual parse', + () async { + sl().httpClientAdapter = _ResponseAdapter(422, '{}'); + + await expectLater( + sl().applyPromoCode( + planId: 42, + promoCode: 'private', + ), + throwsA(isA()), + ); + await transport.waitForEvent(); + + expect( + events.single.contexts['report_extras'], + containsPair('http_status_code', '422'), + ); + expect(transport.sent, hasLength(1)); + }, + ); + + test('keeps expected 4xx quiet and captures a regular 5xx once', () async { + final dio = sl(); + final cubit = AboutRecipeCubit( + recipeRepository: sl(), + profileRepository: sl(), + ); + addTearDown(cubit.close); + + dio.httpClientAdapter = _ResponseAdapter(404, '{}'); + await cubit.initRecipe('synthetic'); + expect(events, isEmpty); + + dio.httpClientAdapter = _ResponseAdapter(500, '{}'); + await cubit.initRecipe('synthetic'); + await transport.waitForEvent(); + + expect( + events.single.exceptions!.first.mechanism!.type, + 'SentryDioClientAdapter', + ); + expect(transport.sent, hasLength(1)); + }); +} + +class _ResponseAdapter implements HttpClientAdapter { + _ResponseAdapter(this.statusCode, this.body); + + final int statusCode; + final String body; + final requests = []; + + @override + Future fetch( + RequestOptions options, + Stream? requestStream, + Future? cancelFuture, + ) async { + requests.add(options); + return ResponseBody.fromString( + body, + statusCode, + headers: { + Headers.contentTypeHeader: [Headers.jsonContentType], + }, + ); + } + + @override + void close({bool force = false}) {} +} + +class _MemoryTransport implements Transport { + final sent = []; + final _firstEvent = Completer(); + + Future waitForEvent() => + _firstEvent.future.timeout(const Duration(seconds: 2)); + + @override + Future send(SentryEnvelope envelope) async { + sent.add(envelope); + if (!_firstEvent.isCompleted) _firstEvent.complete(); + return envelope.header.eventId; + } +} + +class _BuildContext extends Fake implements BuildContext {} + +class _RouterState extends Fake implements GoRouterState {} diff --git a/test/features/settings/presentation/bloc/settings_cubit_test.dart b/test/features/settings/presentation/bloc/settings_cubit_test.dart index 674492c4..9cc0ad17 100644 --- a/test/features/settings/presentation/bloc/settings_cubit_test.dart +++ b/test/features/settings/presentation/bloc/settings_cubit_test.dart @@ -141,12 +141,46 @@ void main() { await settingsCubit!.init(); await Future.delayed(const Duration(milliseconds: 100)); - await settingsCubit!.updateProfileDetails(profileDetailsModel: SettingsFixtures.profileDetailsModel()); + final result = await settingsCubit!.updateProfileDetails(profileDetailsModel: SettingsFixtures.profileDetailsModel()); await Future.delayed(const Duration(milliseconds: 100)); + expect(result, true); verify(mockSettingsRepository.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).called(1); }); + test('updateProfileDetails - возвращает false при ошибке и перезагружает состояние', () async { + settingsCubit = SettingsCubit( + profileRepository: mockProfileRepository, + settingsRepository: mockSettingsRepository, + consultantRepository: mockConsultantRepository, + consultationsRepository: mockConsultationsRepository, + sessionLifecycleService: fakeSession, + ); + + when(mockProfileRepository.getMyProfile()) + .thenAnswer((_) async => SettingsFixtures.profileModel()); + when(mockConsultantRepository.getMyRequestStatus(any)) + .thenThrow(Exception('Not found')); + when(mockConsultationsRepository.getUserPurchases(any, any)) + .thenAnswer((_) async => []); + when(mockSettingsRepository.getOAuthAccounts()) + .thenAnswer((_) async => SettingsFixtures.oauthAccountsResponseModel()); + when(mockSettingsRepository.getProfileSettings()) + .thenAnswer((_) async => SettingsFixtures.profileSettingsModel()); + when(mockProfileRepository.getMyProfileDetails()) + .thenAnswer((_) async => SettingsFixtures.profileDetailsModel()); + when(mockSettingsRepository.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))) + .thenThrow(Exception('Ошибка сохранения')); + + await settingsCubit!.init(); + await Future.delayed(const Duration(milliseconds: 100)); + final result = await settingsCubit!.updateProfileDetails(profileDetailsModel: SettingsFixtures.profileDetailsModel()); + await Future.delayed(const Duration(milliseconds: 100)); + + expect(result, false); + expect(settingsCubit!.state, isA()); + }); + test('updateProfileSettings - обновляет настройки профиля', () async { settingsCubit = SettingsCubit( profileRepository: mockProfileRepository, @@ -173,12 +207,46 @@ void main() { await settingsCubit!.init(); await Future.delayed(const Duration(milliseconds: 100)); - await settingsCubit!.updateProfileSettings(profileSettingsModel: SettingsFixtures.profileSettingsModel()); + final result = await settingsCubit!.updateProfileSettings(profileSettingsModel: SettingsFixtures.profileSettingsModel()); await Future.delayed(const Duration(milliseconds: 100)); + expect(result, true); verify(mockSettingsRepository.updateProfileSettings(profileSettingsModel: anyNamed('profileSettingsModel'))).called(1); }); + test('updateProfileSettings - возвращает false при ошибке и перезагружает состояние', () async { + settingsCubit = SettingsCubit( + profileRepository: mockProfileRepository, + settingsRepository: mockSettingsRepository, + consultantRepository: mockConsultantRepository, + consultationsRepository: mockConsultationsRepository, + sessionLifecycleService: fakeSession, + ); + + when(mockProfileRepository.getMyProfile()) + .thenAnswer((_) async => SettingsFixtures.profileModel()); + when(mockConsultantRepository.getMyRequestStatus(any)) + .thenThrow(Exception('Not found')); + when(mockConsultationsRepository.getUserPurchases(any, any)) + .thenAnswer((_) async => []); + when(mockSettingsRepository.getOAuthAccounts()) + .thenAnswer((_) async => SettingsFixtures.oauthAccountsResponseModel()); + when(mockSettingsRepository.getProfileSettings()) + .thenAnswer((_) async => SettingsFixtures.profileSettingsModel()); + when(mockProfileRepository.getMyProfileDetails()) + .thenAnswer((_) async => SettingsFixtures.profileDetailsModel()); + when(mockSettingsRepository.updateProfileSettings(profileSettingsModel: anyNamed('profileSettingsModel'))) + .thenThrow(Exception('Ошибка сохранения')); + + await settingsCubit!.init(); + await Future.delayed(const Duration(milliseconds: 100)); + final result = await settingsCubit!.updateProfileSettings(profileSettingsModel: SettingsFixtures.profileSettingsModel()); + await Future.delayed(const Duration(milliseconds: 100)); + + expect(result, false); + expect(settingsCubit!.state, isA()); + }); + test('deleteAccount - удаляет аккаунт', () async { settingsCubit = SettingsCubit( profileRepository: mockProfileRepository, diff --git a/test/features/settings/presentation/pages/general_info_screen_test.dart b/test/features/settings/presentation/pages/general_info_screen_test.dart index 1d302215..5299b133 100644 --- a/test/features/settings/presentation/pages/general_info_screen_test.dart +++ b/test/features/settings/presentation/pages/general_info_screen_test.dart @@ -13,6 +13,7 @@ import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/se import 'package:eatvio_app/features/settings/presentation/pages/general_info_screen.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; +import 'package:flutter/services.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -25,6 +26,8 @@ import 'general_info_screen_test.mocks.dart'; @GenerateNiceMocks([MockSpec()]) void main() { group('GeneralInfoScreen smoke', () { + final toastCalls = []; + setUpAll(() async { dotenv.loadFromString(envString: 'DEV_BASE_URL=http://localhost\nBASE_URL=http://localhost'); }); @@ -32,6 +35,21 @@ void main() { setUp(() async { await sl.reset(); sl.registerLazySingleton(() => AppConfig(buildType: AppBuildType.tests)..setBaseUrl('http://localhost')); + toastCalls.clear(); + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + (MethodCall methodCall) async { + toastCalls.add(methodCall); + return null; + }, + ); + }); + + tearDown(() { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + null, + ); }); const mockProfile = ProfileModel( @@ -95,7 +113,20 @@ void main() { supportedLocales: const [Locale('ru')], routerConfig: GoRouter( initialLocation: '/', - routes: [GoRoute(path: '/', builder: (context, state) => child)], + routes: [ + GoRoute( + path: '/', + builder: (context, state) => Scaffold( + body: Center( + child: TextButton( + onPressed: () => context.push('/screen'), + child: const Text('open screen'), + ), + ), + ), + ), + GoRoute(path: '/screen', builder: (context, state) => child), + ], ), ); } @@ -112,7 +143,7 @@ void main() { when(cubit.state).thenReturn(state); when(cubit.stream).thenAnswer((_) => Stream.value(state)); when(cubit.close()).thenAnswer((_) async => Future.value()); - when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); @@ -122,8 +153,8 @@ void main() { child: wrap(GeneralInfoScreen(settingsEntity: settingsEntity)), ), ); - await tester.pump(); - await tester.pump(const Duration(milliseconds: 200)); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); expect(find.byType(GeneralInfoScreen), findsOneWidget); }); @@ -136,13 +167,13 @@ void main() { profile: mockProfile, hasActiveConsultation: false, ); - final saveCompleter = Completer(); + final saveCompleter = Completer(); when(cubit.state).thenReturn(state); when(cubit.stream).thenAnswer((_) => Stream.value(state)); when(cubit.close()).thenAnswer((_) async => Future.value()); when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) => saveCompleter.future); - when(cubit.updateProfileSettings(profileSettingsModel: anyNamed('profileSettingsModel'))).thenAnswer((_) async {}); + when(cubit.updateProfileSettings(profileSettingsModel: anyNamed('profileSettingsModel'))).thenAnswer((_) async => true); final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); @@ -152,7 +183,8 @@ void main() { child: wrap(GeneralInfoScreen(settingsEntity: settingsEntity)), ), ); - await tester.pump(); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); expect(find.text('Сохранить'), findsOneWidget); expect(find.byType(Loader), findsNothing); @@ -167,12 +199,88 @@ void main() { final loaderSize = tester.getSize(find.byType(Loader)); expect(loaderSize.height, lessThan(60)); - saveCompleter.complete(); + saveCompleter.complete(true); + await tester.pump(); + await tester.pumpAndSettle(); + + expect(find.byType(GeneralInfoScreen), findsNothing); + expect(find.text('open screen'), findsOneWidget); + + await tester.pump(const Duration(seconds: 2)); + }); + + testWidgets('показывает уведомление после успешного сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); + when(cubit.updateProfileSettings(profileSettingsModel: anyNamed('profileSettingsModel'))).thenAnswer((_) async => true); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(GeneralInfoScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); await tester.pump(); await tester.pump(const Duration(milliseconds: 50)); - expect(find.text('Сохранить'), findsOneWidget); - expect(find.byType(Loader), findsNothing); + final toastMessages = toastCalls.where((call) => call.method == 'showToast').map((call) => call.arguments['msg']); + expect(toastMessages, contains('Данные успешно сохранены')); + + await tester.pumpAndSettle(); + expect(find.byType(GeneralInfoScreen), findsNothing); + expect(find.text('open screen'), findsOneWidget); + + await tester.pump(const Duration(seconds: 2)); + }); + + testWidgets('не показывает уведомление, если сохранение не удалось', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => false); + when(cubit.updateProfileSettings(profileSettingsModel: anyNamed('profileSettingsModel'))).thenAnswer((_) async => true); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(GeneralInfoScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + expect(toastCalls.where((call) => call.method == 'showToast'), isEmpty); + expect(find.byType(GeneralInfoScreen), findsOneWidget); }); }); } diff --git a/test/features/settings/presentation/pages/other_info_screen_test.dart b/test/features/settings/presentation/pages/other_info_screen_test.dart index ee437678..71767cf2 100644 --- a/test/features/settings/presentation/pages/other_info_screen_test.dart +++ b/test/features/settings/presentation/pages/other_info_screen_test.dart @@ -10,6 +10,7 @@ import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/se import 'package:eatvio_app/features/settings/presentation/pages/other_info_screen.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; +import 'package:flutter/services.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -22,6 +23,8 @@ import 'other_info_screen_test.mocks.dart'; @GenerateNiceMocks([MockSpec()]) void main() { group('OtherInfoScreen smoke', () { + final toastCalls = []; + setUpAll(() async { dotenv.loadFromString(envString: 'DEV_BASE_URL=http://localhost\nBASE_URL=http://localhost'); }); @@ -29,6 +32,21 @@ void main() { setUp(() async { await sl.reset(); sl.registerLazySingleton(() => AppConfig(buildType: AppBuildType.tests)..setBaseUrl('http://localhost')); + toastCalls.clear(); + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + (MethodCall methodCall) async { + toastCalls.add(methodCall); + return null; + }, + ); + }); + + tearDown(() { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + null, + ); }); const mockProfile = ProfileModel( @@ -92,7 +110,20 @@ void main() { supportedLocales: const [Locale('ru')], routerConfig: GoRouter( initialLocation: '/', - routes: [GoRoute(path: '/', builder: (context, state) => child)], + routes: [ + GoRoute( + path: '/', + builder: (context, state) => Scaffold( + body: Center( + child: TextButton( + onPressed: () => context.push('/screen'), + child: const Text('open screen'), + ), + ), + ), + ), + GoRoute(path: '/screen', builder: (context, state) => child), + ], ), ); } @@ -109,9 +140,7 @@ void main() { when(cubit.state).thenReturn(state); when(cubit.stream).thenAnswer((_) => Stream.value(state)); when(cubit.close()).thenAnswer((_) async => Future.value()); - when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async { - return Future.value(); - }); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); @@ -121,10 +150,82 @@ void main() { child: wrap(OtherInfoScreen(settingsEntity: settingsEntity)), ), ); - await tester.pump(); - await tester.pump(const Duration(milliseconds: 100)); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); expect(find.byType(OtherInfoScreen), findsOneWidget); }); + + testWidgets('показывает уведомление и возвращается к настройкам после успешного сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(OtherInfoScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + final toastMessages = toastCalls.where((call) => call.method == 'showToast').map((call) => call.arguments['msg']); + expect(toastMessages, contains('Данные успешно сохранены')); + + await tester.pumpAndSettle(); + expect(find.byType(OtherInfoScreen), findsNothing); + expect(find.text('open screen'), findsOneWidget); + + await tester.pump(const Duration(seconds: 2)); + }); + + testWidgets('не показывает уведомление и остаётся на экране при ошибке сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => false); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(OtherInfoScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + expect(toastCalls.where((call) => call.method == 'showToast'), isEmpty); + expect(find.byType(OtherInfoScreen), findsOneWidget); + }); }); } diff --git a/test/features/settings/presentation/pages/physical_activity_screen_test.dart b/test/features/settings/presentation/pages/physical_activity_screen_test.dart index 10d4a46b..2b849d89 100644 --- a/test/features/settings/presentation/pages/physical_activity_screen_test.dart +++ b/test/features/settings/presentation/pages/physical_activity_screen_test.dart @@ -8,7 +8,9 @@ import 'package:eatvio_app/features/settings/models/profile_settings_model.dart' import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_cubit.dart'; import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/settings_state.dart'; import 'package:eatvio_app/features/settings/presentation/pages/physical_activity_screen.dart'; +import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; +import 'package:flutter/services.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -21,6 +23,8 @@ import 'physical_activity_screen_test.mocks.dart'; @GenerateNiceMocks([MockSpec()]) void main() { group('PhysicalActivityScreen smoke', () { + final toastCalls = []; + setUpAll(() async { dotenv.loadFromString(envString: 'DEV_BASE_URL=http://localhost\nBASE_URL=http://localhost'); }); @@ -28,6 +32,21 @@ void main() { setUp(() async { await sl.reset(); sl.registerLazySingleton(() => AppConfig(buildType: AppBuildType.tests)..setBaseUrl('http://localhost')); + toastCalls.clear(); + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + (MethodCall methodCall) async { + toastCalls.add(methodCall); + return null; + }, + ); + }); + + tearDown(() { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + null, + ); }); const mockProfile = ProfileModel( @@ -87,9 +106,24 @@ void main() { Widget wrap(Widget child) { return MaterialApp.router( theme: ThemeHelper().themeData(), + localizationsDelegates: const [S.delegate, ...GlobalMaterialLocalizations.delegates], + supportedLocales: const [Locale('ru')], routerConfig: GoRouter( initialLocation: '/', - routes: [GoRoute(path: '/', builder: (context, state) => child)], + routes: [ + GoRoute( + path: '/', + builder: (context, state) => Scaffold( + body: Center( + child: TextButton( + onPressed: () => context.push('/screen'), + child: const Text('open screen'), + ), + ), + ), + ), + GoRoute(path: '/screen', builder: (context, state) => child), + ], ), ); } @@ -106,7 +140,7 @@ void main() { when(cubit.state).thenReturn(state); when(cubit.stream).thenAnswer((_) => Stream.value(state)); when(cubit.close()).thenAnswer((_) async => Future.value()); - when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); @@ -116,10 +150,82 @@ void main() { child: wrap(PhysicalActivityScreen(settingsEntity: settingsEntity)), ), ); - await tester.pump(); - await tester.pump(const Duration(milliseconds: 200)); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); expect(find.byType(PhysicalActivityScreen), findsOneWidget); }); + + testWidgets('показывает уведомление и возвращается к настройкам после успешного сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(PhysicalActivityScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + final toastMessages = toastCalls.where((call) => call.method == 'showToast').map((call) => call.arguments['msg']); + expect(toastMessages, contains('Данные успешно сохранены')); + + await tester.pumpAndSettle(); + expect(find.byType(PhysicalActivityScreen), findsNothing); + expect(find.text('open screen'), findsOneWidget); + + await tester.pump(const Duration(seconds: 2)); + }); + + testWidgets('не показывает уведомление и остаётся на экране при ошибке сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => false); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(PhysicalActivityScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + expect(toastCalls.where((call) => call.method == 'showToast'), isEmpty); + expect(find.byType(PhysicalActivityScreen), findsOneWidget); + }); }); } diff --git a/test/features/settings/presentation/pages/physical_form_screen_test.dart b/test/features/settings/presentation/pages/physical_form_screen_test.dart index bc86fdda..43fb07b8 100644 --- a/test/features/settings/presentation/pages/physical_form_screen_test.dart +++ b/test/features/settings/presentation/pages/physical_form_screen_test.dart @@ -10,6 +10,7 @@ import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/se import 'package:eatvio_app/features/settings/presentation/pages/physical_form_screen.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; +import 'package:flutter/services.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -22,6 +23,8 @@ import 'physical_form_screen_test.mocks.dart'; @GenerateNiceMocks([MockSpec()]) void main() { group('PhysicalFormScreen smoke', () { + final toastCalls = []; + setUpAll(() async { dotenv.loadFromString(envString: 'DEV_BASE_URL=http://localhost\nBASE_URL=http://localhost'); }); @@ -29,6 +32,21 @@ void main() { setUp(() async { await sl.reset(); sl.registerLazySingleton(() => AppConfig(buildType: AppBuildType.tests)..setBaseUrl('http://localhost')); + toastCalls.clear(); + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + (MethodCall methodCall) async { + toastCalls.add(methodCall); + return null; + }, + ); + }); + + tearDown(() { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + null, + ); }); const mockProfile = ProfileModel( @@ -92,7 +110,20 @@ void main() { supportedLocales: const [Locale('ru')], routerConfig: GoRouter( initialLocation: '/', - routes: [GoRoute(path: '/', builder: (context, state) => child)], + routes: [ + GoRoute( + path: '/', + builder: (context, state) => Scaffold( + body: Center( + child: TextButton( + onPressed: () => context.push('/screen'), + child: const Text('open screen'), + ), + ), + ), + ), + GoRoute(path: '/screen', builder: (context, state) => child), + ], ), ); } @@ -109,7 +140,7 @@ void main() { when(cubit.state).thenReturn(state); when(cubit.stream).thenAnswer((_) => Stream.value(state)); when(cubit.close()).thenAnswer((_) async => Future.value()); - when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); @@ -119,10 +150,82 @@ void main() { child: wrap(PhysicalFormScreen(settingsEntity: settingsEntity)), ), ); - await tester.pump(); - await tester.pump(const Duration(milliseconds: 100)); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); expect(find.byType(PhysicalFormScreen), findsOneWidget); }); + + testWidgets('показывает уведомление и возвращается к настройкам после успешного сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(PhysicalFormScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + final toastMessages = toastCalls.where((call) => call.method == 'showToast').map((call) => call.arguments['msg']); + expect(toastMessages, contains('Данные успешно сохранены')); + + await tester.pumpAndSettle(); + expect(find.byType(PhysicalFormScreen), findsNothing); + expect(find.text('open screen'), findsOneWidget); + + await tester.pump(const Duration(seconds: 2)); + }); + + testWidgets('не показывает уведомление и остаётся на экране при ошибке сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => false); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(PhysicalFormScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + expect(toastCalls.where((call) => call.method == 'showToast'), isEmpty); + expect(find.byType(PhysicalFormScreen), findsOneWidget); + }); }); } diff --git a/test/features/settings/presentation/pages/pressure_screen_test.dart b/test/features/settings/presentation/pages/pressure_screen_test.dart index 309597f9..1f3a1306 100644 --- a/test/features/settings/presentation/pages/pressure_screen_test.dart +++ b/test/features/settings/presentation/pages/pressure_screen_test.dart @@ -10,6 +10,7 @@ import 'package:eatvio_app/features/settings/presentation/bloc/settings_cubit/se import 'package:eatvio_app/features/settings/presentation/pages/pressure_screen.dart'; import 'package:eatvio_app/generated/l10n.dart'; import 'package:material_ui/material_ui.dart'; +import 'package:flutter/services.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -22,6 +23,8 @@ import 'pressure_screen_test.mocks.dart'; @GenerateNiceMocks([MockSpec()]) void main() { group('PressureScreen smoke', () { + final toastCalls = []; + setUpAll(() async { dotenv.loadFromString(envString: 'DEV_BASE_URL=http://localhost\nBASE_URL=http://localhost'); }); @@ -29,6 +32,21 @@ void main() { setUp(() async { await sl.reset(); sl.registerLazySingleton(() => AppConfig(buildType: AppBuildType.tests)..setBaseUrl('http://localhost')); + toastCalls.clear(); + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + (MethodCall methodCall) async { + toastCalls.add(methodCall); + return null; + }, + ); + }); + + tearDown(() { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler( + const MethodChannel('PonnamKarthik/fluttertoast'), + null, + ); }); const mockProfile = ProfileModel( @@ -92,7 +110,20 @@ void main() { supportedLocales: const [Locale('ru')], routerConfig: GoRouter( initialLocation: '/', - routes: [GoRoute(path: '/', builder: (context, state) => child)], + routes: [ + GoRoute( + path: '/', + builder: (context, state) => Scaffold( + body: Center( + child: TextButton( + onPressed: () => context.push('/screen'), + child: const Text('open screen'), + ), + ), + ), + ), + GoRoute(path: '/screen', builder: (context, state) => child), + ], ), ); } @@ -109,7 +140,7 @@ void main() { when(cubit.state).thenReturn(state); when(cubit.stream).thenAnswer((_) => Stream.value(state)); when(cubit.close()).thenAnswer((_) async => Future.value()); - when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); @@ -119,10 +150,82 @@ void main() { child: wrap(PressureScreen(settingsEntity: settingsEntity)), ), ); - await tester.pump(); - await tester.pump(const Duration(milliseconds: 100)); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); expect(find.byType(PressureScreen), findsOneWidget); }); + + testWidgets('показывает уведомление и возвращается к настройкам после успешного сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => true); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(PressureScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + final toastMessages = toastCalls.where((call) => call.method == 'showToast').map((call) => call.arguments['msg']); + expect(toastMessages, contains('Данные успешно сохранены')); + + await tester.pumpAndSettle(); + expect(find.byType(PressureScreen), findsNothing); + expect(find.text('open screen'), findsOneWidget); + + await tester.pump(const Duration(seconds: 2)); + }); + + testWidgets('не показывает уведомление и остаётся на экране при ошибке сохранения', (tester) async { + final cubit = MockSettingsCubit(); + const state = SettingsState.loaded( + profileSettings: mockProfileSettings, + profileDetails: mockProfileDetails, + profile: mockProfile, + hasActiveConsultation: false, + ); + + when(cubit.state).thenReturn(state); + when(cubit.stream).thenAnswer((_) => Stream.value(state)); + when(cubit.close()).thenAnswer((_) async => Future.value()); + when(cubit.updateProfileDetails(profileDetailsModel: anyNamed('profileDetailsModel'))).thenAnswer((_) async => false); + + final settingsEntity = SettingsEntity(profileSettingsModel: mockProfileSettings, profileDetailsModel: mockProfileDetails, settingsCubit: cubit); + + await tester.pumpWidget( + BlocProvider.value( + value: cubit, + child: wrap(PressureScreen(settingsEntity: settingsEntity)), + ), + ); + await tester.tap(find.text('open screen')); + await tester.pumpAndSettle(); + + await tester.tap(find.text('Сохранить')); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 50)); + + expect(toastCalls.where((call) => call.method == 'showToast'), isEmpty); + expect(find.byType(PressureScreen), findsOneWidget); + }); }); }