@sofit/view-locale 1.83.0 → 1.84.1
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 +8 -8
- package/dist/translations/modules/employee.d.ts +4 -0
- package/dist/translations/modules/employee.js +4 -0
- package/dist/translations/modules/vehicle_change_history.js +2 -2
- package/lib/translations/modules/employee.ts +4 -0
- package/lib/translations/modules/vehicle_change_history.ts +2 -2
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.
|
|
2
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-03-
|
|
3
|
-
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.819">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-03-26T21:29:04" time="2.062" tests="4">
|
|
3
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
|
|
4
4
|
</testcase>
|
|
5
5
|
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
6
6
|
</testcase>
|
|
7
7
|
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
8
8
|
</testcase>
|
|
9
|
-
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
|
|
9
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-03-
|
|
13
|
-
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-03-26T21:29:04" time="2.057" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
|
|
14
14
|
</testcase>
|
|
15
15
|
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
|
|
16
16
|
</testcase>
|
|
17
|
-
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0
|
|
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="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
19
|
+
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.004">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -197,6 +197,10 @@ exports.messages = {
|
|
|
197
197
|
required_demission_date: {
|
|
198
198
|
ptBR: 'Preencha a data de demissão para o colaborador inativo.',
|
|
199
199
|
es: 'Rellene la fecha de dimisión para el colaborador inactivo'
|
|
200
|
+
},
|
|
201
|
+
user_must_be_active: {
|
|
202
|
+
ptBR: 'O usuário informado deve estar ativo.',
|
|
203
|
+
es: 'El usuario informado debe estar activo.'
|
|
200
204
|
}
|
|
201
205
|
};
|
|
202
206
|
exports.enums = {
|
|
@@ -43,8 +43,8 @@ exports.messages = {
|
|
|
43
43
|
es: 'Para los registros de tipo {{type}} solo se debe ingresar el campo {{field}}.'
|
|
44
44
|
},
|
|
45
45
|
must_have_active_employee: {
|
|
46
|
-
ptBR: 'Não é possível
|
|
47
|
-
es: 'El historial no se puede
|
|
46
|
+
ptBR: 'Não é possível salvar o histórico, pois o colaborador selecionado foi demitido em {{demission_date}}.',
|
|
47
|
+
es: 'El historial no se puede guardar porque el empleado seleccionado fue despedido el {{demission_date}}.'
|
|
48
48
|
},
|
|
49
49
|
start_date_must_be_lower_than_now: {
|
|
50
50
|
ptBR: 'A data/hora de início deve ser menor ou igual à data/hora atual.',
|
|
@@ -237,6 +237,10 @@ export const messages = {
|
|
|
237
237
|
required_demission_date: {
|
|
238
238
|
ptBR: 'Preencha a data de demissão para o colaborador inativo.',
|
|
239
239
|
es: 'Rellene la fecha de dimisión para el colaborador inactivo'
|
|
240
|
+
},
|
|
241
|
+
user_must_be_active: {
|
|
242
|
+
ptBR: 'O usuário informado deve estar ativo.',
|
|
243
|
+
es: 'El usuario informado debe estar activo.'
|
|
240
244
|
}
|
|
241
245
|
};
|
|
242
246
|
|
|
@@ -56,8 +56,8 @@ export const messages = {
|
|
|
56
56
|
es: 'Para los registros de tipo {{type}} solo se debe ingresar el campo {{field}}.'
|
|
57
57
|
},
|
|
58
58
|
must_have_active_employee: {
|
|
59
|
-
ptBR: 'Não é possível
|
|
60
|
-
es: 'El historial no se puede
|
|
59
|
+
ptBR: 'Não é possível salvar o histórico, pois o colaborador selecionado foi demitido em {{demission_date}}.',
|
|
60
|
+
es: 'El historial no se puede guardar porque el empleado seleccionado fue despedido el {{demission_date}}.'
|
|
61
61
|
},
|
|
62
62
|
start_date_must_be_lower_than_now: {
|
|
63
63
|
ptBR: 'A data/hora de início deve ser menor ou igual à data/hora atual.',
|