@sofit/view-locale 1.42.0 → 1.42.2
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 +5 -5
- package/dist/translations/modules/cost_center.d.ts +8 -4
- package/dist/translations/modules/cost_center.js +7 -0
- package/dist/translations/modules/vehicle_leasing.d.ts +0 -4
- package/dist/translations/modules/vehicle_leasing.js +0 -4
- package/lib/translations/modules/cost_center.ts +8 -0
- package/lib/translations/modules/vehicle_leasing.ts +0 -4
- package/package.json +1 -1
- package/readme.md +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
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="2019-06-
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.724">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-06-11T14:23:46" time="1.738" tests="4">
|
|
3
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
5
|
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
|
|
6
6
|
</testcase>
|
|
7
7
|
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
8
8
|
</testcase>
|
|
9
|
-
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
9
|
+
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-
|
|
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="2019-06-11T14:23:46" time="1.834" tests="4">
|
|
13
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
|
|
14
14
|
</testcase>
|
|
15
15
|
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
16
16
|
</testcase>
|
|
@@ -19,19 +19,19 @@ export declare const fields: {
|
|
|
19
19
|
ptBR: string;
|
|
20
20
|
es: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
external_id: {
|
|
23
23
|
ptBR: string;
|
|
24
24
|
es: string;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
responsible_id: {
|
|
27
27
|
ptBR: string;
|
|
28
28
|
es: string;
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
substitute_approvers: {
|
|
31
31
|
ptBR: string;
|
|
32
32
|
es: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
name: {
|
|
35
35
|
ptBR: string;
|
|
36
36
|
es: string;
|
|
37
37
|
};
|
|
@@ -49,4 +49,8 @@ export declare const messages: {
|
|
|
49
49
|
ptBR: string;
|
|
50
50
|
es: string;
|
|
51
51
|
};
|
|
52
|
+
must_not_exist_with_same_external_id: {
|
|
53
|
+
ptBR: string;
|
|
54
|
+
es: string;
|
|
55
|
+
};
|
|
52
56
|
};
|
|
@@ -17,6 +17,9 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { active: {
|
|
|
17
17
|
}, description: {
|
|
18
18
|
ptBR: 'Colaborador',
|
|
19
19
|
es: 'Colaborador'
|
|
20
|
+
}, external_id: {
|
|
21
|
+
ptBR: 'Chave externa',
|
|
22
|
+
es: 'Clave externa'
|
|
20
23
|
}, responsible_id: {
|
|
21
24
|
ptBR: 'Descrição',
|
|
22
25
|
es: 'Descrición'
|
|
@@ -32,5 +35,9 @@ exports.messages = {
|
|
|
32
35
|
cost_center_must_be_active: {
|
|
33
36
|
ptBR: 'Centro de custo deve estar ativo',
|
|
34
37
|
es: 'Centro de coste deve estar ativo'
|
|
38
|
+
},
|
|
39
|
+
must_not_exist_with_same_external_id: {
|
|
40
|
+
ptBR: 'Já existe um centro de custo com a chave externa informada: {{costCenter}}.',
|
|
41
|
+
es: 'Ya existe un centro de coste con la clave externa informada: {{costCenter}}.'
|
|
35
42
|
}
|
|
36
43
|
};
|
|
@@ -43,9 +43,5 @@ exports.messages = {
|
|
|
43
43
|
lease_start_date_must_be_lower_then_devolution_date: {
|
|
44
44
|
ptBR: 'A data de ínício da locação deve ser menor que a data devolução.',
|
|
45
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}}).'
|
|
50
46
|
}
|
|
51
47
|
};
|
|
@@ -23,6 +23,10 @@ export const fields = {
|
|
|
23
23
|
ptBR: 'Colaborador',
|
|
24
24
|
es: 'Colaborador'
|
|
25
25
|
},
|
|
26
|
+
external_id: {
|
|
27
|
+
ptBR: 'Chave externa',
|
|
28
|
+
es: 'Clave externa'
|
|
29
|
+
},
|
|
26
30
|
responsible_id: {
|
|
27
31
|
ptBR: 'Descrição',
|
|
28
32
|
es: 'Descrición'
|
|
@@ -41,5 +45,9 @@ export const messages = {
|
|
|
41
45
|
cost_center_must_be_active: {
|
|
42
46
|
ptBR: 'Centro de custo deve estar ativo',
|
|
43
47
|
es: 'Centro de coste deve estar ativo'
|
|
48
|
+
},
|
|
49
|
+
must_not_exist_with_same_external_id: {
|
|
50
|
+
ptBR: 'Já existe um centro de custo com a chave externa informada: {{costCenter}}.',
|
|
51
|
+
es: 'Ya existe un centro de coste con la clave externa informada: {{costCenter}}.'
|
|
44
52
|
}
|
|
45
53
|
};
|
|
@@ -53,9 +53,5 @@ export const messages = {
|
|
|
53
53
|
lease_start_date_must_be_lower_then_devolution_date: {
|
|
54
54
|
ptBR: 'A data de ínício da locação deve ser menor que a data devolução.',
|
|
55
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}}).'
|
|
60
56
|
}
|
|
61
57
|
};
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @sofit/view-
|
|
1
|
+
# @sofit/sofit-view-locale
|
|
2
2
|
|
|
3
|
-
Tradução do sofit view
|
|
3
|
+
Tradução do sofit view
|