Split 401

This commit is contained in:
2024-07-28 03:04:26 +02:00
parent 73c7dc1b5e
commit 96bdbfc62a
15 changed files with 77 additions and 75 deletions
@@ -1,23 +1,23 @@
{
"Unauthorized": "Unauthorized",
"Unauthorized": "NotAllowed",
"Unauthorized_login": "Invalid email or password",
"NotAllowed_login": "Invalid email or password",
"NotFound_user:login": "User does not exist",
"MissingField_email:login": "E-Mail required",
"MissingField_password:login": "Password required",
"Unauthorized_deletPost": "Unauthorized",
"NotAllowed_deletPost": "NotAllowed",
"NotFound_post:deletePost": "Post not found",
"Unauthorized_userUpdate": "Unauthorized",
"NotAllowed_userUpdate": "NotAllowed",
"NotFound_user:userUpdate": "User not found",
"FailedUpdate_Duplicate:userUpdate": "A user with this username already exists",
"FailedUpdate_Duplicate:email:userUpdate": "A user with this email already exists",
"Unauthorized_newPost": "Unauthorized",
"NotAllowed_newPost": "NotAllowed",
"MissingField_content:newPost": "Content required",
"Unauthorized_postUpdate": "Unauthorized",
"NotAllowed_postUpdate": "NotAllowed",
"NotFound_post:postUpdate": "Post not found",
"Duplicate_user:register": "A user with this username or email already exists",