File tree Expand file tree Collapse file tree 4 files changed +36
-2
lines changed Expand file tree Collapse file tree 4 files changed +36
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import * as en from './locales/en.json';
6
6
7
7
const i18n : II18n = { fr, en } ;
8
8
9
- const authentication : IErrorRes = {
9
+ const signIn : IErrorRes = {
10
10
client : {
11
11
formInvalidEmail : {
12
12
status : EHttpCode . BAD_REQUEST ,
@@ -26,4 +26,4 @@ const authentication: IErrorRes = {
26
26
i18n,
27
27
} ;
28
28
29
- export default authentication ;
29
+ export default signIn ;
Original file line number Diff line number Diff line change
1
+ import { II18n , IErrorRes , EHttpCode } from '../../types' ;
2
+
3
+ // Locales
4
+ import * as fr from './locales/fr.json' ;
5
+ import * as en from './locales/en.json' ;
6
+
7
+ const i18n : II18n = { fr, en } ;
8
+
9
+ const signUp : IErrorRes = {
10
+ client : {
11
+ formEmailAlreadyExists : {
12
+ status : EHttpCode . BAD_REQUEST ,
13
+ } ,
14
+ } ,
15
+ internal : { } ,
16
+ external : { } ,
17
+ i18n,
18
+ } ;
19
+
20
+ export default signUp ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "client" : {
3
+ "formEmailAlreadyExists" : " Email already exist"
4
+ },
5
+ "internal" : {},
6
+ "external" : {}
7
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "client" : {
3
+ "formEmailAlreadyExists" : " Un compte existe déjà avec cet email"
4
+ },
5
+ "internal" : {},
6
+ "external" : {}
7
+ }
You can’t perform that action at this time.
0 commit comments