From dae9bd42dbb3c719462b905fb6c5c1e91d661976 Mon Sep 17 00:00:00 2001 From: mohadeseh safari Date: Sun, 27 Apr 2025 15:27:50 -0400 Subject: [PATCH] translatable Email" and "Email is required" --- client/src/Pages/Auth/Register/StepTwo/index.jsx | 4 ++-- client/src/locales/gb.json | 2 ++ client/src/locales/ru.json | 2 ++ client/src/locales/tr.json | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/client/src/Pages/Auth/Register/StepTwo/index.jsx b/client/src/Pages/Auth/Register/StepTwo/index.jsx index a16d5344b..d40ff161f 100644 --- a/client/src/Pages/Auth/Register/StepTwo/index.jsx +++ b/client/src/Pages/Auth/Register/StepTwo/index.jsx @@ -60,7 +60,7 @@ function StepTwo({ form, errors, onSubmit, onChange, onBack }) { (e.target.value = e.target.value.toLowerCase())} onChange={onChange} error={errors.email ? true : false} - helperText={errors.email} + helperText={errors.email && t("authRegisterEmailRequired")} ref={inputRef} /> Terms of Service and <3>Privacy Policy", "authRegisterFirstName": "Name", "authRegisterLastName": "Surname", + "authRegisterEmail": "Email", + "authRegisterEmailRequired": "Email is required", "distributedStatusHeaderText": "Real-time, real-device coverage", "distributedStatusSubHeaderText": "Powered by millions devices worldwide, view a system performance by global region, country or city", "settingsGeneralSettings": "General settings", diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json index 10ee15290..026315132 100644 --- a/client/src/locales/ru.json +++ b/client/src/locales/ru.json @@ -58,6 +58,8 @@ "authRegisterBySigningUp": "Создавая учетную запись, вы соглашаетесь с нашими <1>Условиями использования и <3>Политикой конфиденциальности", "authRegisterFirstName": "Имя", "authRegisterLastName": "Фамилия", + "authRegisterEmail": "Эл. почта", + "authRegisterEmailRequired": "Эл. почта обязательна", "distributedStatusHeaderText": "Охват реального времени и реального устройства", "distributedStatusSubHeaderText": "Работает на миллионах устройств по всему миру, просматривайте производительность системы по глобальному региону, стране или городу", "settingsGeneralSettings": "Общие настройки", diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json index 02107630e..463832d72 100644 --- a/client/src/locales/tr.json +++ b/client/src/locales/tr.json @@ -58,6 +58,8 @@ "authRegisterBySigningUp": "Bir hesap oluşturarak, <1>Hizmet Şartlarımızı ve <3>Gizlilik Politikamızı kabul etmiş olursunuz", "authRegisterFirstName": "Ad", "authRegisterLastName": "Soyad", + "authRegisterEmail": "E-posta", + "authRegisterEmailRequired": "E-posta gereklidir", "distributedStatusHeaderText": "Gerçek zamanlı, Gerçek cihazlar kapsamı", "distributedStatusSubHeaderText": "Dünya çapında milyonlarca cihaz tarafından desteklenen sistem performansını küresel bölgeye, ülkeye veya şehre göre görüntüleyin", "settingsGeneralSettings": "Genel ayarlar",