feat: translate error messages (#254)

* feat: translate error messages in error interceptor

* fix: add statik import

* feat: user error msgs

* feat: add translations

* feat: add translations

* feat: add translations

* feat: add translations

* feat: add translations

* feat: add translations

* some fixes and improved error messages

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Fabi
2020-06-22 13:51:44 +02:00
committed by GitHub
parent f68a5e63b5
commit 6556d053b2
52 changed files with 570 additions and 389 deletions

View File

@@ -125,7 +125,7 @@ Errors:
NotFound: Benutzer konnte nicht gefunden werden
NotMatchingUserID: User stimm nicht mit User in Auth Request überein
UserIDMissing: UserID ist leer
InvalidData: Userdaten sind ungültig
Invalid: Userdaten sind ungültig
Password:
ConfirmationWrong: Passwort Bestätigung stimmt nicht überein
Empty: Passwort ist leer

View File

@@ -126,7 +126,7 @@ Errors:
NotFound: User could not be found
NotMatchingUserID: User and user in authrequest don't match
UserIDMissing: UserID is empty
InvalidData: Invalid userdata
Invalid: Invalid userdata
Password:
ConfirmationWrong: Passwordconfirmation is wrong
Empty: Password is empty