Completed
Pull Request — master (#5)
by Alireza
02:51
created
errors/lang/en.php 1 patch
Indentation   +188 added lines, -188 removed lines patch added patch discarded remove patch
@@ -2,201 +2,201 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-	'success' => [
6
-
7
-		'insert'	=> 'The requested parameter is Added successfully!',
8
-
9
-		'delete'	=> 'The requested parameter is deleted successfully!',
10
-
11
-		'update'	=> 'The requested parameter is updated successfully!'
12
-
13
-	],
14
-
15
-	'fail' => [
16
-
17
-		'insert'	=> 'The requested parameter is not Added!',
18
-
19
-		'delete'	=> 'The requested parameter is not deleted!',
20
-
21
-		'update'	=> 'The requested parameter is not updated!'
22
-
23
-	],
24
-
25
-	1001 => [
26
-		'message' => 'Oops... Requested field is not found!',
27
-		'type' => 'error'
28
-	],
29
-
30
-	1002 => [
31
-		'message' => 'Oops... Requested User does not exists!',
32
-		'type' => 'error'
33
-	],
34
-
35
-	1003 => [
36
-		'message' => 'Oops... Client type is not entered!',
37
-		'type' => 'error'
38
-	],
39
-
40
-	1004 => [
41
-		'message' => 'Failed because of duplicate',
42
-		'type' => 'error'
43
-	],
44
-
45
-	1005 => [
46
-		'message' => 'Failed because of dablicated user role',
47
-		'type' => 'error'
48
-	],
49
-
50
-	3001 => [
51
-		'message' => 'You are not logged on',
52
-		'type' => 'error',
53
-		'cat' => 'auth',
54
-		'short' => 'not-logged-on'
55
-	],
56
-
57
-	3002 => [
58
-		'message' => 'Application token did not generated successfully',
59
-		'type' => 'error',
60
-		'cat' => 'auth'
61
-	],
62
-
63
-	3003 =>[
64
-		'message' => 'User token did not generated successfully',
65
-		'type' => 'error',
66
-		'cat' => 'auth'
67
-	],
68
-
69
-	3004 => [
70
-		'message' => 'Request token have no agency access',
71
-		'type' => 'error',
72
-		'cat' => 'auth'
73
-	],
74
-
75
-	3005 => [
76
-		'message' => 'Request token did not contains user information',
77
-		'type' => 'error',
78
-		'cat' => 'auth'
79
-	],
80
-
81
-	3006 => [
82
-		'message' => 'Did not set request token',
83
-		'type' => 'error',
84
-		'cat' => 'auth'
85
-	],
86
-
87
-	3007 => [
88
-		'message' => 'can not decode the token',
89
-		'type' => 'error',
90
-		'cat' => 'auth'
91
-	],
92
-
93
-	3008 => [
94
-		'message' => 'can not generate token for authentication',
95
-		'type' => 'error',
96
-		'cat' => 'auth'
97
-	],
98
-
99
-	3009 => [
100
-		'message' => 'can not create token',
101
-		'type' => 'error',
102
-		'cat' => 'auth'
103
-	],
104
-
105
-	3010 => [
106
-		'message' => 'Token expired!',
107
-		'type' => 'error',
108
-		'cat' => 'auth'
109
-	],
110
-
111
-	3011 => [
112
-		'message' => 'Token is invalid!',
113
-		'type' => 'error',
114
-		'cat' => 'auth'
115
-	],
116
-
117
-	3012 => [
118
-		'message' => 'Token Blacklisted',
119
-		'type' => 'error',
120
-		'cat' => 'auth'
121
-	],
122
-
123
-	3013 => [
124
-		'message' => 'Payload invalid!',
125
-		'type' => 'error',
126
-		'cat' => 'auth'
127
-	],
128
-
129
-	3014 => [
130
-		'message' => 'Claim Invalid',
131
-		'type' => 'error',
132
-		'cat' => 'auth'
133
-	],
134
-
135
-	3015 => [
136
-		'message' => 'An error occurred on token validation',
137
-		'type' => 'error',
138
-		'cat' => 'auth'
139
-	],
140
-
141
-	3016 => [
142
-
143
-		'message' => 'This domain has been blocked',
144
-		'type' => 'error'
145
-	],
146
-
147
-	5401 => [
148
-		'message' => 'Authentication unauthorized...',
149
-		'type' => 'error'
150
-	],
151
-
152
-	5404 => [
153
-		'message' => 'Oops... The requested page not found!',
154
-		'type' => 'error'
155
-	],
156
-
157
-	5405 => [
158
-		'message' => 'Oops... The method you requested is not allowed!',
159
-		'type' => 'error'
160
-	],
161
-
162
-	5406 => [
163
-		'message' => 'Oops... The parameters you entered are wrong!',
164
-		'type' => 'error'
165
-	],
166
-
167
-	5420 => [
168
-		'message' => 'Validation Error',
169
-		'type' => 'error'
170
-	],
171
-
172
-	5422 => [
173
-		'message' => 'Token is not valid',
174
-		'type' => 'error'
175
-	],
176
-
177
-	5445 => [
178
-		'message' => 'Oops... Database connection refused',
179
-		'type' => 'error'
180
-	],
5
+ 'success' => [
6
+
7
+  'insert'	=> 'The requested parameter is Added successfully!',
8
+
9
+  'delete'	=> 'The requested parameter is deleted successfully!',
10
+
11
+  'update'	=> 'The requested parameter is updated successfully!'
12
+
13
+ ],
14
+
15
+ 'fail' => [
16
+
17
+  'insert'	=> 'The requested parameter is not Added!',
18
+
19
+  'delete'	=> 'The requested parameter is not deleted!',
20
+
21
+  'update'	=> 'The requested parameter is not updated!'
22
+
23
+ ],
24
+
25
+ 1001 => [
26
+  'message' => 'Oops... Requested field is not found!',
27
+  'type' => 'error'
28
+ ],
29
+
30
+ 1002 => [
31
+  'message' => 'Oops... Requested User does not exists!',
32
+  'type' => 'error'
33
+ ],
34
+
35
+ 1003 => [
36
+  'message' => 'Oops... Client type is not entered!',
37
+  'type' => 'error'
38
+ ],
39
+
40
+ 1004 => [
41
+  'message' => 'Failed because of duplicate',
42
+  'type' => 'error'
43
+ ],
44
+
45
+ 1005 => [
46
+  'message' => 'Failed because of dablicated user role',
47
+  'type' => 'error'
48
+ ],
49
+
50
+ 3001 => [
51
+  'message' => 'You are not logged on',
52
+  'type' => 'error',
53
+  'cat' => 'auth',
54
+  'short' => 'not-logged-on'
55
+ ],
56
+
57
+ 3002 => [
58
+  'message' => 'Application token did not generated successfully',
59
+  'type' => 'error',
60
+  'cat' => 'auth'
61
+ ],
62
+
63
+ 3003 =>[
64
+  'message' => 'User token did not generated successfully',
65
+  'type' => 'error',
66
+  'cat' => 'auth'
67
+ ],
68
+
69
+ 3004 => [
70
+  'message' => 'Request token have no agency access',
71
+  'type' => 'error',
72
+  'cat' => 'auth'
73
+ ],
74
+
75
+ 3005 => [
76
+  'message' => 'Request token did not contains user information',
77
+  'type' => 'error',
78
+  'cat' => 'auth'
79
+ ],
80
+
81
+ 3006 => [
82
+  'message' => 'Did not set request token',
83
+  'type' => 'error',
84
+  'cat' => 'auth'
85
+ ],
86
+
87
+ 3007 => [
88
+  'message' => 'can not decode the token',
89
+  'type' => 'error',
90
+  'cat' => 'auth'
91
+ ],
92
+
93
+ 3008 => [
94
+  'message' => 'can not generate token for authentication',
95
+  'type' => 'error',
96
+  'cat' => 'auth'
97
+ ],
98
+
99
+ 3009 => [
100
+  'message' => 'can not create token',
101
+  'type' => 'error',
102
+  'cat' => 'auth'
103
+ ],
104
+
105
+ 3010 => [
106
+  'message' => 'Token expired!',
107
+  'type' => 'error',
108
+  'cat' => 'auth'
109
+ ],
110
+
111
+ 3011 => [
112
+  'message' => 'Token is invalid!',
113
+  'type' => 'error',
114
+  'cat' => 'auth'
115
+ ],
116
+
117
+ 3012 => [
118
+  'message' => 'Token Blacklisted',
119
+  'type' => 'error',
120
+  'cat' => 'auth'
121
+ ],
122
+
123
+ 3013 => [
124
+  'message' => 'Payload invalid!',
125
+  'type' => 'error',
126
+  'cat' => 'auth'
127
+ ],
128
+
129
+ 3014 => [
130
+  'message' => 'Claim Invalid',
131
+  'type' => 'error',
132
+  'cat' => 'auth'
133
+ ],
134
+
135
+ 3015 => [
136
+  'message' => 'An error occurred on token validation',
137
+  'type' => 'error',
138
+  'cat' => 'auth'
139
+ ],
140
+
141
+ 3016 => [
142
+
143
+  'message' => 'This domain has been blocked',
144
+  'type' => 'error'
145
+ ],
146
+
147
+ 5401 => [
148
+  'message' => 'Authentication unauthorized...',
149
+  'type' => 'error'
150
+ ],
151
+
152
+ 5404 => [
153
+  'message' => 'Oops... The requested page not found!',
154
+  'type' => 'error'
155
+ ],
156
+
157
+ 5405 => [
158
+  'message' => 'Oops... The method you requested is not allowed!',
159
+  'type' => 'error'
160
+ ],
161
+
162
+ 5406 => [
163
+  'message' => 'Oops... The parameters you entered are wrong!',
164
+  'type' => 'error'
165
+ ],
166
+
167
+ 5420 => [
168
+  'message' => 'Validation Error',
169
+  'type' => 'error'
170
+ ],
171
+
172
+ 5422 => [
173
+  'message' => 'Token is not valid',
174
+  'type' => 'error'
175
+ ],
176
+
177
+ 5445 => [
178
+  'message' => 'Oops... Database connection refused',
179
+  'type' => 'error'
180
+ ],
181 181
 
182 182
     5446 => [
183 183
         'message' => 'Oops... Redis connection refused',
184 184
         'type' => 'error'
185 185
     ],
186 186
 
187
-	5448 => [
188
-		'message' => 'Oops... Insert action was not successfully executed',
189
-		'type' => 'error'
190
-	],
187
+ 5448 => [
188
+  'message' => 'Oops... Insert action was not successfully executed',
189
+  'type' => 'error'
190
+ ],
191 191
 
192
-	5447 => [
193
-		'message' => 'Oops... Delete action was not successfully executed',
194
-		'type' => 'error'
195
-	],
192
+ 5447 => [
193
+  'message' => 'Oops... Delete action was not successfully executed',
194
+  'type' => 'error'
195
+ ],
196 196
 
197
-	5449 => [
198
-		'message' => 'Oops... Update action was not successfully executed',
199
-		'type' => 'error'
200
-	]
197
+ 5449 => [
198
+  'message' => 'Oops... Update action was not successfully executed',
199
+  'type' => 'error'
200
+ ]
201 201
 
202 202
 ];
Please login to merge, or discard this patch.