@sofit/view-locale 1.60.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/jest/results.xml +11 -11
- package/dist/translations/common/database-errors.js +2 -2
- package/dist/translations/modules/employee.d.ts +8 -0
- package/dist/translations/modules/employee.js +7 -0
- package/lib/translations/common/database-errors.ts +2 -2
- package/lib/translations/modules/employee.ts +8 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="
|
|
2
|
-
<testsuite name="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.095">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-08-30T17:22:34" time="2.137" tests="4">
|
|
3
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase classname="
|
|
5
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase classname="
|
|
7
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
|
|
8
8
|
</testcase>
|
|
9
|
-
<testcase classname="
|
|
9
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="
|
|
13
|
-
<testcase classname="
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-08-30T17:22:34" time="2.291" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.004">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="
|
|
15
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.004">
|
|
16
16
|
</testcase>
|
|
17
|
-
<testcase classname="
|
|
17
|
+
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
18
18
|
</testcase>
|
|
19
|
-
<testcase classname="
|
|
19
|
+
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -30,7 +30,7 @@ exports.databaseErrors = {
|
|
|
30
30
|
es: 'No se encontró el registro de {{resource}}.'
|
|
31
31
|
},
|
|
32
32
|
duplicate_registers: {
|
|
33
|
-
ptBR: '
|
|
34
|
-
es: 'Hay
|
|
33
|
+
ptBR: 'Há mais de um registro com o valor {{value}} no campo {{column}} em {{table}}',
|
|
34
|
+
es: 'Hay más de un registro con el valor {{value}} en el campo {{column}} en {{table}}'
|
|
35
35
|
}
|
|
36
36
|
};
|
|
@@ -147,6 +147,10 @@ export declare const fields: {
|
|
|
147
147
|
ptBR: string;
|
|
148
148
|
es: string;
|
|
149
149
|
};
|
|
150
|
+
manager_id: {
|
|
151
|
+
ptBR: string;
|
|
152
|
+
es: string;
|
|
153
|
+
};
|
|
150
154
|
name: {
|
|
151
155
|
ptBR: string;
|
|
152
156
|
es: string;
|
|
@@ -205,6 +209,10 @@ export declare const messages: {
|
|
|
205
209
|
ptBR: string;
|
|
206
210
|
es: string;
|
|
207
211
|
};
|
|
212
|
+
there_are_managers_with_same_name: {
|
|
213
|
+
ptBR: string;
|
|
214
|
+
es: string;
|
|
215
|
+
};
|
|
208
216
|
immediate_manager_can_not_be_yourself: {
|
|
209
217
|
ptBR: string;
|
|
210
218
|
es: string;
|
|
@@ -113,6 +113,9 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { active: {
|
|
|
113
113
|
}, statement_of_responsibility_file_url: {
|
|
114
114
|
ptBR: 'Arquivo do Termo de responsabilidade',
|
|
115
115
|
es: 'Archivo del Término de responsabilidad'
|
|
116
|
+
}, manager_id: {
|
|
117
|
+
ptBR: 'Gestor imediato',
|
|
118
|
+
es: 'Gerente inmediato'
|
|
116
119
|
} });
|
|
117
120
|
exports.messages = {
|
|
118
121
|
associated_at_driver_control_deactivate: {
|
|
@@ -159,6 +162,10 @@ exports.messages = {
|
|
|
159
162
|
ptBR: 'O gestor imediato deve estar vinculado a um usuário.',
|
|
160
163
|
es: 'El gerente inmediato debe estar vinculado a un usuario.'
|
|
161
164
|
},
|
|
165
|
+
there_are_managers_with_same_name: {
|
|
166
|
+
ptBR: 'Há mais de um gestor imediato com o nome: {{name}}',
|
|
167
|
+
es: 'Ya más de un gerente inmediato con el nombre: {{name}}'
|
|
168
|
+
},
|
|
162
169
|
immediate_manager_can_not_be_yourself: {
|
|
163
170
|
ptBR: 'Não é possível informar o gestor imediato como sendo o próprio colaborador.',
|
|
164
171
|
es: 'No es posible informar al gerente inmediato como el colaborador mismo'
|
|
@@ -28,7 +28,7 @@ export const databaseErrors = {
|
|
|
28
28
|
es: 'No se encontró el registro de {{resource}}.'
|
|
29
29
|
},
|
|
30
30
|
duplicate_registers: {
|
|
31
|
-
ptBR: '
|
|
32
|
-
es: 'Hay
|
|
31
|
+
ptBR: 'Há mais de um registro com o valor {{value}} no campo {{column}} em {{table}}',
|
|
32
|
+
es: 'Hay más de un registro con el valor {{value}} en el campo {{column}} en {{table}}'
|
|
33
33
|
}
|
|
34
34
|
};
|
|
@@ -150,6 +150,10 @@ export const fields = {
|
|
|
150
150
|
statement_of_responsibility_file_url: {
|
|
151
151
|
ptBR: 'Arquivo do Termo de responsabilidade',
|
|
152
152
|
es: 'Archivo del Término de responsabilidad'
|
|
153
|
+
},
|
|
154
|
+
manager_id: {
|
|
155
|
+
ptBR: 'Gestor imediato',
|
|
156
|
+
es: 'Gerente inmediato'
|
|
153
157
|
}
|
|
154
158
|
};
|
|
155
159
|
|
|
@@ -198,6 +202,10 @@ export const messages = {
|
|
|
198
202
|
ptBR: 'O gestor imediato deve estar vinculado a um usuário.',
|
|
199
203
|
es: 'El gerente inmediato debe estar vinculado a un usuario.'
|
|
200
204
|
},
|
|
205
|
+
there_are_managers_with_same_name: {
|
|
206
|
+
ptBR: 'Há mais de um gestor imediato com o nome: {{name}}',
|
|
207
|
+
es: 'Ya más de un gerente inmediato con el nombre: {{name}}'
|
|
208
|
+
},
|
|
201
209
|
immediate_manager_can_not_be_yourself: {
|
|
202
210
|
ptBR: 'Não é possível informar o gestor imediato como sendo o próprio colaborador.',
|
|
203
211
|
es: 'No es posible informar al gerente inmediato como el colaborador mismo'
|