@sofit/view-locale 1.38.1 → 1.40.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/modules/vehicle.d.ts +24 -0
- package/dist/translations/modules/vehicle.js +24 -0
- package/dist/translations/modules/vehicle_leasing.d.ts +4 -0
- package/dist/translations/modules/vehicle_leasing.js +4 -0
- package/lib/translations/modules/vehicle.ts +25 -0
- package/lib/translations/modules/vehicle_leasing.ts +4 -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="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.368">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-05-28T13:54:45" time="1.57" 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-05-28T13:54:45" time="1.6" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
|
|
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">
|
|
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.001">
|
|
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">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -442,3 +442,27 @@ export declare const messages: {
|
|
|
442
442
|
es: string;
|
|
443
443
|
};
|
|
444
444
|
};
|
|
445
|
+
export declare const enums: {
|
|
446
|
+
disponibility: {
|
|
447
|
+
'active': {
|
|
448
|
+
ptBR: string;
|
|
449
|
+
es: string;
|
|
450
|
+
};
|
|
451
|
+
'available': {
|
|
452
|
+
ptBR: string;
|
|
453
|
+
es: string;
|
|
454
|
+
};
|
|
455
|
+
'in_trip': {
|
|
456
|
+
ptBR: string;
|
|
457
|
+
es: string;
|
|
458
|
+
};
|
|
459
|
+
'in_maintenance': {
|
|
460
|
+
ptBR: string;
|
|
461
|
+
es: string;
|
|
462
|
+
};
|
|
463
|
+
'inactive': {
|
|
464
|
+
ptBR: string;
|
|
465
|
+
es: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
};
|
|
@@ -332,3 +332,27 @@ exports.messages = {
|
|
|
332
332
|
es: 'El número de vehículos contratados ya ha sido alcanzado, sólo es posible registrar vehículos no motorizados. Para adquirir más vehículos y controlar en el Sofit View, póngase en contacto con nuestro soporte vía e-mail <a href=\"mailto:{{email}}\">{{email}}</a>'
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
|
+
exports.enums = {
|
|
336
|
+
disponibility: {
|
|
337
|
+
'active': {
|
|
338
|
+
ptBR: 'Ativo',
|
|
339
|
+
es: 'Activo'
|
|
340
|
+
},
|
|
341
|
+
'available': {
|
|
342
|
+
ptBR: 'Disponível',
|
|
343
|
+
es: 'Disponible'
|
|
344
|
+
},
|
|
345
|
+
'in_trip': {
|
|
346
|
+
ptBR: 'Em viagem',
|
|
347
|
+
es: 'En viaje'
|
|
348
|
+
},
|
|
349
|
+
'in_maintenance': {
|
|
350
|
+
ptBR: 'Em manutenção',
|
|
351
|
+
es: 'En manutención'
|
|
352
|
+
},
|
|
353
|
+
'inactive': {
|
|
354
|
+
ptBR: 'Inativo',
|
|
355
|
+
es: 'Inactivo'
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
};
|
|
@@ -39,5 +39,9 @@ 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.'
|
|
42
46
|
}
|
|
43
47
|
};
|
|
@@ -438,4 +438,29 @@ export const messages = {
|
|
|
438
438
|
ptBR: 'O número de veículos contratados já foi atingido, só é possível cadastrar veículos não motorizados. Para adquirir mais veículos e controlar no Sofit View entre em contato com nosso suporte via e-mail <a href=\"mailto:{{email}}\">{{email}}</a>',
|
|
439
439
|
es: 'El número de vehículos contratados ya ha sido alcanzado, sólo es posible registrar vehículos no motorizados. Para adquirir más vehículos y controlar en el Sofit View, póngase en contacto con nuestro soporte vía e-mail <a href=\"mailto:{{email}}\">{{email}}</a>'
|
|
440
440
|
}
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export const enums = {
|
|
444
|
+
disponibility: {
|
|
445
|
+
'active': {
|
|
446
|
+
ptBR: 'Ativo',
|
|
447
|
+
es: 'Activo'
|
|
448
|
+
},
|
|
449
|
+
'available': {
|
|
450
|
+
ptBR: 'Disponível',
|
|
451
|
+
es: 'Disponible'
|
|
452
|
+
},
|
|
453
|
+
'in_trip': {
|
|
454
|
+
ptBR: 'Em viagem',
|
|
455
|
+
es: 'En viaje'
|
|
456
|
+
},
|
|
457
|
+
'in_maintenance': {
|
|
458
|
+
ptBR: 'Em manutenção',
|
|
459
|
+
es: 'En manutención'
|
|
460
|
+
},
|
|
461
|
+
'inactive': {
|
|
462
|
+
ptBR: 'Inativo',
|
|
463
|
+
es: 'Inactivo'
|
|
464
|
+
}
|
|
465
|
+
}
|
|
441
466
|
};
|
|
@@ -49,5 +49,9 @@ 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.'
|
|
52
56
|
}
|
|
53
57
|
};
|