@sofit/view-locale 1.39.0 → 1.40.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/leasing_contract.d.ts +1 -1
- package/dist/translations/modules/leasing_contract.js +3 -3
- package/dist/translations/modules/vehicle_leasing.d.ts +8 -0
- package/dist/translations/modules/vehicle_leasing.js +8 -0
- package/lib/translations/modules/leasing_contract.ts +3 -3
- package/lib/translations/modules/vehicle_leasing.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.
|
|
2
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.617">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-04T22:03:42" time="1.736" tests="4">
|
|
3
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="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
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
|
-
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0
|
|
7
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
8
8
|
</testcase>
|
|
9
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="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-
|
|
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="2019-06-04T22:03:42" time="1.744" 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
15
|
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
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">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -16,9 +16,9 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { supplier_id: {
|
|
|
16
16
|
es: 'Observación'
|
|
17
17
|
} });
|
|
18
18
|
exports.messages = {
|
|
19
|
-
|
|
20
|
-
ptBR: 'Fornecedor precisa ser do tipo Locadora.',
|
|
21
|
-
es: 'Proveedor debe ser del tipo Locadora.'
|
|
19
|
+
supplier_must_be_an_active_rental_agency: {
|
|
20
|
+
ptBR: 'Fornecedor precisa estar ativo e ser do tipo Locadora.',
|
|
21
|
+
es: 'Proveedor debe estar activo y ser del tipo Locadora.'
|
|
22
22
|
},
|
|
23
23
|
exist_relation_with_vehicle_leasing: {
|
|
24
24
|
ptBR: 'Não é possível excluir o contrato pois o mesmo está relacionado aos seguintes veículos locados: {{vehicle_leasings}}.',
|
|
@@ -39,5 +39,13 @@ exports.messages = {
|
|
|
39
39
|
must_be_active_to_devolve: {
|
|
40
40
|
ptBR: 'Veículo precisa estar ativo para ser devolvido.',
|
|
41
41
|
es: 'El vehículo debe estar activo para ser devuelto.'
|
|
42
|
+
},
|
|
43
|
+
lease_start_date_must_be_lower_then_devolution_date: {
|
|
44
|
+
ptBR: 'A data de ínício da locação deve ser menor que a data devolução.',
|
|
45
|
+
es: 'El inicio del alquiler debe ser menor que la fecha de devolución.'
|
|
46
|
+
},
|
|
47
|
+
subsidiary_must_be_into_company: {
|
|
48
|
+
ptBR: 'A filial do veículo ({{subsidiary}}) não pertence à empresa do contrato ({{company}}).',
|
|
49
|
+
es: 'La filial del vehículo ({{subsidiary}}) no pertenece a la empresa del contrato ({{company}}).'
|
|
42
50
|
}
|
|
43
51
|
};
|
|
@@ -22,9 +22,9 @@ export const fields = {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export const messages = {
|
|
25
|
-
|
|
26
|
-
ptBR: 'Fornecedor precisa ser do tipo Locadora.',
|
|
27
|
-
es: 'Proveedor debe ser del tipo Locadora.'
|
|
25
|
+
supplier_must_be_an_active_rental_agency: {
|
|
26
|
+
ptBR: 'Fornecedor precisa estar ativo e ser do tipo Locadora.',
|
|
27
|
+
es: 'Proveedor debe estar activo y ser del tipo Locadora.'
|
|
28
28
|
},
|
|
29
29
|
exist_relation_with_vehicle_leasing: {
|
|
30
30
|
ptBR: 'Não é possível excluir o contrato pois o mesmo está relacionado aos seguintes veículos locados: {{vehicle_leasings}}.',
|
|
@@ -49,5 +49,13 @@ export const messages = {
|
|
|
49
49
|
must_be_active_to_devolve: {
|
|
50
50
|
ptBR: 'Veículo precisa estar ativo para ser devolvido.',
|
|
51
51
|
es: 'El vehículo debe estar activo para ser devuelto.'
|
|
52
|
+
},
|
|
53
|
+
lease_start_date_must_be_lower_then_devolution_date: {
|
|
54
|
+
ptBR: 'A data de ínício da locação deve ser menor que a data devolução.',
|
|
55
|
+
es: 'El inicio del alquiler debe ser menor que la fecha de devolución.'
|
|
56
|
+
},
|
|
57
|
+
subsidiary_must_be_into_company: {
|
|
58
|
+
ptBR: 'A filial do veículo ({{subsidiary}}) não pertence à empresa do contrato ({{company}}).',
|
|
59
|
+
es: 'La filial del vehículo ({{subsidiary}}) no pertenece a la empresa del contrato ({{company}}).'
|
|
52
60
|
}
|
|
53
61
|
};
|