From 395f0116184f59e62b46846261634ed3f05f5313 Mon Sep 17 00:00:00 2001 From: Georgi 7DIGIT Date: Fri, 1 Nov 2024 14:25:20 +0200 Subject: [PATCH] Add: yearOfBirth parent label in UserDetails --- src/blocks/UserDetails/UserDetails.jsx | 4 ++++ src/blocks/UserDetails/locales/en.json | 3 ++- src/blocks/UserDetails/locales/kk.json | 3 ++- src/blocks/UserDetails/locales/pl.json | 3 ++- src/blocks/UserDetails/locales/ru.json | 3 ++- src/blocks/UserDetails/locales/uk.json | 3 ++- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/blocks/UserDetails/UserDetails.jsx b/src/blocks/UserDetails/UserDetails.jsx index 2bb5dd3..75580c1 100644 --- a/src/blocks/UserDetails/UserDetails.jsx +++ b/src/blocks/UserDetails/UserDetails.jsx @@ -155,6 +155,10 @@ export const UserDetails = ({ ) { years.push({ label: year.toString(), value: year }); } + years.push({ + label: t("parent"), + value: "parent", + }); return years.reverse(); }, [countriesData]); diff --git a/src/blocks/UserDetails/locales/en.json b/src/blocks/UserDetails/locales/en.json index d165394..898dda2 100644 --- a/src/blocks/UserDetails/locales/en.json +++ b/src/blocks/UserDetails/locales/en.json @@ -39,5 +39,6 @@ "success_message": "Profile updated successfully", "sex_placeholder": "Enter your sex", "year_of_birth_placeholder": "Enter your year of birth", - "living_place_placeholder": "Enter your living place" + "living_place_placeholder": "Enter your living place", + "parent": "Parent" } diff --git a/src/blocks/UserDetails/locales/kk.json b/src/blocks/UserDetails/locales/kk.json index a094832..c41fa5f 100644 --- a/src/blocks/UserDetails/locales/kk.json +++ b/src/blocks/UserDetails/locales/kk.json @@ -39,5 +39,6 @@ "success_message": "Парақша сәтті жаңартылды", "sex_placeholder": "Жынысыңызды енгізіңіз", "year_of_birth_placeholder": "Туған жылыңызды енгізіңіз", - "living_place_placeholder": "Тұрғылықты жеріңізді енгізіңіз" + "living_place_placeholder": "Тұрғылықты жеріңізді енгізіңіз", + "parent": "Ата-ана" } diff --git a/src/blocks/UserDetails/locales/pl.json b/src/blocks/UserDetails/locales/pl.json index 03adebc..6bff128 100644 --- a/src/blocks/UserDetails/locales/pl.json +++ b/src/blocks/UserDetails/locales/pl.json @@ -39,5 +39,6 @@ "success_message": "Profil został pomyślnie zaktualizowany", "sex_placeholder": "Wprowadź swoją płeć", "year_of_birth_placeholder": "Wprowadź swój rok urodzenia", - "living_place_placeholder": "Wprowadź swoje miejsce zamieszkania" + "living_place_placeholder": "Wprowadź swoje miejsce zamieszkania", + "parent": "Rodzic" } diff --git a/src/blocks/UserDetails/locales/ru.json b/src/blocks/UserDetails/locales/ru.json index 1755c89..6e68424 100644 --- a/src/blocks/UserDetails/locales/ru.json +++ b/src/blocks/UserDetails/locales/ru.json @@ -39,5 +39,6 @@ "success_message": "Профиль успешно обновлен", "sex_placeholder": "Введите свой пол", "year_of_birth_placeholder": "Введите свой год рождения", - "living_place_placeholder": "Введите место вашего жительства" + "living_place_placeholder": "Введите место вашего жительства", + "parent": "Родитель" } diff --git a/src/blocks/UserDetails/locales/uk.json b/src/blocks/UserDetails/locales/uk.json index b398c71..5351f49 100644 --- a/src/blocks/UserDetails/locales/uk.json +++ b/src/blocks/UserDetails/locales/uk.json @@ -39,5 +39,6 @@ "success_message": "Профіль оновлено", "sex_placeholder": "Введіть стать", "year_of_birth_placeholder": "Введіть рік народження", - "living_place_placeholder": "Введіть місце проживання" + "living_place_placeholder": "Введіть місце проживання", + "parent": "Батько" }