From 5272afb8aff395dfe45f3e3f50f1e090cfb0ad43 Mon Sep 17 00:00:00 2001 From: heshanu Date: Mon, 12 Aug 2024 17:57:51 +0530 Subject: [PATCH] email field i18n implmented --- src/app/login/login.component.html | 4 ++-- src/assets/i18n/de.json | 5 ++++- src/assets/i18n/en.json | 7 +++++-- src/assets/i18n/ru.json | 6 ++++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index 580312b..d1ec5b2 100644 --- a/src/app/login/login.component.html +++ b/src/app/login/login.component.html @@ -4,12 +4,12 @@

{{'LOGIN'| translate}}

- The username and password were not recognized + {{'LOGIN_FORM_LOGIN_ALL_CREDINTIAL_WRONG'|translate}} - Please provide a valid email address + {{'EMAIL_ERROR'| translate}} diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index 617fef4..68d620b 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -1,5 +1,8 @@ { "HELLO_WORLD": "Hallo, Welt!", - "LOGIN":"LOGIN" + "LOGIN":"LOGIN", + "LOGIN_FORM_LOGIN_ALL_CREDINTIAL_WRONG":"Der Benutzername und das Passwort wurden nicht erkannt", + "EMAIL_ERROR":"Bitte geben Sie eine gültige E-Mail-Adresse ans" + } \ No newline at end of file diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 6a2357d..af7da84 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -1,5 +1,8 @@ { "HELLO_WORLD": "Hello, World!", - "LOGIN":"LOGIN" - } + "LOGIN":"LOGIN", + "LOGIN_FORM_LOGIN_ALL_CREDINTIAL_WRONG":"The username and password were not recognized", + "EMAIL_ERROR":" Please provide a valid email address" + +} \ No newline at end of file diff --git a/src/assets/i18n/ru.json b/src/assets/i18n/ru.json index 643d586..02e66e9 100644 --- a/src/assets/i18n/ru.json +++ b/src/assets/i18n/ru.json @@ -1,5 +1,7 @@ { "HELLO_WORLD": "Привет, мир!", - "LOGIN":"Авторизоваться" - } + "LOGIN":"Авторизоваться", + "LOGIN_FORM_LOGIN_ALL_CREDINTIAL_WRONG":"Имя пользователя и пароль не были распознаны", + "EMAIL_ERROR":"Пожалуйста, укажите действительный адрес электронной почты" +} \ No newline at end of file