mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
fix: make user creation errors helpful (#5382)
* fix: make user creation errors helpful * fix linting and unit testing errors * fix linting * make zitadel config reusable * fix human validations * translate ssr errors * make zitadel config reusable * cover more translations for ssr * handle email validation message centrally * fix unit tests * fix linting * align signatures * use more precise wording * handle phone validation message centrally * fix: return specific profile errors * docs: edit comments * fix unit tests --------- Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
@@ -69,17 +69,24 @@ Errors:
|
||||
UsernameNotChanged: Benutzername wurde nicht verändert
|
||||
Profile:
|
||||
NotFound: Profil nicht gefunden
|
||||
NotChanged: Profile nicht verändert
|
||||
Invalid: Profildaten sind ungültig
|
||||
NotChanged: Profil nicht verändert
|
||||
Empty: Profil ist leer
|
||||
FirstNameEmpty: Vorname im Profil ist leer
|
||||
LastNameEmpty: Nachname im Profil ist leer
|
||||
IDMissing: Profil ID fehlt
|
||||
Email:
|
||||
NotFound: Email nicht gefunden
|
||||
Invalid: Email ist ungültig
|
||||
AlreadyVerified: Email ist bereits verifiziert
|
||||
NotChanged: Email wurde nicht geändert
|
||||
Empty: Email ist leer
|
||||
IDMissing: Email ID fehlt
|
||||
Phone:
|
||||
NotFound: Telefonnummer nicht gefunden
|
||||
Invalid: Telefonnummer ist ungültig
|
||||
AlreadyVerified: Telefonnummer bereits verifiziert
|
||||
Empty: Telefonnummer ist leer
|
||||
NotChanged: Telefonnummer wurde nicht geändert
|
||||
Address:
|
||||
NotFound: Adresse nicht gefunden
|
||||
NotChanged: Adresse wurde nicht geändert
|
||||
@@ -100,6 +107,7 @@ Errors:
|
||||
Username:
|
||||
AlreadyExists: Benutzername ist bereits vergeben
|
||||
Reserved: Benutzername ist bereits vergeben
|
||||
Empty: Benutzername ist leer
|
||||
Code:
|
||||
Empty: Code ist leer
|
||||
NotFound: Code konnte nicht gefunden werden
|
||||
|
@@ -70,16 +70,23 @@ Errors:
|
||||
Profile:
|
||||
NotFound: Profile not found
|
||||
NotChanged: Profile not changed
|
||||
Invalid: Profile data invalid
|
||||
Empty: Profile is empty
|
||||
FirstNameEmpty: First name in profile is empty
|
||||
LastNameEmpty: Last name in profile is empty
|
||||
IDMissing: Profile ID is missing
|
||||
Email:
|
||||
NotFound: Email not found
|
||||
Invalid: Email is invalid
|
||||
AlreadyVerified: Email is already verified
|
||||
NotChanged: Email not changed
|
||||
Empty: Email is empty
|
||||
IDMissing: Email ID is missing
|
||||
Phone:
|
||||
NotFound: Phone not found
|
||||
Invalid: Phone is invalid
|
||||
AlreadyVerified: Phone already verified
|
||||
Empty: Phone is empty
|
||||
NotChanged: Phone not changed
|
||||
Address:
|
||||
NotFound: Address not found
|
||||
NotChanged: Address not changed
|
||||
@@ -100,6 +107,7 @@ Errors:
|
||||
Username:
|
||||
AlreadyExists: Username already taken
|
||||
Reserved: Username is already taken
|
||||
Empty: Username is empty
|
||||
Code:
|
||||
Empty: Code is empty
|
||||
NotFound: Code not found
|
||||
|
@@ -70,16 +70,23 @@ Errors:
|
||||
Profile:
|
||||
NotFound: Profil non trouvé
|
||||
NotChanged: Le profil n'a pas changé
|
||||
Invalid: Données de profil non valides
|
||||
Empty: Profil est vide
|
||||
FirstNameEmpty: Le prénom dans le profil est vide
|
||||
LastNameEmpty: Le nom de famille dans le profil est vide
|
||||
IDMissing: Profil ID manquant
|
||||
Email:
|
||||
NotFound: Email non trouvé
|
||||
Invalid: L'email n'est pas valide
|
||||
AlreadyVerified: L'adresse électronique est déjà vérifiée
|
||||
NotChanged: L'adresse électronique n'a pas changé
|
||||
Empty: Email est vide
|
||||
IDMissing: Email ID manquant
|
||||
Phone:
|
||||
Notfound: Téléphone non trouvé
|
||||
Invalid: Le téléphone n'est pas valide
|
||||
AlreadyVerified: Téléphone déjà vérifié
|
||||
Empty: Téléphone est vide
|
||||
NotChanged: Téléphone n'a pas changé
|
||||
Address:
|
||||
NotFound: Adresse non trouvée
|
||||
NotChanged: L'adresse n'a pas changé
|
||||
@@ -100,6 +107,7 @@ Errors:
|
||||
Username:
|
||||
AlreadyExists: Nom d'utilisateur déjà pris
|
||||
Reserved: Le nom d'utilisateur est déjà pris
|
||||
Empty: Le nom d'utilisateur est vide
|
||||
Code:
|
||||
Empty: Le code est vide
|
||||
NotFound: Code non trouvé
|
||||
|
@@ -70,16 +70,23 @@ Errors:
|
||||
Profile:
|
||||
NotFound: Profilo non trovato
|
||||
NotChanged: Profilo non cambiato
|
||||
Invalid: Dati non sono validi
|
||||
Empty: Profilo è vuoto
|
||||
FirstNameEmpty: Il nome nel profilo è vuoto
|
||||
LastNameEmpty: Il cognome nel profilo è vuoto
|
||||
IDMissing: Profilo ID mancante
|
||||
Email:
|
||||
NotFound: Email non trovata
|
||||
Invalid: L'e-mail non è valida
|
||||
AlreadyVerified: L'e-mail è già verificata
|
||||
NotChanged: Email non cambiata
|
||||
Empty: Email è vuota
|
||||
IDMissing: Email ID mancante
|
||||
Phone:
|
||||
NotFound: Telefono non trovato
|
||||
Invalid: Il telefono non è valido
|
||||
AlreadyVerified: Telefono già verificato
|
||||
Empty: Il telefono è vuoto
|
||||
NotChanged: Telefono non cambiato
|
||||
Address:
|
||||
NotFound: Indirizzo non trovato
|
||||
NotChanged: Indirizzo non cambiato
|
||||
@@ -100,6 +107,7 @@ Errors:
|
||||
Username:
|
||||
AlreadyExists: Nome utente già preso
|
||||
Reserved: Il nome utente è già preso
|
||||
Empty: Il nome utente è vuoto
|
||||
Code:
|
||||
Empty: Il codice è vuoto
|
||||
NotFound: Codice non trovato
|
||||
|
@@ -70,16 +70,23 @@ Errors:
|
||||
Profile:
|
||||
NotFound: Profil nie znaleziony
|
||||
NotChanged: Profil nie zmieniony
|
||||
Invalid: Nieprawidłowe dane profilu
|
||||
Empty: Profil jest pusty
|
||||
FirstNameEmpty: Imię w profilu jest puste
|
||||
LastNameEmpty: Nazwisko w profilu jest puste
|
||||
IDMissing: Profil ID brakuje
|
||||
Email:
|
||||
NotFound: Adres e-mail nie znaleziony
|
||||
Invalid: Adres e-mail jest nieprawidłowy
|
||||
AlreadyVerified: Adres e-mail jest już zweryfikowany
|
||||
NotChanged: Adres e-mail nie zmieniony
|
||||
Empty: Adres e-mail jest pusty
|
||||
IDMissing: Adres e-mail ID brakuje
|
||||
Phone:
|
||||
NotFound: Numer telefonu nie znaleziony
|
||||
Invalid: Numer telefonu jest nieprawidłowy
|
||||
AlreadyVerified: Numer telefonu już zweryfikowany
|
||||
Empty: Numer telefonu jest pusty
|
||||
NotChanged: Numer telefonu nie zmieniony
|
||||
Address:
|
||||
NotFound: Adres nie znaleziony
|
||||
NotChanged: Adres nie zmieniony
|
||||
@@ -100,6 +107,7 @@ Errors:
|
||||
Username:
|
||||
AlreadyExists: Nazwa użytkownika jest już zajęta
|
||||
Reserved: Nazwa użytkownika jest już zajęta
|
||||
Empty: Nazwa użytkownika jest pusty
|
||||
Code:
|
||||
Empty: Kod jest pusty
|
||||
NotFound: Kod nie znaleziony
|
||||
|
@@ -70,16 +70,23 @@ Errors:
|
||||
Profile:
|
||||
NotFound: 未找到个人资料
|
||||
NotChanged: 个人资料未更改
|
||||
Invalid: 个人资料数据无效
|
||||
Empty: 简介是空的
|
||||
FirstNameEmpty: 简介中的名字是空的
|
||||
LastNameEmpty: 简介中的姓氏是空的
|
||||
IDMissing: 简介ID丢失
|
||||
Email:
|
||||
NotFound: 电子邮件没有找到
|
||||
Invalid: 电子邮件无效
|
||||
AlreadyVerified: 电子邮件已经过验证
|
||||
NotChanged: 电子邮件未更改
|
||||
Empty: 电子邮件是空的
|
||||
IDMissing: 电子邮件ID丢失
|
||||
Phone:
|
||||
NotFound: 手机号码未找到
|
||||
Invalid: 手机号码无效
|
||||
AlreadyVerified: 手机号码已经验证
|
||||
Empty: 电话号码是空的
|
||||
NotChanged: 电话号码没有改变
|
||||
Address:
|
||||
NotFound: 找不到地址
|
||||
NotChanged: 地址没有改变
|
||||
@@ -100,6 +107,7 @@ Errors:
|
||||
Username:
|
||||
AlreadyExists: 用户名已被使用
|
||||
Reserved: 用户名已被使用
|
||||
Empty: 用户名是空的
|
||||
Code:
|
||||
Empty: 验证码为空
|
||||
NotFound: 验证码不存在
|
||||
|
Reference in New Issue
Block a user