@sofit/view-locale 1.78.0 → 1.80.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.
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="
|
|
2
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="4.825">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-03-17T13:07:01" time="3.881" tests="4">
|
|
3
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">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-
|
|
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-17T13:07:02" time="3.883" 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="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0
|
|
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
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.001">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -39,6 +39,10 @@ export declare const fields: {
|
|
|
39
39
|
ptBR: string;
|
|
40
40
|
es: string;
|
|
41
41
|
};
|
|
42
|
+
external_relation: {
|
|
43
|
+
ptBR: string;
|
|
44
|
+
es: string;
|
|
45
|
+
};
|
|
42
46
|
external_id: {
|
|
43
47
|
ptBR: string;
|
|
44
48
|
es: string;
|
|
@@ -57,10 +61,6 @@ export declare const messages: {
|
|
|
57
61
|
ptBR: string;
|
|
58
62
|
es: string;
|
|
59
63
|
};
|
|
60
|
-
must_have_field: {
|
|
61
|
-
ptBR: string;
|
|
62
|
-
es: string;
|
|
63
|
-
};
|
|
64
64
|
must_have_date_lower_than_now: {
|
|
65
65
|
ptBR: string;
|
|
66
66
|
es: string;
|
|
@@ -77,6 +77,10 @@ export declare const messages: {
|
|
|
77
77
|
ptBR: string;
|
|
78
78
|
es: string;
|
|
79
79
|
};
|
|
80
|
+
must_not_change_field_value: {
|
|
81
|
+
ptBR: string;
|
|
82
|
+
es: string;
|
|
83
|
+
};
|
|
80
84
|
};
|
|
81
85
|
export declare const enums: {
|
|
82
86
|
type: {
|
|
@@ -30,6 +30,12 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { cost_center_id: {
|
|
|
30
30
|
}, vehicle_id: {
|
|
31
31
|
ptBR: 'Veículo',
|
|
32
32
|
es: 'Vehículo'
|
|
33
|
+
}, name: {
|
|
34
|
+
ptBR: 'Nome',
|
|
35
|
+
es: 'Nombre'
|
|
36
|
+
}, external_relation: {
|
|
37
|
+
ptBR: 'Relação externa',
|
|
38
|
+
es: 'Interfaz externa'
|
|
33
39
|
} });
|
|
34
40
|
exports.messages = {
|
|
35
41
|
id_dont_match_type: {
|
|
@@ -40,10 +46,6 @@ exports.messages = {
|
|
|
40
46
|
ptBR: 'O colaborador foi demitido no dia {{demission_date}}.',
|
|
41
47
|
es: 'El colaborador fue despedido el {{demission_date}}.'
|
|
42
48
|
},
|
|
43
|
-
must_have_field: {
|
|
44
|
-
ptBR: 'Para registros do tipo {{type}} o campo {{field}} deve ser informado.',
|
|
45
|
-
es: 'Para registros de tipo {{type}} se debe ingresar el campo {{field}}.'
|
|
46
|
-
},
|
|
47
49
|
must_have_date_lower_than_now: {
|
|
48
50
|
ptBR: 'A data/hora de {{date}} deve ser menor ou igual à data/hora atual.',
|
|
49
51
|
es: 'La fecha/hora de {{date}} debe ser menor o igual que la fecha/hora actual.'
|
|
@@ -59,6 +61,10 @@ exports.messages = {
|
|
|
59
61
|
must_have_end_date_after_start_date: {
|
|
60
62
|
ptBR: 'A data de fim deve ser maior que a data de início.',
|
|
61
63
|
es: 'La fecha de finalización debe ser mayor que la fecha de inicio.'
|
|
64
|
+
},
|
|
65
|
+
must_not_change_field_value: {
|
|
66
|
+
ptBR: 'Não é possível alterar o {{field}} do histórico.',
|
|
67
|
+
es: 'No se puede cambiar el {{field}} del historial.'
|
|
62
68
|
}
|
|
63
69
|
};
|
|
64
70
|
exports.enums = {
|
|
@@ -39,6 +39,14 @@ export const fields = {
|
|
|
39
39
|
vehicle_id: {
|
|
40
40
|
ptBR: 'Veículo',
|
|
41
41
|
es: 'Vehículo'
|
|
42
|
+
},
|
|
43
|
+
name: {
|
|
44
|
+
ptBR: 'Nome',
|
|
45
|
+
es: 'Nombre'
|
|
46
|
+
},
|
|
47
|
+
external_relation: {
|
|
48
|
+
ptBR: 'Relação externa',
|
|
49
|
+
es: 'Interfaz externa'
|
|
42
50
|
}
|
|
43
51
|
};
|
|
44
52
|
|
|
@@ -51,10 +59,6 @@ export const messages = {
|
|
|
51
59
|
ptBR: 'O colaborador foi demitido no dia {{demission_date}}.',
|
|
52
60
|
es: 'El colaborador fue despedido el {{demission_date}}.'
|
|
53
61
|
},
|
|
54
|
-
must_have_field: {
|
|
55
|
-
ptBR: 'Para registros do tipo {{type}} o campo {{field}} deve ser informado.',
|
|
56
|
-
es: 'Para registros de tipo {{type}} se debe ingresar el campo {{field}}.'
|
|
57
|
-
},
|
|
58
62
|
must_have_date_lower_than_now: {
|
|
59
63
|
ptBR: 'A data/hora de {{date}} deve ser menor ou igual à data/hora atual.',
|
|
60
64
|
es: 'La fecha/hora de {{date}} debe ser menor o igual que la fecha/hora actual.'
|
|
@@ -70,6 +74,10 @@ export const messages = {
|
|
|
70
74
|
must_have_end_date_after_start_date: {
|
|
71
75
|
ptBR: 'A data de fim deve ser maior que a data de início.',
|
|
72
76
|
es: 'La fecha de finalización debe ser mayor que la fecha de inicio.'
|
|
77
|
+
},
|
|
78
|
+
must_not_change_field_value: {
|
|
79
|
+
ptBR: 'Não é possível alterar o {{field}} do histórico.',
|
|
80
|
+
es: 'No se puede cambiar el {{field}} del historial.'
|
|
73
81
|
}
|
|
74
82
|
};
|
|
75
83
|
|