feat(consultant): registration steps

This commit is contained in:
mso7nueh
2024-10-06 14:46:53 +03:00
parent ac7cd8e3fb
commit 26f25a40ed
16 changed files with 1060 additions and 436 deletions

View File

@@ -1,3 +1,5 @@
import 'package:eatvio_app/theme/theme_helper.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class AdditionalSettingsScreen extends StatefulWidget {
@@ -8,8 +10,89 @@ class AdditionalSettingsScreen extends StatefulWidget {
}
class _AdditionalSettingsScreenState extends State<AdditionalSettingsScreen> {
bool publishDiplomasAndCertificatesInProfile = false;
bool haveMedicalDegree = false;
@override
Widget build(BuildContext context) {
return const Placeholder();
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, top: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text(
'Дополнительные настройки',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
),
const SizedBox(height: 16),
_tile(
title: 'Опубликовать дипломы\nи сертификаты в профиле',
value: publishDiplomasAndCertificatesInProfile,
onTap: () {
setState(() {
publishDiplomasAndCertificatesInProfile = !publishDiplomasAndCertificatesInProfile;
});
},
),
_divider(context),
_tile(
title: 'У меня есть медицинское образование ',
value: haveMedicalDegree,
onTap: () {
setState(() {
haveMedicalDegree = !haveMedicalDegree;
});
},
),
],
),
);
}
_tile({
required String title,
required Function() onTap,
required bool value,
}) {
return ListTile(
contentPadding: EdgeInsets.symmetric(horizontal: 16, vertical: 4),
onTap: onTap,
title: Text(
title,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w400,
height: 1,
),
),
trailing: CupertinoSwitch(
value: value,
activeColor: appTheme.blueA400,
onChanged: (_) {
onTap();
},
),
);
}
_divider(BuildContext context) {
return Center(
child: Container(
height: 0.4,
width: MediaQuery.of(context).size.width - 32,
decoration: BoxDecoration(
color: Colors.black26,
borderRadius: BorderRadius.circular(16),
),
),
);
}
}

View File

@@ -0,0 +1,88 @@
import 'package:eatvio_app/core/utils/date_time_utils.dart';
import 'package:eatvio_app/widgets/custom_text_form_field.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class CertificatesAndDiplomasScreen extends StatefulWidget {
const CertificatesAndDiplomasScreen({super.key});
@override
State<CertificatesAndDiplomasScreen> createState() => _CertificatesAndDiplomasScreenState();
}
class _CertificatesAndDiplomasScreenState extends State<CertificatesAndDiplomasScreen> {
late DateTime selectedDate = DateTime.now();
@override
Widget build(BuildContext context) {
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, right: 16, left: 16, top: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Добавьте дипломы\nи сертификаты',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
const SizedBox(height: 16),
CustomTextFormField(),
const SizedBox(height: 8),
ListTile(
onTap: onTapCalendar(context),
trailing: Icon(
Icons.keyboard_arrow_down_rounded,
color: Colors.grey.shade700,
),
contentPadding: EdgeInsets.symmetric(horizontal: 12),
title: Text(selectedDate.format('dd MMMM yyyy', 'ru')),
tileColor: Color(0xFFF6F6F6),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
),
),
],
),
);
}
onTapCalendar(BuildContext context) {
return () {
_showDialog(
CupertinoDatePicker(
initialDateTime: selectedDate,
maximumDate: DateTime.now(),
minimumDate: DateTime(1900),
mode: CupertinoDatePickerMode.date,
onDateTimeChanged: (DateTime newDateTime) {
setState(() {
selectedDate = newDateTime;
});
},
),
);
};
}
void _showDialog(Widget child) {
showCupertinoModalPopup<void>(
context: context,
builder: (BuildContext context) => Container(
height: 216,
padding: const EdgeInsets.only(top: 6),
margin: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom,
),
color: CupertinoColors.systemBackground.resolveFrom(context),
child: SafeArea(
top: false,
child: child,
),
),
);
}
}

View File

@@ -1,30 +0,0 @@
import 'package:flutter/material.dart';
class CertificatesAndDiplomsScreen extends StatefulWidget {
const CertificatesAndDiplomsScreen({super.key});
@override
State<CertificatesAndDiplomsScreen> createState() => _CertificatesAndDiplomsScreenState();
}
class _CertificatesAndDiplomsScreenState extends State<CertificatesAndDiplomsScreen> {
@override
Widget build(BuildContext context) {
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, right: 16, left: 16, top: 16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Добавьте дипломы\nи сертификаты',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
],
),
);
}
}

View File

@@ -1,3 +1,4 @@
import 'package:eatvio_app/theme/theme_helper.dart';
import 'package:flutter/material.dart';
class LastStepScreen extends StatefulWidget {
@@ -8,8 +9,80 @@ class LastStepScreen extends StatefulWidget {
}
class _LastStepScreenState extends State<LastStepScreen> {
bool checkboxState = false;
@override
Widget build(BuildContext context) {
return const Placeholder();
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, top: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text(
'Последний шаг',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
),
const SizedBox(height: 16),
CheckboxListTile(
value: checkboxState,
title: Text(
'Я ознакомлен и принимаю договор публичной оферты',
style: TextStyle(
fontSize: 18,
height: 1,
),
),
onChanged: (_) {
setState(() {
checkboxState = !checkboxState;
});
},
activeColor: appTheme.blueA400,
contentPadding: const EdgeInsets.symmetric(horizontal: 16),
),
Padding(
padding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 16,
),
child: _divider(context),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 4),
child: TextButton(
onPressed: () {},
child: Text(
'Договор офёрты',
style: TextStyle(
height: 1,
fontSize: 16,
color: Color(0xFF323F4B),
decoration: TextDecoration.underline,
),
),
),
),
],
),
);
}
_divider(BuildContext context) {
return Container(
height: 0.4,
width: MediaQuery.of(context).size.width - 32,
decoration: BoxDecoration(
color: Colors.black26,
borderRadius: BorderRadius.circular(16),
),
);
}
}

View File

@@ -10,6 +10,23 @@ class PhotoOrScansScreen extends StatefulWidget {
class _PhotoOrScansScreenState extends State<PhotoOrScansScreen> {
@override
Widget build(BuildContext context) {
return const Placeholder();
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, right: 16, left: 16, top: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Загрузите фото или сканы дипломов и сертификатов',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
const SizedBox(height: 16),
],
),
);
}
}

View File

@@ -7,9 +7,109 @@ class RegistrationAsScreen extends StatefulWidget {
State<RegistrationAsScreen> createState() => _RegistrationAsScreenState();
}
enum RegistrationAsType { Physical, SelfBusy, IP, OOO }
class _RegistrationAsScreenState extends State<RegistrationAsScreen> {
RegistrationAsType registrationAsType = RegistrationAsType.Physical;
@override
Widget build(BuildContext context) {
return const Placeholder();
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, top: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text(
'Регистрация в качестве',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
),
const SizedBox(height: 16),
RadioListTile<RegistrationAsType>(
value: RegistrationAsType.Physical,
groupValue: registrationAsType,
title: Text(
'Физического лица',
style: TextStyle(
fontSize: 18,
height: 1,
),
),
onChanged: (value) {},
contentPadding: EdgeInsets.symmetric(horizontal: 8),
),
RadioListTile<RegistrationAsType>(
value: RegistrationAsType.SelfBusy,
groupValue: registrationAsType,
title: Text(
'Самозанятого',
style: TextStyle(
fontSize: 18,
height: 1,
),
),
onChanged: null,
contentPadding: EdgeInsets.symmetric(horizontal: 8),
),
RadioListTile<RegistrationAsType>(
value: RegistrationAsType.IP,
groupValue: registrationAsType,
title: Text(
'Индивидуального предпринимателя',
style: TextStyle(
fontSize: 18,
height: 1,
),
),
onChanged: null,
contentPadding: EdgeInsets.symmetric(horizontal: 8),
),
RadioListTile<RegistrationAsType>(
value: RegistrationAsType.OOO,
groupValue: registrationAsType,
title: Text(
'Общества с ограниченной ответственностью',
style: TextStyle(
fontSize: 18,
height: 1,
),
),
onChanged: null,
contentPadding: EdgeInsets.symmetric(horizontal: 8),
),
Padding(
padding: EdgeInsets.symmetric(
horizontal: 16,
vertical: 16,
),
child: _divider(context),
),
Padding(
padding: EdgeInsets.symmetric(horizontal: 16),
child: Text(
'* На данный момент регистрация доступна только в качестве физического лица. Остальные варианты скоро появятся',
),
),
],
),
);
}
_divider(BuildContext context) {
return Container(
height: 0.4,
width: MediaQuery.of(context).size.width - 32,
decoration: BoxDecoration(
color: Colors.black26,
borderRadius: BorderRadius.circular(16),
),
);
}
}

View File

@@ -1,4 +1,6 @@
import 'package:eatvio_app/widgets/custom_text_form_field.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class SocialNetworksScreen extends StatefulWidget {
const SocialNetworksScreen({super.key});
@@ -10,6 +12,97 @@ class SocialNetworksScreen extends StatefulWidget {
class _SocialNetworksScreenState extends State<SocialNetworksScreen> {
@override
Widget build(BuildContext context) {
return const Placeholder();
return SingleChildScrollView(
padding: EdgeInsets.only(bottom: 80, right: 16, left: 16, top: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Социальные сети',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.w700,
height: 1.1,
),
),
const SizedBox(height: 24),
Row(
mainAxisSize: MainAxisSize.min,
children: [
Container(
height: 52,
width: 52,
padding: EdgeInsets.all(12),
decoration: BoxDecoration(
color: Color(0xFFF6F6F6),
borderRadius: BorderRadius.circular(20),
),
child: SvgPicture.asset(
'assets/icons/vk.svg',
),
),
const SizedBox(width: 8),
SizedBox(
width: MediaQuery.of(context).size.width - 92,
child: CustomTextFormField(
hintText: 'ВКонтакте',
),
),
],
),
const SizedBox(height: 12),
Row(
mainAxisSize: MainAxisSize.min,
children: [
Container(
height: 52,
width: 52,
padding: EdgeInsets.all(12),
decoration: BoxDecoration(
color: Color(0xFFF6F6F6),
borderRadius: BorderRadius.circular(20),
),
child: SvgPicture.asset(
'assets/icons/telegram.svg',
),
),
const SizedBox(width: 8),
SizedBox(
width: MediaQuery.of(context).size.width - 92,
child: CustomTextFormField(
hintText: 'Telegram',
),
),
],
),
const SizedBox(height: 12),
Row(
mainAxisSize: MainAxisSize.min,
children: [
Container(
height: 52,
width: 52,
padding: EdgeInsets.all(12),
decoration: BoxDecoration(
color: Color(0xFFF6F6F6),
borderRadius: BorderRadius.circular(20),
),
child: SvgPicture.asset(
'assets/icons/web.svg',
),
),
const SizedBox(width: 8),
SizedBox(
width: MediaQuery.of(context).size.width - 92,
child: CustomTextFormField(
hintText: 'Личный сайт',
),
),
],
),
],
),
);
}
}

View File

@@ -1,6 +1,6 @@
import 'package:eatvio_app/core/utils/image_constant.dart';
import 'package:eatvio_app/features/consultant/become_consultant/presentation/pages/additional_settings_screen.dart';
import 'package:eatvio_app/features/consultant/become_consultant/presentation/pages/certificates_and_diploms_screen.dart';
import 'package:eatvio_app/features/consultant/become_consultant/presentation/pages/certificates_and_diplomas_screen.dart';
import 'package:eatvio_app/features/consultant/become_consultant/presentation/pages/last_step_screen.dart';
import 'package:eatvio_app/features/consultant/become_consultant/presentation/pages/photo_or_scans_screen.dart';
import 'package:eatvio_app/features/consultant/become_consultant/presentation/pages/registration_as_screen.dart';
@@ -132,7 +132,7 @@ class _StepperBecomeConsultantScreenState extends State<StepperBecomeConsultantS
});
},
children: [
CertificatesAndDiplomsScreen(),
CertificatesAndDiplomasScreen(),
PhotoOrScansScreen(),
AdditionalSettingsScreen(),
SocialNetworksScreen(),

View File

@@ -17,16 +17,20 @@ import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';
import 'messages_en.dart' as messages_en;
import 'messages_ru.dart' as messages_ru;
typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
'en': () => new SynchronousFuture(null),
'ru': () => new SynchronousFuture(null),
};
MessageLookupByLibrary? _findExact(String localeName) {
switch (localeName) {
case 'en':
return messages_en.messages;
case 'ru':
return messages_ru.messages;
default:
return null;
}

View File

@@ -22,154 +22,157 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"Moscow": MessageLookupByLibrary.simpleMessage("Москва"),
"Russia": MessageLookupByLibrary.simpleMessage("Россия"),
"active": MessageLookupByLibrary.simpleMessage("Активен"),
"add_measure": MessageLookupByLibrary.simpleMessage("Добавить замер"),
"Moscow": MessageLookupByLibrary.simpleMessage("Moscow"),
"Russia": MessageLookupByLibrary.simpleMessage("Russia"),
"active": MessageLookupByLibrary.simpleMessage("Active"),
"add_measure": MessageLookupByLibrary.simpleMessage("Add Measurement"),
"additional_information":
MessageLookupByLibrary.simpleMessage("Дополнительная информация"),
"admin": MessageLookupByLibrary.simpleMessage("Админ"),
MessageLookupByLibrary.simpleMessage("Additional Information"),
"admin": MessageLookupByLibrary.simpleMessage("Admin"),
"allergies_presence":
MessageLookupByLibrary.simpleMessage("Наличие аллергии"),
"archived": MessageLookupByLibrary.simpleMessage("В архиве"),
"authentificate": MessageLookupByLibrary.simpleMessage("Войти"),
"average_pressure": MessageLookupByLibrary.simpleMessage(
"Средние показатели давления:"),
"bodymass_chart": MessageLookupByLibrary.simpleMessage("График ИМТ"),
"chat": MessageLookupByLibrary.simpleMessage("Чат"),
"chest": MessageLookupByLibrary.simpleMessage("Грудь"),
MessageLookupByLibrary.simpleMessage("Presence of Allergies"),
"archived": MessageLookupByLibrary.simpleMessage("Archived"),
"authentificate": MessageLookupByLibrary.simpleMessage("Log In"),
"average_pressure":
MessageLookupByLibrary.simpleMessage("Average Pressure Readings:"),
"bodymass_chart": MessageLookupByLibrary.simpleMessage("BMI Chart"),
"chat": MessageLookupByLibrary.simpleMessage("Chat"),
"chest": MessageLookupByLibrary.simpleMessage("Chest"),
"chest_circumference":
MessageLookupByLibrary.simpleMessage("Обхват груди"),
MessageLookupByLibrary.simpleMessage("Chest Circumference"),
"circumference_empty": MessageLookupByLibrary.simpleMessage(
"Все замеры обязательны к заполнению"),
"All measurements are required"),
"circumference_is_not_a_number": MessageLookupByLibrary.simpleMessage(
"Все замеры должны быть числами"),
"All measurements must be numbers"),
"circumferences_chart":
MessageLookupByLibrary.simpleMessage("График обхватов"),
"city": MessageLookupByLibrary.simpleMessage("Город"),
MessageLookupByLibrary.simpleMessage("Circumference Chart"),
"city": MessageLookupByLibrary.simpleMessage("City"),
"city_of_living":
MessageLookupByLibrary.simpleMessage("Город проживания"),
"continueButton": MessageLookupByLibrary.simpleMessage("Продолжить"),
"country": MessageLookupByLibrary.simpleMessage("Страна"),
"date_of_birth": MessageLookupByLibrary.simpleMessage("Дата рождения"),
"diary": MessageLookupByLibrary.simpleMessage("Дневник"),
MessageLookupByLibrary.simpleMessage("City of Residence"),
"continueButton": MessageLookupByLibrary.simpleMessage("Continue"),
"country": MessageLookupByLibrary.simpleMessage("Country"),
"date_of_birth": MessageLookupByLibrary.simpleMessage("Date of Birth"),
"diary": MessageLookupByLibrary.simpleMessage("Diary"),
"do_you_have_hypertension_tendency":
MessageLookupByLibrary.simpleMessage("Есть ли у вас гипертония?"),
MessageLookupByLibrary.simpleMessage(
"Do you have a tendency for hypertension?"),
"do_you_have_hypotension_tendency":
MessageLookupByLibrary.simpleMessage("Есть ли у вас гипотония?"),
MessageLookupByLibrary.simpleMessage(
"Do you have a tendency for hypotension?"),
"do_you_take_pills": MessageLookupByLibrary.simpleMessage(
"Принимаете ли вы лекарства или бады?"),
"Do you take any medications or supplements?"),
"down_pressure":
MessageLookupByLibrary.simpleMessage("Нижние показатели давления:"),
"draft": MessageLookupByLibrary.simpleMessage("Черновик"),
"email": MessageLookupByLibrary.simpleMessage("Элетронная почта"),
"email_empty": MessageLookupByLibrary.simpleMessage(
"Необходимо ввести адрес электронной почты"),
"email_invalid": MessageLookupByLibrary.simpleMessage(
"Некорректный адрес электронной почты"),
MessageLookupByLibrary.simpleMessage("Lower Pressure Readings:"),
"draft": MessageLookupByLibrary.simpleMessage("Draft"),
"email": MessageLookupByLibrary.simpleMessage("Email"),
"email_empty":
MessageLookupByLibrary.simpleMessage("Email address is required"),
"email_invalid":
MessageLookupByLibrary.simpleMessage("Invalid email address"),
"enter_additional_information": MessageLookupByLibrary.simpleMessage(
"Введите любую дополнительную информацию на своё усмотрение:"),
"Enter any additional information at your discretion:"),
"enter_information":
MessageLookupByLibrary.simpleMessage("Введите информацию..."),
"exit": MessageLookupByLibrary.simpleMessage("Выйти"),
MessageLookupByLibrary.simpleMessage("Enter information..."),
"exit": MessageLookupByLibrary.simpleMessage("Log Out"),
"favorite_foods":
MessageLookupByLibrary.simpleMessage("Любимые продукты"),
MessageLookupByLibrary.simpleMessage("Favorite Foods"),
"favorite_unfavorite_foods": MessageLookupByLibrary.simpleMessage(
"Ваши любимые/нелюбимые продукты питания?"),
"female": MessageLookupByLibrary.simpleMessage("Женский"),
"Your Favorite/Least Favorite Foods?"),
"female": MessageLookupByLibrary.simpleMessage("Female"),
"fill_in_information":
MessageLookupByLibrary.simpleMessage("Заполните информацию:"),
"finish": MessageLookupByLibrary.simpleMessage("Завершить"),
"first_name": MessageLookupByLibrary.simpleMessage("Имя"),
"first_name_empty": MessageLookupByLibrary.simpleMessage(
"Имя обязательно для заполнения"),
MessageLookupByLibrary.simpleMessage("Fill in the information:"),
"finish": MessageLookupByLibrary.simpleMessage("Finish"),
"first_name": MessageLookupByLibrary.simpleMessage("First Name"),
"first_name_empty":
MessageLookupByLibrary.simpleMessage("First name is required"),
"first_name_short": MessageLookupByLibrary.simpleMessage(
"В имени должен быть минимум 1 символ"),
"gr": MessageLookupByLibrary.simpleMessage("гр"),
"grams": MessageLookupByLibrary.simpleMessage("гр"),
"First name must be at least 1 character long"),
"gr": MessageLookupByLibrary.simpleMessage("g"),
"grams": MessageLookupByLibrary.simpleMessage("g"),
"height_measurements":
MessageLookupByLibrary.simpleMessage("Замер роста"),
MessageLookupByLibrary.simpleMessage("Height Measurement"),
"hip_circumference":
MessageLookupByLibrary.simpleMessage("Обхват бедер"),
"hips": MessageLookupByLibrary.simpleMessage("Бедра"),
"in_progress": MessageLookupByLibrary.simpleMessage("В процессе"),
MessageLookupByLibrary.simpleMessage("Hip Circumference"),
"hips": MessageLookupByLibrary.simpleMessage("Hips"),
"in_progress": MessageLookupByLibrary.simpleMessage("In Progress"),
"initial_measurements":
MessageLookupByLibrary.simpleMessage("Первичные замеры"),
"language": MessageLookupByLibrary.simpleMessage("Язык"),
"last_name": MessageLookupByLibrary.simpleMessage("Фамилия"),
"last_name_empty": MessageLookupByLibrary.simpleMessage(
"Фамилия обязательна для заполнения"),
MessageLookupByLibrary.simpleMessage("Initial Measurements"),
"language": MessageLookupByLibrary.simpleMessage("Language"),
"last_name": MessageLookupByLibrary.simpleMessage("Last Name"),
"last_name_empty":
MessageLookupByLibrary.simpleMessage("Last name is required"),
"last_name_short": MessageLookupByLibrary.simpleMessage(
"В фамилии должен быть минимум 6 символов"),
"Last name must be at least 6 characters long"),
"lbl_english": MessageLookupByLibrary.simpleMessage("English"),
"loading": MessageLookupByLibrary.simpleMessage("Загрузка..."),
"male": MessageLookupByLibrary.simpleMessage("Мужской"),
"loading": MessageLookupByLibrary.simpleMessage("Loading..."),
"male": MessageLookupByLibrary.simpleMessage("Male"),
"msg_network_err":
MessageLookupByLibrary.simpleMessage("Сетевая ошибка!"),
MessageLookupByLibrary.simpleMessage("Network error!"),
"msg_something_went_wrong":
MessageLookupByLibrary.simpleMessage("Что то пошло не так!"),
"my_blog": MessageLookupByLibrary.simpleMessage("Мой блог"),
"my_settings": MessageLookupByLibrary.simpleMessage("Мои настройки"),
"name_empty": MessageLookupByLibrary.simpleMessage(
"Имя пользователя обязательно для заполнения"),
MessageLookupByLibrary.simpleMessage("Something went wrong!"),
"my_blog": MessageLookupByLibrary.simpleMessage("My Blog"),
"my_settings": MessageLookupByLibrary.simpleMessage("My Settings"),
"name_empty":
MessageLookupByLibrary.simpleMessage("Username is required"),
"name_short": MessageLookupByLibrary.simpleMessage(
"В имени пользователя должно быть минимум 6 символов"),
"no": MessageLookupByLibrary.simpleMessage("Нет"),
"Username must be at least 6 characters long"),
"no": MessageLookupByLibrary.simpleMessage("No"),
"no_account":
MessageLookupByLibrary.simpleMessage("У меня нет аккаунта"),
"password": MessageLookupByLibrary.simpleMessage("Пароль"),
MessageLookupByLibrary.simpleMessage("I do not have an account"),
"password": MessageLookupByLibrary.simpleMessage("Password"),
"password_confirmation":
MessageLookupByLibrary.simpleMessage("Подтвердите пароль"),
MessageLookupByLibrary.simpleMessage("Confirm Password"),
"password_confirmation_mismatch":
MessageLookupByLibrary.simpleMessage("Пароли не совпадают"),
"password_empty": MessageLookupByLibrary.simpleMessage(
"Пароль обязателен для заполнения"),
MessageLookupByLibrary.simpleMessage("Passwords do not match"),
"password_empty":
MessageLookupByLibrary.simpleMessage("Password is required"),
"password_short": MessageLookupByLibrary.simpleMessage(
"В пароле должно быть минимум 6 символов"),
"pcs": MessageLookupByLibrary.simpleMessage("шт"),
"Password must be at least 6 characters long"),
"pcs": MessageLookupByLibrary.simpleMessage("pcs"),
"place_of_living":
MessageLookupByLibrary.simpleMessage("Место проживания"),
MessageLookupByLibrary.simpleMessage("Place of Residence"),
"plans_complete":
MessageLookupByLibrary.simpleMessage("Пройденные планы"),
"preferred_language":
MessageLookupByLibrary.simpleMessage("Предпочитаемый язык общения"),
MessageLookupByLibrary.simpleMessage("Completed Plans"),
"preferred_language": MessageLookupByLibrary.simpleMessage(
"Preferred Language of Communication"),
"pressure_empty": MessageLookupByLibrary.simpleMessage(
"Все показатели давления обязательны к заполнению"),
"All blood pressure readings are required"),
"pressure_is_not_a_number": MessageLookupByLibrary.simpleMessage(
"Все показатели давления должны быть числами"),
"profile": MessageLookupByLibrary.simpleMessage("Профиль"),
"save": MessageLookupByLibrary.simpleMessage("Сохранить"),
"settings": MessageLookupByLibrary.simpleMessage("Настройки"),
"skip": MessageLookupByLibrary.simpleMessage("Пропустить"),
"All blood pressure readings must be numbers"),
"profile": MessageLookupByLibrary.simpleMessage("Profile"),
"save": MessageLookupByLibrary.simpleMessage("Save"),
"settings": MessageLookupByLibrary.simpleMessage("Settings"),
"skip": MessageLookupByLibrary.simpleMessage("Skip"),
"tell_your_schedule": MessageLookupByLibrary.simpleMessage(
"Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:"),
"Describe your daily routine freely, such as when you wake up, eat, and go to bed:"),
"unfavorite_foods":
MessageLookupByLibrary.simpleMessage("Нелюбимые продукты"),
"up_pressure": MessageLookupByLibrary.simpleMessage(
"Верхние показатели давления:"),
MessageLookupByLibrary.simpleMessage("Least Favorite Foods"),
"up_pressure":
MessageLookupByLibrary.simpleMessage("Upper Pressure Readings:"),
"user_authorization":
MessageLookupByLibrary.simpleMessage("Аутентификация"),
MessageLookupByLibrary.simpleMessage("Authentication"),
"user_registration":
MessageLookupByLibrary.simpleMessage("Регистрация пользователя"),
"username": MessageLookupByLibrary.simpleMessage("Имя пользователя"),
"waist": MessageLookupByLibrary.simpleMessage("Талия"),
MessageLookupByLibrary.simpleMessage("User Registration"),
"username": MessageLookupByLibrary.simpleMessage("Username"),
"waist": MessageLookupByLibrary.simpleMessage("Waist"),
"waist_circumference":
MessageLookupByLibrary.simpleMessage("Обхват талии"),
"weight": MessageLookupByLibrary.simpleMessage("Вес"),
"weight_chart": MessageLookupByLibrary.simpleMessage("График веса"),
MessageLookupByLibrary.simpleMessage("Waist Circumference"),
"weight": MessageLookupByLibrary.simpleMessage("Weight"),
"weight_chart": MessageLookupByLibrary.simpleMessage("Weight Chart"),
"weight_measurements":
MessageLookupByLibrary.simpleMessage("Замер веса"),
MessageLookupByLibrary.simpleMessage("Weight Measurement"),
"what_is_your_name":
MessageLookupByLibrary.simpleMessage("Как вас зовут?"),
"wrong_credentials": MessageLookupByLibrary.simpleMessage(
"Неверные данные пользователя"),
MessageLookupByLibrary.simpleMessage("What is your name?"),
"wrong_credentials":
MessageLookupByLibrary.simpleMessage("Invalid user credentials"),
"your_blood_pressure":
MessageLookupByLibrary.simpleMessage("Ваше артериальное давление?"),
MessageLookupByLibrary.simpleMessage("Your Blood Pressure?"),
"your_favorite_sports":
MessageLookupByLibrary.simpleMessage("Ваши спортивные увлечения?"),
"your_gender": MessageLookupByLibrary.simpleMessage("Ваш пол?"),
"your_height": MessageLookupByLibrary.simpleMessage("Ваш рост:"),
"your_schedule": MessageLookupByLibrary.simpleMessage("Ваш режим дня?"),
"your_weight": MessageLookupByLibrary.simpleMessage("Ваш вес:")
MessageLookupByLibrary.simpleMessage("Your Favorite Sports?"),
"your_gender": MessageLookupByLibrary.simpleMessage("Your Gender?"),
"your_height": MessageLookupByLibrary.simpleMessage("Your Height:"),
"your_schedule":
MessageLookupByLibrary.simpleMessage("Your Daily Routine?"),
"your_weight": MessageLookupByLibrary.simpleMessage("Your Weight:")
};
}

View File

@@ -0,0 +1,175 @@
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a ru locale. All the
// messages from the main program should be duplicated here with the same
// function name.
// Ignore issues from commonly used lints in this file.
// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new
// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering
// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases
// ignore_for_file:unused_import, file_names, avoid_escaping_inner_quotes
// ignore_for_file:unnecessary_string_interpolations, unnecessary_string_escapes
import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
final messages = new MessageLookup();
typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'ru';
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"Moscow": MessageLookupByLibrary.simpleMessage("Москва"),
"Russia": MessageLookupByLibrary.simpleMessage("Россия"),
"active": MessageLookupByLibrary.simpleMessage("Активен"),
"add_measure": MessageLookupByLibrary.simpleMessage("Добавить замер"),
"additional_information":
MessageLookupByLibrary.simpleMessage("Дополнительная информация"),
"admin": MessageLookupByLibrary.simpleMessage("Админ"),
"allergies_presence":
MessageLookupByLibrary.simpleMessage("Наличие аллергии"),
"archived": MessageLookupByLibrary.simpleMessage("В архиве"),
"authentificate": MessageLookupByLibrary.simpleMessage("Войти"),
"average_pressure": MessageLookupByLibrary.simpleMessage(
"Средние показатели давления:"),
"bodymass_chart": MessageLookupByLibrary.simpleMessage("График ИМТ"),
"chat": MessageLookupByLibrary.simpleMessage("Чат"),
"chest": MessageLookupByLibrary.simpleMessage("Грудь"),
"chest_circumference":
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("Город проживания"),
"continueButton": MessageLookupByLibrary.simpleMessage("Продолжить"),
"country": MessageLookupByLibrary.simpleMessage("Страна"),
"date_of_birth": MessageLookupByLibrary.simpleMessage("Дата рождения"),
"diary": MessageLookupByLibrary.simpleMessage("Дневник"),
"do_you_have_hypertension_tendency":
MessageLookupByLibrary.simpleMessage("Есть ли у вас гипертония?"),
"do_you_have_hypotension_tendency":
MessageLookupByLibrary.simpleMessage("Есть ли у вас гипотония?"),
"do_you_take_pills": MessageLookupByLibrary.simpleMessage(
"Принимаете ли вы лекарства или бады?"),
"down_pressure":
MessageLookupByLibrary.simpleMessage("Нижние показатели давления:"),
"draft": MessageLookupByLibrary.simpleMessage("Черновик"),
"email": MessageLookupByLibrary.simpleMessage("Элетронная почта"),
"email_empty": MessageLookupByLibrary.simpleMessage(
"Необходимо ввести адрес электронной почты"),
"email_invalid": MessageLookupByLibrary.simpleMessage(
"Некорректный адрес электронной почты"),
"enter_additional_information": MessageLookupByLibrary.simpleMessage(
"Введите любую дополнительную информацию на своё усмотрение:"),
"enter_information":
MessageLookupByLibrary.simpleMessage("Введите информацию..."),
"exit": 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 символ"),
"gr": MessageLookupByLibrary.simpleMessage("гр"),
"grams": MessageLookupByLibrary.simpleMessage("гр"),
"height_measurements":
MessageLookupByLibrary.simpleMessage("Замер роста"),
"hip_circumference":
MessageLookupByLibrary.simpleMessage("Обхват бедер"),
"hips": MessageLookupByLibrary.simpleMessage("Бедра"),
"in_progress": MessageLookupByLibrary.simpleMessage("В процессе"),
"initial_measurements":
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"),
"loading": MessageLookupByLibrary.simpleMessage("Загрузка..."),
"male": MessageLookupByLibrary.simpleMessage("Мужской"),
"msg_network_err":
MessageLookupByLibrary.simpleMessage("Сетевая ошибка!"),
"msg_something_went_wrong":
MessageLookupByLibrary.simpleMessage("Что то пошло не так!"),
"my_blog": MessageLookupByLibrary.simpleMessage("Мой блог"),
"my_settings": MessageLookupByLibrary.simpleMessage("Мои настройки"),
"name_empty": MessageLookupByLibrary.simpleMessage(
"Имя пользователя обязательно для заполнения"),
"name_short": MessageLookupByLibrary.simpleMessage(
"В имени пользователя должно быть минимум 6 символов"),
"no": MessageLookupByLibrary.simpleMessage("Нет"),
"no_account":
MessageLookupByLibrary.simpleMessage("У меня нет аккаунта"),
"password": MessageLookupByLibrary.simpleMessage("Пароль"),
"password_confirmation":
MessageLookupByLibrary.simpleMessage("Подтвердите пароль"),
"password_confirmation_mismatch":
MessageLookupByLibrary.simpleMessage("Пароли не совпадают"),
"password_empty": MessageLookupByLibrary.simpleMessage(
"Пароль обязателен для заполнения"),
"password_short": MessageLookupByLibrary.simpleMessage(
"В пароле должно быть минимум 6 символов"),
"pcs": MessageLookupByLibrary.simpleMessage("шт"),
"place_of_living":
MessageLookupByLibrary.simpleMessage("Место проживания"),
"plans_complete":
MessageLookupByLibrary.simpleMessage("Пройденные планы"),
"preferred_language":
MessageLookupByLibrary.simpleMessage("Предпочитаемый язык общения"),
"pressure_empty": MessageLookupByLibrary.simpleMessage(
"Все показатели давления обязательны к заполнению"),
"pressure_is_not_a_number": MessageLookupByLibrary.simpleMessage(
"Все показатели давления должны быть числами"),
"profile": MessageLookupByLibrary.simpleMessage("Профиль"),
"save": MessageLookupByLibrary.simpleMessage("Сохранить"),
"settings": MessageLookupByLibrary.simpleMessage("Настройки"),
"skip": MessageLookupByLibrary.simpleMessage("Пропустить"),
"tell_your_schedule": MessageLookupByLibrary.simpleMessage(
"Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:"),
"unfavorite_foods":
MessageLookupByLibrary.simpleMessage("Нелюбимые продукты"),
"up_pressure": MessageLookupByLibrary.simpleMessage(
"Верхние показатели давления:"),
"user_authorization":
MessageLookupByLibrary.simpleMessage("Аутентификация"),
"user_registration":
MessageLookupByLibrary.simpleMessage("Регистрация пользователя"),
"username": MessageLookupByLibrary.simpleMessage("Имя пользователя"),
"waist": MessageLookupByLibrary.simpleMessage("Талия"),
"waist_circumference":
MessageLookupByLibrary.simpleMessage("Обхват талии"),
"weight": MessageLookupByLibrary.simpleMessage("Вес"),
"weight_chart": MessageLookupByLibrary.simpleMessage("График веса"),
"weight_measurements":
MessageLookupByLibrary.simpleMessage("Замер веса"),
"what_is_your_name":
MessageLookupByLibrary.simpleMessage("Как вас зовут?"),
"wrong_credentials": 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("Ваш вес:")
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,100 +1,100 @@
{
"user_registration": "Регистрация пользователя",
"email": "Элетронная почта",
"username": "Имя пользователя",
"password": "Пароль",
"password_confirmation": "Подтвердите пароль",
"wrong_credentials": "Неверные данные пользователя",
"first_name": "Имя",
"last_name": "Фамилия",
"what_is_your_name": "Как вас зовут?",
"date_of_birth": "Дата рождения",
"country": "Страна",
"Russia": "Россия",
"city": "Город",
"Moscow": "Москва",
"place_of_living": "Место проживания",
"hip_circumference": "Обхват бедер",
"chest_circumference": "Обхват груди",
"waist_circumference": "Обхват талии",
"initial_measurements": "Первичные замеры",
"male": "Мужской",
"female": "Женский",
"weight_measurements": "Замер веса",
"your_weight": "Ваш вес:",
"height_measurements": "Замер роста",
"your_height": "Ваш рост:",
"allergies_presence": "Наличие аллергии",
"do_you_take_pills": "Принимаете ли вы лекарства или бады?",
"your_gender": "Ваш пол?",
"no": "Нет",
"do_you_have_hypertension_tendency": "Есть ли у вас гипертония?",
"your_blood_pressure": "Ваше артериальное давление?",
"average_pressure": "Средние показатели давления:",
"up_pressure": "Верхние показатели давления:",
"down_pressure": "Нижние показатели давления:",
"do_you_have_hypotension_tendency": "Есть ли у вас гипотония?",
"your_favorite_sports": "Ваши спортивные увлечения?",
"favorite_foods": "Любимые продукты",
"favorite_unfavorite_foods": "Ваши любимые/нелюбимые продукты питания?",
"unfavorite_foods": "Нелюбимые продукты",
"your_schedule": "Ваш режим дня?",
"tell_your_schedule": "Расскажите в свободной форме о том как просыпаетесь, когда едите, когда ложитесь спать:",
"additional_information": "Дополнительная информация",
"enter_additional_information": "Введите любую дополнительную информацию на своё усмотрение:",
"user_registration": "User Registration",
"email": "Email",
"username": "Username",
"password": "Password",
"password_confirmation": "Confirm Password",
"wrong_credentials": "Invalid user credentials",
"first_name": "First Name",
"last_name": "Last Name",
"what_is_your_name": "What is your name?",
"date_of_birth": "Date of Birth",
"country": "Country",
"Russia": "Russia",
"city": "City",
"Moscow": "Moscow",
"place_of_living": "Place of Residence",
"hip_circumference": "Hip Circumference",
"chest_circumference": "Chest Circumference",
"waist_circumference": "Waist Circumference",
"initial_measurements": "Initial Measurements",
"male": "Male",
"female": "Female",
"weight_measurements": "Weight Measurement",
"your_weight": "Your Weight:",
"height_measurements": "Height Measurement",
"your_height": "Your Height:",
"allergies_presence": "Presence of Allergies",
"do_you_take_pills": "Do you take any medications or supplements?",
"your_gender": "Your Gender?",
"no": "No",
"do_you_have_hypertension_tendency": "Do you have a tendency for hypertension?",
"your_blood_pressure": "Your Blood Pressure?",
"average_pressure": "Average Pressure Readings:",
"up_pressure": "Upper Pressure Readings:",
"down_pressure": "Lower Pressure Readings:",
"do_you_have_hypotension_tendency": "Do you have a tendency for hypotension?",
"your_favorite_sports": "Your Favorite Sports?",
"favorite_foods": "Favorite Foods",
"favorite_unfavorite_foods": "Your Favorite/Least Favorite Foods?",
"unfavorite_foods": "Least Favorite Foods",
"your_schedule": "Your Daily Routine?",
"tell_your_schedule": "Describe your daily routine freely, such as when you wake up, eat, and go to bed:",
"additional_information": "Additional Information",
"enter_additional_information": "Enter any additional information at your discretion:",
"lbl_english": "English",
"finish": "Завершить",
"preferred_language": "Предпочитаемый язык общения",
"continueButton": "Продолжить",
"skip": "Пропустить",
"fill_in_information": "Заполните информацию:",
"enter_information": "Введите информацию...",
"msg_network_err": "Сетевая ошибка!",
"msg_something_went_wrong": "Что то пошло не так!",
"email_empty": "Необходимо ввести адрес электронной почты",
"email_invalid": "Некорректный адрес электронной почты",
"password_empty": "Пароль обязателен для заполнения",
"password_short": "В пароле должно быть минимум 6 символов",
"name_empty": "Имя пользователя обязательно для заполнения",
"name_short": "В имени пользователя должно быть минимум 6 символов",
"password_confirmation_mismatch": "Пароли не совпадают",
"first_name_empty": "Имя обязательно для заполнения",
"first_name_short": "В имени должен быть минимум 1 символ",
"last_name_empty": "Фамилия обязательна для заполнения",
"last_name_short": "В фамилии должен быть минимум 6 символов",
"circumference_empty": "Все замеры обязательны к заполнению",
"circumference_is_not_a_number": "Все замеры должны быть числами",
"pressure_empty": "Все показатели давления обязательны к заполнению",
"pressure_is_not_a_number": "Все показатели давления должны быть числами",
"no_account": "У меня нет аккаунта",
"authentificate": "Войти",
"user_authorization": "Аутентификация",
"loading": "Загрузка...",
"weight_chart": "График веса",
"circumferences_chart": "График обхватов",
"city_of_living": "Город проживания",
"bodymass_chart": "График ИМТ",
"chest": "Грудь",
"waist": "Талия",
"hips": "Бедра",
"exit": "Выйти",
"active": "Активен",
"archived": "В архиве",
"draft": "Черновик",
"my_blog": "Мой блог",
"language": "Язык",
"in_progress": "В процессе",
"add_measure": "Добавить замер",
"weight": "Вес",
"plans_complete": "Пройденные планы",
"my_settings": "Мои настройки",
"settings": "Настройки",
"profile": "Профиль",
"chat": "Чат",
"admin": "Админ",
"diary": "Дневник",
"save": "Сохранить",
"pcs": "шт",
"gr": "гр",
"grams": "гр"
}
"finish": "Finish",
"preferred_language": "Preferred Language of Communication",
"continueButton": "Continue",
"skip": "Skip",
"fill_in_information": "Fill in the information:",
"enter_information": "Enter information...",
"msg_network_err": "Network error!",
"msg_something_went_wrong": "Something went wrong!",
"email_empty": "Email address is required",
"email_invalid": "Invalid email address",
"password_empty": "Password is required",
"password_short": "Password must be at least 6 characters long",
"name_empty": "Username is required",
"name_short": "Username must be at least 6 characters long",
"password_confirmation_mismatch": "Passwords do not match",
"first_name_empty": "First name is required",
"first_name_short": "First name must be at least 1 character long",
"last_name_empty": "Last name is required",
"last_name_short": "Last name must be at least 6 characters long",
"circumference_empty": "All measurements are required",
"circumference_is_not_a_number": "All measurements must be numbers",
"pressure_empty": "All blood pressure readings are required",
"pressure_is_not_a_number": "All blood pressure readings must be numbers",
"no_account": "I do not have an account",
"authentificate": "Log In",
"user_authorization": "Authentication",
"loading": "Loading...",
"weight_chart": "Weight Chart",
"circumferences_chart": "Circumference Chart",
"city_of_living": "City of Residence",
"bodymass_chart": "BMI Chart",
"chest": "Chest",
"waist": "Waist",
"hips": "Hips",
"exit": "Log Out",
"active": "Active",
"archived": "Archived",
"draft": "Draft",
"my_blog": "My Blog",
"language": "Language",
"in_progress": "In Progress",
"add_measure": "Add Measurement",
"weight": "Weight",
"plans_complete": "Completed Plans",
"my_settings": "My Settings",
"settings": "Settings",
"profile": "Profile",
"chat": "Chat",
"admin": "Admin",
"diary": "Diary",
"save": "Save",
"pcs": "pcs",
"gr": "g",
"grams": "g"
}