@sofit/view-locale 1.74.0 → 1.75.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/common/database-errors.d.ts +4 -0
- package/dist/translations/common/database-errors.js +4 -0
- package/dist/translations/common/general.d.ts +6 -0
- package/dist/translations/common/general.js +6 -0
- package/dist/translations/modules/vehicle_change_history.d.ts +4 -0
- package/dist/translations/modules/vehicle_change_history.js +10 -6
- package/lib/translations/common/database-errors.ts +4 -0
- package/lib/translations/common/general.ts +7 -0
- package/lib/translations/modules/vehicle_change_history.ts +11 -6
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.
|
|
2
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-01-
|
|
3
|
-
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.811">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-01-21T12:21:29" time="1.991" tests="4">
|
|
3
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0
|
|
5
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
7
|
+
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
|
|
8
8
|
</testcase>
|
|
9
9
|
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-01-
|
|
13
|
-
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.
|
|
12
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-01-21T12:21:29" time="2.006" tests="4">
|
|
13
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.005">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
15
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
16
16
|
</testcase>
|
|
17
17
|
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
|
|
18
18
|
</testcase>
|
|
@@ -32,5 +32,9 @@ exports.databaseErrors = {
|
|
|
32
32
|
duplicate_registers: {
|
|
33
33
|
ptBR: 'Há mais de um registro com o valor {{value}} no campo {{column}} em {{table}}',
|
|
34
34
|
es: 'Hay más de un registro con el valor {{value}} en el campo {{column}} en {{table}}'
|
|
35
|
+
},
|
|
36
|
+
duplicate_registers_relation: {
|
|
37
|
+
ptBR: 'Há mais de um registro para o campo {{column}}.',
|
|
38
|
+
es: 'Hay más de un registro para el campo {{column}}.'
|
|
35
39
|
}
|
|
36
40
|
};
|
|
@@ -5,6 +5,10 @@ exports.name = {
|
|
|
5
5
|
ptBR: 'Histórico de Alterações do Veículo',
|
|
6
6
|
es: 'Historial de Cambios del Vehículo'
|
|
7
7
|
};
|
|
8
|
+
exports.status = {
|
|
9
|
+
ptBR: '(Vigente)',
|
|
10
|
+
es: '(En vigor)'
|
|
11
|
+
};
|
|
8
12
|
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { cost_center_id: {
|
|
9
13
|
ptBR: 'Centro de custo',
|
|
10
14
|
es: 'Centro de costo'
|
|
@@ -41,16 +45,16 @@ exports.messages = {
|
|
|
41
45
|
es: 'Para registros de tipo {{type}} se debe ingresar el campo {{field}}.'
|
|
42
46
|
},
|
|
43
47
|
must_have_date_lower_than_now: {
|
|
44
|
-
ptBR: '
|
|
45
|
-
es: '
|
|
48
|
+
ptBR: 'A data/hora de {{date}} deve ser menor ou igual à data/hora atual.',
|
|
49
|
+
es: 'La fecha/hora de {{date}} debe ser menor o igual que la fecha/hora actual.'
|
|
46
50
|
},
|
|
47
51
|
must_not_have_newerchange_history: {
|
|
48
|
-
ptBR: '
|
|
49
|
-
es: '
|
|
52
|
+
ptBR: 'Não é possível criar o histórico sem uma data/hora de término, pois o veículo possui históricos de alteração de {{type}} posteriores.',
|
|
53
|
+
es: 'No puede crear un historial sin una fecha/hora de finalización porque el vehículo tiene historiales de cambios de {{type}} posteriores.'
|
|
50
54
|
},
|
|
51
55
|
must_not_have_overlaping_change_history: {
|
|
52
|
-
ptBR: '
|
|
53
|
-
es: '
|
|
56
|
+
ptBR: 'Não é possível criar o histórico, pois o período informado conflita com um histórico de alteração de {{type}} do veículo já existente: <br> {{histories}}',
|
|
57
|
+
es: 'No se puede crear el historial porque el período ingresado entra en conflicto con un historial de cambio de {{type}} del vehículo existente: <br> {{histories}}'
|
|
54
58
|
},
|
|
55
59
|
must_have_end_date_after_start_date: {
|
|
56
60
|
ptBR: 'A data de fim deve ser maior que a data de início.',
|
|
@@ -30,5 +30,9 @@ export const databaseErrors = {
|
|
|
30
30
|
duplicate_registers: {
|
|
31
31
|
ptBR: 'Há mais de um registro com o valor {{value}} no campo {{column}} em {{table}}',
|
|
32
32
|
es: 'Hay más de un registro con el valor {{value}} en el campo {{column}} en {{table}}'
|
|
33
|
+
},
|
|
34
|
+
duplicate_registers_relation: {
|
|
35
|
+
ptBR: 'Há mais de um registro para o campo {{column}}.',
|
|
36
|
+
es: 'Hay más de un registro para el campo {{column}}.'
|
|
33
37
|
}
|
|
34
38
|
};
|
|
@@ -5,6 +5,11 @@ export const name = {
|
|
|
5
5
|
es: 'Historial de Cambios del Vehículo'
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
+
export const status = {
|
|
9
|
+
ptBR: '(Vigente)',
|
|
10
|
+
es: '(En vigor)'
|
|
11
|
+
};
|
|
12
|
+
|
|
8
13
|
export const fields = {
|
|
9
14
|
...ENTITY_COMMON,
|
|
10
15
|
cost_center_id: {
|
|
@@ -51,16 +56,16 @@ export const messages = {
|
|
|
51
56
|
es: 'Para registros de tipo {{type}} se debe ingresar el campo {{field}}.'
|
|
52
57
|
},
|
|
53
58
|
must_have_date_lower_than_now: {
|
|
54
|
-
ptBR: '
|
|
55
|
-
es: '
|
|
59
|
+
ptBR: 'A data/hora de {{date}} deve ser menor ou igual à data/hora atual.',
|
|
60
|
+
es: 'La fecha/hora de {{date}} debe ser menor o igual que la fecha/hora actual.'
|
|
56
61
|
},
|
|
57
62
|
must_not_have_newerchange_history: {
|
|
58
|
-
ptBR: '
|
|
59
|
-
es: '
|
|
63
|
+
ptBR: 'Não é possível criar o histórico sem uma data/hora de término, pois o veículo possui históricos de alteração de {{type}} posteriores.',
|
|
64
|
+
es: 'No puede crear un historial sin una fecha/hora de finalización porque el vehículo tiene historiales de cambios de {{type}} posteriores.'
|
|
60
65
|
},
|
|
61
66
|
must_not_have_overlaping_change_history: {
|
|
62
|
-
ptBR: '
|
|
63
|
-
es: '
|
|
67
|
+
ptBR: 'Não é possível criar o histórico, pois o período informado conflita com um histórico de alteração de {{type}} do veículo já existente: <br> {{histories}}',
|
|
68
|
+
es: 'No se puede crear el historial porque el período ingresado entra en conflicto con un historial de cambio de {{type}} del vehículo existente: <br> {{histories}}'
|
|
64
69
|
},
|
|
65
70
|
must_have_end_date_after_start_date: {
|
|
66
71
|
ptBR: 'A data de fim deve ser maior que a data de início.',
|