// GENERATED CODE - DO NOT MODIFY BY HAND import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'intl/messages_all.dart'; // ************************************************************************** // Generator: Flutter Intl IDE plugin // Made by Localizely // ************************************************************************** // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes class S { 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.'); return _current!; } static const AppLocalizationDelegate delegate = AppLocalizationDelegate(); static Future load(Locale locale) { final name = (locale.countryCode?.isEmpty ?? false) ? locale.languageCode : locale.toString(); final localeName = Intl.canonicalizedLocale(name); return initializeMessages(localeName).then((_) { Intl.defaultLocale = localeName; final instance = S(); S._current = instance; return instance; }); } 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?'); return instance!; } static S? maybeOf(BuildContext context) { return Localizations.of(context, S); } /// `User Registration` String get user_registration { return Intl.message( 'User Registration', name: 'user_registration', desc: '', args: [], ); } /// `Email` String get email { return Intl.message( 'Email', name: 'email', desc: '', args: [], ); } /// `Username` String get username { return Intl.message( 'Username', name: 'username', desc: '', args: [], ); } /// `Password` String get password { return Intl.message( 'Password', name: 'password', desc: '', args: [], ); } /// `Confirm Password` String get password_confirmation { return Intl.message( 'Confirm Password', name: 'password_confirmation', desc: '', args: [], ); } /// `Invalid user credentials` String get wrong_credentials { return Intl.message( 'Invalid user credentials', name: 'wrong_credentials', desc: '', args: [], ); } /// `First Name` String get first_name { return Intl.message( 'First Name', name: 'first_name', desc: '', args: [], ); } /// `Last Name` String get last_name { return Intl.message( 'Last Name', name: 'last_name', desc: '', args: [], ); } /// `What is your name?` String get what_is_your_name { return Intl.message( 'What is your name?', name: 'what_is_your_name', desc: '', args: [], ); } /// `Date of Birth` String get date_of_birth { return Intl.message( 'Date of Birth', name: 'date_of_birth', desc: '', args: [], ); } /// `Country` String get country { return Intl.message( 'Country', name: 'country', desc: '', args: [], ); } /// `Russia` String get Russia { return Intl.message( 'Russia', name: 'Russia', desc: '', args: [], ); } /// `City` String get city { return Intl.message( 'City', name: 'city', desc: '', args: [], ); } /// `Moscow` String get Moscow { return Intl.message( 'Moscow', name: 'Moscow', desc: '', args: [], ); } /// `Place of Residence` String get place_of_living { return Intl.message( 'Place of Residence', name: 'place_of_living', desc: '', args: [], ); } /// `Hip Circumference` String get hip_circumference { return Intl.message( 'Hip Circumference', name: 'hip_circumference', desc: '', args: [], ); } /// `Chest Circumference` String get chest_circumference { return Intl.message( 'Chest Circumference', name: 'chest_circumference', desc: '', args: [], ); } /// `Waist Circumference` String get waist_circumference { return Intl.message( 'Waist Circumference', name: 'waist_circumference', desc: '', args: [], ); } /// `Initial Measurements` String get initial_measurements { return Intl.message( 'Initial Measurements', name: 'initial_measurements', desc: '', args: [], ); } /// `Male` String get male { return Intl.message( 'Male', name: 'male', desc: '', args: [], ); } /// `Female` String get female { return Intl.message( 'Female', name: 'female', desc: '', args: [], ); } /// `Weight Measurement` String get weight_measurements { return Intl.message( 'Weight Measurement', name: 'weight_measurements', desc: '', args: [], ); } /// `Your Weight:` String get your_weight { return Intl.message( 'Your Weight:', name: 'your_weight', desc: '', args: [], ); } /// `Height Measurement` String get height_measurements { return Intl.message( 'Height Measurement', name: 'height_measurements', desc: '', args: [], ); } /// `Your Height:` String get your_height { return Intl.message( 'Your Height:', name: 'your_height', desc: '', args: [], ); } /// `Presence of Allergies` String get allergies_presence { return Intl.message( 'Presence of Allergies', name: 'allergies_presence', desc: '', args: [], ); } /// `Do you take any medications or supplements?` String get do_you_take_pills { return Intl.message( 'Do you take any medications or supplements?', name: 'do_you_take_pills', desc: '', args: [], ); } /// `Your Gender?` String get your_gender { return Intl.message( 'Your Gender?', name: 'your_gender', desc: '', args: [], ); } /// `No` String get no { return Intl.message( 'No', name: 'no', desc: '', args: [], ); } /// `Do you have a tendency for hypertension?` String get do_you_have_hypertension_tendency { return Intl.message( 'Do you have a tendency for hypertension?', name: 'do_you_have_hypertension_tendency', desc: '', args: [], ); } /// `Your Blood Pressure?` String get your_blood_pressure { return Intl.message( 'Your Blood Pressure?', name: 'your_blood_pressure', desc: '', args: [], ); } /// `Average Pressure Readings:` String get average_pressure { return Intl.message( 'Average Pressure Readings:', name: 'average_pressure', desc: '', args: [], ); } /// `Upper Pressure Readings:` String get up_pressure { return Intl.message( 'Upper Pressure Readings:', name: 'up_pressure', desc: '', args: [], ); } /// `Lower Pressure Readings:` String get down_pressure { return Intl.message( 'Lower Pressure Readings:', name: 'down_pressure', desc: '', args: [], ); } /// `Do you have a tendency for hypotension?` String get do_you_have_hypotension_tendency { return Intl.message( 'Do you have a tendency for hypotension?', name: 'do_you_have_hypotension_tendency', desc: '', args: [], ); } /// `Your Favorite Sports?` String get your_favorite_sports { return Intl.message( 'Your Favorite Sports?', name: 'your_favorite_sports', desc: '', args: [], ); } /// `Favorite Foods` String get favorite_foods { return Intl.message( 'Favorite Foods', name: 'favorite_foods', desc: '', args: [], ); } /// `Your Favorite/Least Favorite Foods?` String get favorite_unfavorite_foods { return Intl.message( 'Your Favorite/Least Favorite Foods?', name: 'favorite_unfavorite_foods', desc: '', args: [], ); } /// `Least Favorite Foods` String get unfavorite_foods { return Intl.message( 'Least Favorite Foods', name: 'unfavorite_foods', desc: '', args: [], ); } /// `Your Daily Routine?` String get your_schedule { return Intl.message( 'Your Daily Routine?', name: 'your_schedule', desc: '', args: [], ); } /// `Describe your daily routine freely, such as when you wake up, eat, and go to bed:` String get tell_your_schedule { return Intl.message( 'Describe your daily routine freely, such as when you wake up, eat, and go to bed:', name: 'tell_your_schedule', desc: '', args: [], ); } /// `Additional Information` String get additional_information { return Intl.message( 'Additional Information', name: 'additional_information', desc: '', args: [], ); } /// `Enter any additional information at your discretion:` String get enter_additional_information { return Intl.message( 'Enter any additional information at your discretion:', name: 'enter_additional_information', desc: '', args: [], ); } /// `English` String get lbl_english { return Intl.message( 'English', name: 'lbl_english', desc: '', args: [], ); } /// `Finish` String get finish { return Intl.message( 'Finish', name: 'finish', desc: '', args: [], ); } /// `Preferred Language of Communication` String get preferred_language { return Intl.message( 'Preferred Language of Communication', name: 'preferred_language', desc: '', args: [], ); } /// `Continue` String get continueButton { return Intl.message( 'Continue', name: 'continueButton', desc: '', args: [], ); } /// `Skip` String get skip { return Intl.message( 'Skip', name: 'skip', desc: '', args: [], ); } /// `Fill in the information:` String get fill_in_information { return Intl.message( 'Fill in the information:', name: 'fill_in_information', desc: '', args: [], ); } /// `Enter information...` String get enter_information { return Intl.message( 'Enter information...', name: 'enter_information', desc: '', args: [], ); } /// `Network error!` String get msg_network_err { return Intl.message( 'Network error!', name: 'msg_network_err', desc: '', args: [], ); } /// `Something went wrong!` String get msg_something_went_wrong { return Intl.message( 'Something went wrong!', name: 'msg_something_went_wrong', desc: '', args: [], ); } /// `Email address is required` String get email_empty { return Intl.message( 'Email address is required', name: 'email_empty', desc: '', args: [], ); } /// `Invalid email address` String get email_invalid { return Intl.message( 'Invalid email address', name: 'email_invalid', desc: '', args: [], ); } /// `Password is required` String get password_empty { return Intl.message( 'Password is required', name: 'password_empty', desc: '', args: [], ); } /// `Password must be at least 6 characters long` String get password_short { return Intl.message( 'Password must be at least 6 characters long', name: 'password_short', desc: '', args: [], ); } /// `Username is required` String get name_empty { return Intl.message( 'Username is required', name: 'name_empty', desc: '', args: [], ); } /// `Username must be at least 6 characters long` String get name_short { return Intl.message( 'Username must be at least 6 characters long', name: 'name_short', desc: '', args: [], ); } /// `Passwords do not match` String get password_confirmation_mismatch { return Intl.message( 'Passwords do not match', name: 'password_confirmation_mismatch', desc: '', args: [], ); } /// `First name is required` String get first_name_empty { return Intl.message( 'First name is required', name: 'first_name_empty', desc: '', args: [], ); } /// `First name must be at least 1 character long` String get first_name_short { return Intl.message( 'First name must be at least 1 character long', name: 'first_name_short', desc: '', args: [], ); } /// `Last name is required` String get last_name_empty { return Intl.message( 'Last name is required', name: 'last_name_empty', desc: '', args: [], ); } /// `Last name must be at least 6 characters long` String get last_name_short { return Intl.message( 'Last name must be at least 6 characters long', name: 'last_name_short', desc: '', args: [], ); } /// `All measurements are required` String get circumference_empty { return Intl.message( 'All measurements are required', name: 'circumference_empty', desc: '', args: [], ); } /// `All measurements must be numbers` String get circumference_is_not_a_number { return Intl.message( 'All measurements must be numbers', name: 'circumference_is_not_a_number', desc: '', args: [], ); } /// `All blood pressure readings are required` String get pressure_empty { return Intl.message( 'All blood pressure readings are required', name: 'pressure_empty', desc: '', args: [], ); } /// `All blood pressure readings must be numbers` String get pressure_is_not_a_number { return Intl.message( 'All blood pressure readings must be numbers', name: 'pressure_is_not_a_number', desc: '', args: [], ); } /// `I do not have an account` String get no_account { return Intl.message( 'I do not have an account', name: 'no_account', desc: '', args: [], ); } /// `Log In` String get authentificate { return Intl.message( 'Log In', name: 'authentificate', desc: '', args: [], ); } /// `Authentication` String get user_authorization { return Intl.message( 'Authentication', name: 'user_authorization', desc: '', args: [], ); } /// `Loading...` String get loading { return Intl.message( 'Loading...', name: 'loading', desc: '', args: [], ); } /// `Weight Chart` String get weight_chart { return Intl.message( 'Weight Chart', name: 'weight_chart', desc: '', args: [], ); } /// `Circumference Chart` String get circumferences_chart { return Intl.message( 'Circumference Chart', name: 'circumferences_chart', desc: '', args: [], ); } /// `City of Residence` String get city_of_living { return Intl.message( 'City of Residence', name: 'city_of_living', desc: '', args: [], ); } /// `BMI Chart` String get bodymass_chart { return Intl.message( 'BMI Chart', name: 'bodymass_chart', desc: '', args: [], ); } /// `Chest` String get chest { return Intl.message( 'Chest', name: 'chest', desc: '', args: [], ); } /// `Waist` String get waist { return Intl.message( 'Waist', name: 'waist', desc: '', args: [], ); } /// `Hips` String get hips { return Intl.message( 'Hips', name: 'hips', desc: '', args: [], ); } /// `Log Out` String get exit { return Intl.message( 'Log Out', name: 'exit', desc: '', args: [], ); } /// `Active` String get active { return Intl.message( 'Active', name: 'active', desc: '', args: [], ); } /// `Archived` String get archived { return Intl.message( 'Archived', name: 'archived', desc: '', args: [], ); } /// `Draft` String get draft { return Intl.message( 'Draft', name: 'draft', desc: '', args: [], ); } /// `My Blog` String get my_blog { return Intl.message( 'My Blog', name: 'my_blog', desc: '', args: [], ); } /// `Language` String get language { return Intl.message( 'Language', name: 'language', desc: '', args: [], ); } /// `In Progress` String get in_progress { return Intl.message( 'In Progress', name: 'in_progress', desc: '', args: [], ); } /// `Add Measurement` String get add_measure { return Intl.message( 'Add Measurement', name: 'add_measure', desc: '', args: [], ); } /// `Weight` String get weight { return Intl.message( 'Weight', name: 'weight', desc: '', args: [], ); } /// `Completed Plans` String get plans_complete { return Intl.message( 'Completed Plans', name: 'plans_complete', desc: '', args: [], ); } /// `My Settings` String get my_settings { return Intl.message( 'My Settings', name: 'my_settings', desc: '', args: [], ); } /// `Settings` String get settings { return Intl.message( 'Settings', name: 'settings', desc: '', args: [], ); } /// `Profile` String get profile { return Intl.message( 'Profile', name: 'profile', desc: '', args: [], ); } /// `Chat` String get chat { return Intl.message( 'Chat', name: 'chat', desc: '', args: [], ); } /// `Admin` String get admin { return Intl.message( 'Admin', name: 'admin', desc: '', args: [], ); } /// `Diary` String get diary { return Intl.message( 'Diary', name: 'diary', desc: '', args: [], ); } /// `Save` String get save { return Intl.message( 'Save', name: 'save', desc: '', args: [], ); } /// `pcs` String get pcs { return Intl.message( 'pcs', name: 'pcs', desc: '', args: [], ); } /// `g` String get gr { return Intl.message( 'g', name: 'gr', desc: '', args: [], ); } /// `g` String get grams { return Intl.message( 'g', name: 'grams', desc: '', args: [], ); } } class AppLocalizationDelegate extends LocalizationsDelegate { const AppLocalizationDelegate(); List get supportedLocales { return const [ Locale.fromSubtags(languageCode: 'en'), Locale.fromSubtags(languageCode: 'ru'), ]; } @override bool isSupported(Locale locale) => _isSupported(locale); @override Future load(Locale locale) => S.load(locale); @override bool shouldReload(AppLocalizationDelegate old) => false; bool _isSupported(Locale locale) { for (var supportedLocale in supportedLocales) { if (supportedLocale.languageCode == locale.languageCode) { return true; } } return false; } }