registration fix and refactoring

This commit is contained in:
Anatoliy Poloz
2024-01-24 11:21:57 +03:00
parent 70e0b066a9
commit cecccba951
20 changed files with 410 additions and 311 deletions

View File

@@ -49,6 +49,7 @@ return [
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'min_words_count' => 'Поле ":attribute" должно состоять минимум из :min слов.',
'gt' => [
'array' => 'The :attribute must have more than :value items.',
'file' => 'The :attribute must be greater than :value kilobytes.',
@@ -162,6 +163,31 @@ return [
'attributes' => [
'image' => 'Изображение',
'unfavorite_foods' => 'не любимые продукты',
'favorite_foods' => 'любимые продукты',
'first_name' => 'Имя',
'last_name' => 'Фамилия',
'email' => 'Мэйл',
'password' => 'Пароль',
'password_confirmation' => 'Подтверждение пароля',
'birthdate' => 'Дата рождения',
'gender' => 'Пол',
'country' => 'Страна',
'city' => 'Город',
'lang' => 'Язык',
'weight' => 'Вес',
'height' => 'Рост',
'chest_circumference' => 'Замер груди',
'waist_circumference' => 'Замер пояса',
'hip_circumference' => 'Замер бёдер',
'blood_pressure_up' => 'Верхнее давление',
'blood_pressure_down' => 'Нижнее давление',
'has_hypo' => 'Наличие гипотонии',
'has_hyper' => 'Наличи гипертонии',
'about_alergy' => 'Наличие аллерги на продукты',
'about_taking_pils' => 'Наличи регулярного приёма лекарств',
'about_sport_hobbies' => 'Спортивные предпочтения',
'additional_info' => 'Дополнительная информация',
],
];