Skip to content

Commit

Permalink
feat(global): new codes
Browse files Browse the repository at this point in the history
  • Loading branch information
rimiti committed Sep 25, 2021
1 parent 4dc6a84 commit f3b5fa2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resources/signUp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const signUp: IErrorRes = {
formInvalidPassword: {
status: EHttpCode.BAD_REQUEST,
},
formInvalidLanguage: {
status: EHttpCode.BAD_REQUEST,
},
formEmailAlreadyExists: {
status: EHttpCode.BAD_REQUEST,
},
Expand Down
1 change: 1 addition & 0 deletions src/resources/signUp/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"client": {
"formInvalidEmail": "Invalid email",
"formInvalidPassword": "Invalid password",
"formInvalidLanguage": "Invalid language",
"formEmailAlreadyExists": "Email already exist"
},
"internal": {},
Expand Down
1 change: 1 addition & 0 deletions src/resources/signUp/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"client": {
"formInvalidEmail": "Email invalide",
"formInvalidPassword": "Mot de passe invalide",
"formInvalidLanguage": "Langue invalide",
"formEmailAlreadyExists": "Un compte existe déjà avec cet email"
},
"internal": {},
Expand Down

0 comments on commit f3b5fa2

Please sign in to comment.