@sofit/view-locale 1.17.2 → 1.18.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/index.d.ts +4 -1
- package/dist/translations/index.js +6 -0
- package/dist/translations/modules/foreseen_maintenance_plan_service_item.d.ts +68 -0
- package/dist/translations/modules/foreseen_maintenance_plan_service_item.js +55 -0
- package/dist/translations/modules/maintenance_plan.d.ts +40 -0
- package/dist/translations/modules/maintenance_plan.js +30 -0
- package/dist/translations/modules/maintenance_plan_service.d.ts +100 -0
- package/dist/translations/modules/maintenance_plan_service.js +79 -0
- package/lib/translations/index.ts +6 -0
- package/lib/translations/modules/foreseen_maintenance_plan_service_item.ts +65 -0
- package/lib/translations/modules/maintenance_plan.ts +37 -0
- package/lib/translations/modules/maintenance_plan_service.ts +97 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.
|
|
2
|
-
<testsuite name="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.833">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-12-19T17:24:29" time="1.16" 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="
|
|
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
|
-
<testcase classname="
|
|
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="
|
|
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="
|
|
13
|
-
<testcase classname="
|
|
12
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-12-19T17:24:29" time="1.161" tests="4">
|
|
13
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="
|
|
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
|
-
<testcase classname="
|
|
17
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
18
18
|
</testcase>
|
|
19
|
-
<testcase classname="
|
|
19
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -5,7 +5,10 @@ import * as cost_center from './modules/cost_center';
|
|
|
5
5
|
import * as customer from './modules/customer';
|
|
6
6
|
import * as employee_role from './modules/employee_role';
|
|
7
7
|
import * as fine_resource from './modules/fine_resource';
|
|
8
|
+
import * as foreseen_maintenance_plan_service_item from './modules/foreseen_maintenance_plan_service_item';
|
|
8
9
|
import * as gate from './modules/gate';
|
|
10
|
+
import * as maintenance_plan from './modules/maintenance_plan';
|
|
11
|
+
import * as maintenance_plan_service from './modules/maintenance_plan_service';
|
|
9
12
|
import * as measurement_unit from './modules/measurement_unit';
|
|
10
13
|
import * as qualification_severity from './modules/qualification_severity';
|
|
11
14
|
import * as release_notification from './modules/release_notification';
|
|
@@ -22,4 +25,4 @@ import * as vehicle_layout from './modules/vehicle_layout';
|
|
|
22
25
|
import * as warehouse from './modules/warehouse';
|
|
23
26
|
export { joi } from './common/joi';
|
|
24
27
|
export { databaseErrors } from './common/database-errors';
|
|
25
|
-
export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, gate, measurement_unit, qualification_severity, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, warehouse };
|
|
28
|
+
export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, foreseen_maintenance_plan_service_item, gate, maintenance_plan, maintenance_plan_service, measurement_unit, qualification_severity, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, warehouse };
|
|
@@ -21,8 +21,14 @@ const employee_role = __importStar(require("./modules/employee_role"));
|
|
|
21
21
|
exports.employee_role = employee_role;
|
|
22
22
|
const fine_resource = __importStar(require("./modules/fine_resource"));
|
|
23
23
|
exports.fine_resource = fine_resource;
|
|
24
|
+
const foreseen_maintenance_plan_service_item = __importStar(require("./modules/foreseen_maintenance_plan_service_item"));
|
|
25
|
+
exports.foreseen_maintenance_plan_service_item = foreseen_maintenance_plan_service_item;
|
|
24
26
|
const gate = __importStar(require("./modules/gate"));
|
|
25
27
|
exports.gate = gate;
|
|
28
|
+
const maintenance_plan = __importStar(require("./modules/maintenance_plan"));
|
|
29
|
+
exports.maintenance_plan = maintenance_plan;
|
|
30
|
+
const maintenance_plan_service = __importStar(require("./modules/maintenance_plan_service"));
|
|
31
|
+
exports.maintenance_plan_service = maintenance_plan_service;
|
|
26
32
|
const measurement_unit = __importStar(require("./modules/measurement_unit"));
|
|
27
33
|
exports.measurement_unit = measurement_unit;
|
|
28
34
|
const qualification_severity = __importStar(require("./modules/qualification_severity"));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
created_by_sofit: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
in_revision: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
equivalent_record_id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
app_id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
item_id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
maint_plan_service_id: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
quantity: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
name: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
external_id: {
|
|
39
|
+
ptBR: string;
|
|
40
|
+
es: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const messages: {
|
|
44
|
+
item_not_found: {
|
|
45
|
+
ptBR: string;
|
|
46
|
+
es: string;
|
|
47
|
+
};
|
|
48
|
+
item_active: {
|
|
49
|
+
ptBR: string;
|
|
50
|
+
es: string;
|
|
51
|
+
};
|
|
52
|
+
foreseen_service_item_not_informed: {
|
|
53
|
+
ptBR: string;
|
|
54
|
+
es: string;
|
|
55
|
+
};
|
|
56
|
+
foreseen_service_quantity_not_informed: {
|
|
57
|
+
ptBR: string;
|
|
58
|
+
es: string;
|
|
59
|
+
};
|
|
60
|
+
same_service_item_id: {
|
|
61
|
+
ptBR: string;
|
|
62
|
+
es: string;
|
|
63
|
+
};
|
|
64
|
+
replicated_foreseen_service_item: {
|
|
65
|
+
ptBR: string;
|
|
66
|
+
es: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Item/serviço previsto do serviço do plano de manutenção',
|
|
6
|
+
es: 'Iten/servicio previsto del servicio del plan de mantenimiento'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { created_by_sofit: {
|
|
9
|
+
ptBR: 'Criado pela Sofit',
|
|
10
|
+
es: 'Creado por Sofit'
|
|
11
|
+
}, in_revision: {
|
|
12
|
+
ptBR: 'Em revisão',
|
|
13
|
+
es: 'En revisión'
|
|
14
|
+
}, equivalent_record_id: {
|
|
15
|
+
ptBR: 'Registro equivalente',
|
|
16
|
+
es: 'Registro equivalente'
|
|
17
|
+
}, app_id: {
|
|
18
|
+
ptBR: 'Chave do Aplicativo',
|
|
19
|
+
es: 'Clave del Aplicativo'
|
|
20
|
+
}, item_id: {
|
|
21
|
+
ptBR: 'Item',
|
|
22
|
+
es: 'Iten'
|
|
23
|
+
}, maint_plan_service_id: {
|
|
24
|
+
ptBR: 'Serviço do Plano de Manutenção',
|
|
25
|
+
es: 'Servicio do Plan de Mantenimiento'
|
|
26
|
+
}, quantity: {
|
|
27
|
+
ptBR: 'Quantidade',
|
|
28
|
+
es: 'Cantidad'
|
|
29
|
+
} });
|
|
30
|
+
exports.messages = {
|
|
31
|
+
item_not_found: {
|
|
32
|
+
ptBR: 'O item {{resource}} não foi encontrado.',
|
|
33
|
+
es: 'El iten {{resource}} No se ha encontrado.'
|
|
34
|
+
},
|
|
35
|
+
item_active: {
|
|
36
|
+
ptBR: 'O item {{resource}} deve estar ativo.',
|
|
37
|
+
es: 'El Iten previsto {{resource}} debe estar activo.'
|
|
38
|
+
},
|
|
39
|
+
foreseen_service_item_not_informed: {
|
|
40
|
+
ptBR: 'Existem itens previstos sem item informado.',
|
|
41
|
+
es: 'Hay itens previstos sin elemento informado.'
|
|
42
|
+
},
|
|
43
|
+
foreseen_service_quantity_not_informed: {
|
|
44
|
+
ptBR: 'Existem itens previstos sem a quantidade informada.',
|
|
45
|
+
es: 'Existem itens previstos sem a quantidade informada.'
|
|
46
|
+
},
|
|
47
|
+
same_service_item_id: {
|
|
48
|
+
ptBR: 'Existem itens previstos com o mesmo item associado ao serviço do plano de manutenção.',
|
|
49
|
+
es: 'Existen itens previstos con el mismo elemento asociado al servicio del plan de mantenimiento.'
|
|
50
|
+
},
|
|
51
|
+
replicated_foreseen_service_item: {
|
|
52
|
+
ptBR: 'O item {{resource}} está duplicado.',
|
|
53
|
+
es: 'El iren previsto {{resource}} está duplicado.'
|
|
54
|
+
}
|
|
55
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
created_by_sofit: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
in_revision: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
equivalent_record_id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
app_id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
name: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
external_id: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const messages: {
|
|
32
|
+
only_service_labor: {
|
|
33
|
+
ptBR: string;
|
|
34
|
+
es: string;
|
|
35
|
+
};
|
|
36
|
+
cant_change_info: {
|
|
37
|
+
ptBR: string;
|
|
38
|
+
es: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Plano de Manutenção',
|
|
6
|
+
es: 'Plan de Mantenimiento'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { created_by_sofit: {
|
|
9
|
+
ptBR: 'Criado pela Sofit',
|
|
10
|
+
es: 'Creado por Sofit'
|
|
11
|
+
}, in_revision: {
|
|
12
|
+
ptBR: 'Em revisão',
|
|
13
|
+
es: 'En revisión'
|
|
14
|
+
}, equivalent_record_id: {
|
|
15
|
+
ptBR: 'Registro equivalente',
|
|
16
|
+
es: 'Registro equivalente'
|
|
17
|
+
}, app_id: {
|
|
18
|
+
ptBR: 'Chave do Aplicativo',
|
|
19
|
+
es: 'Clave del Aplicativo'
|
|
20
|
+
} });
|
|
21
|
+
exports.messages = {
|
|
22
|
+
only_service_labor: {
|
|
23
|
+
ptBR: 'Somente itens do tipo Mão de Obra/Serviço devem ser adicionados no plano de manutenção.',
|
|
24
|
+
es: 'Sólo los elementos del tipo Mano de Obra/Servicio no son planes de mantenimiento.'
|
|
25
|
+
},
|
|
26
|
+
cant_change_info: {
|
|
27
|
+
ptBR: 'As informações do plano de manutenção não podem ser alteradas, pois ele está relacionado ao plano do veículo: {{resource}}.',
|
|
28
|
+
es: 'La información del plan de mantenimiento no puede ser alterada, ya que está relacionada con el plano del vehículo: {{resource}}.'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
antecipation_days: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
created_by_sofit: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
antecipation_utilization: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
foreseen_hours: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
instruction: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
maintenance_plan_id: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
measurement_unit: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
period_days: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
period_usage: {
|
|
39
|
+
ptBR: string;
|
|
40
|
+
es: string;
|
|
41
|
+
};
|
|
42
|
+
service_id: {
|
|
43
|
+
ptBR: string;
|
|
44
|
+
es: string;
|
|
45
|
+
};
|
|
46
|
+
sf_service_description: {
|
|
47
|
+
ptBR: string;
|
|
48
|
+
es: string;
|
|
49
|
+
};
|
|
50
|
+
status: {
|
|
51
|
+
ptBR: string;
|
|
52
|
+
es: string;
|
|
53
|
+
};
|
|
54
|
+
in_revision: {
|
|
55
|
+
ptBR: string;
|
|
56
|
+
es: string;
|
|
57
|
+
};
|
|
58
|
+
equivalent_record_id: {
|
|
59
|
+
ptBR: string;
|
|
60
|
+
es: string;
|
|
61
|
+
};
|
|
62
|
+
app_id: {
|
|
63
|
+
ptBR: string;
|
|
64
|
+
es: string;
|
|
65
|
+
};
|
|
66
|
+
name: {
|
|
67
|
+
ptBR: string;
|
|
68
|
+
es: string;
|
|
69
|
+
};
|
|
70
|
+
external_id: {
|
|
71
|
+
ptBR: string;
|
|
72
|
+
es: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export declare const messages: {
|
|
76
|
+
replicated_service: {
|
|
77
|
+
ptBR: string;
|
|
78
|
+
es: string;
|
|
79
|
+
};
|
|
80
|
+
blank_period_days_usage: {
|
|
81
|
+
ptBR: string;
|
|
82
|
+
es: string;
|
|
83
|
+
};
|
|
84
|
+
antecipation_days_lt_period_days: {
|
|
85
|
+
ptBR: string;
|
|
86
|
+
es: string;
|
|
87
|
+
};
|
|
88
|
+
antecipation_utilization_lt_period_usage: {
|
|
89
|
+
ptBR: string;
|
|
90
|
+
es: string;
|
|
91
|
+
};
|
|
92
|
+
inactive_service: {
|
|
93
|
+
ptBR: string;
|
|
94
|
+
es: string;
|
|
95
|
+
};
|
|
96
|
+
inactivated_service: {
|
|
97
|
+
ptBR: string;
|
|
98
|
+
es: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Serviço do Plano de Manutenção',
|
|
6
|
+
es: 'Servicio del plan de mantenimiento'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { antecipation_days: {
|
|
9
|
+
ptBR: 'Antecipação por dias',
|
|
10
|
+
es: 'Antecipación por dias'
|
|
11
|
+
}, created_by_sofit: {
|
|
12
|
+
ptBR: 'Criado pela Sofit',
|
|
13
|
+
es: 'Creado por Sofit'
|
|
14
|
+
}, antecipation_utilization: {
|
|
15
|
+
ptBR: 'Antecipação por utilização',
|
|
16
|
+
es: 'Antecipación por utilización'
|
|
17
|
+
}, foreseen_hours: {
|
|
18
|
+
ptBR: 'Horas previstas',
|
|
19
|
+
es: 'Horas previstas'
|
|
20
|
+
}, instruction: {
|
|
21
|
+
ptBR: 'Instrução',
|
|
22
|
+
es: 'Instrución'
|
|
23
|
+
}, maintenance_plan_id: {
|
|
24
|
+
ptBR: 'Plan de Mantenimiento',
|
|
25
|
+
es: 'Plano de manutenção'
|
|
26
|
+
}, measurement_unit: {
|
|
27
|
+
ptBR: 'Unidade de Controle',
|
|
28
|
+
es: 'Unidad de control'
|
|
29
|
+
}, period_days: {
|
|
30
|
+
ptBR: 'Freq. por dias',
|
|
31
|
+
es: 'Freq. por días'
|
|
32
|
+
}, period_usage: {
|
|
33
|
+
ptBR: 'Freq. por utilização',
|
|
34
|
+
es: 'Freq. por utilizaciónção'
|
|
35
|
+
}, service_id: {
|
|
36
|
+
ptBR: 'Serviço',
|
|
37
|
+
es: 'Servicio'
|
|
38
|
+
}, sf_service_description: {
|
|
39
|
+
ptBR: 'Descrição do serviço no Salesforce',
|
|
40
|
+
es: 'Descripción del servicio en Salesforce'
|
|
41
|
+
}, status: {
|
|
42
|
+
ptBR: 'Situação',
|
|
43
|
+
es: 'Situación'
|
|
44
|
+
}, in_revision: {
|
|
45
|
+
ptBR: 'Em revisão',
|
|
46
|
+
es: 'En revisión'
|
|
47
|
+
}, equivalent_record_id: {
|
|
48
|
+
ptBR: 'Registro equivalente',
|
|
49
|
+
es: 'Registro equivalente'
|
|
50
|
+
}, app_id: {
|
|
51
|
+
ptBR: 'Chave do Aplicativo',
|
|
52
|
+
es: 'Clave del Aplicativo'
|
|
53
|
+
} });
|
|
54
|
+
exports.messages = {
|
|
55
|
+
replicated_service: {
|
|
56
|
+
ptBR: 'O serviço {{resource}} está duplicado.',
|
|
57
|
+
es: 'El servicio {{resource}} está duplicado.'
|
|
58
|
+
},
|
|
59
|
+
blank_period_days_usage: {
|
|
60
|
+
ptBR: 'Frequência em dias e/ou por utilização deve ser informada.',
|
|
61
|
+
es: 'La frecuencia en días y / o por uso debe ser informada.'
|
|
62
|
+
},
|
|
63
|
+
antecipation_days_lt_period_days: {
|
|
64
|
+
ptBR: 'Antecipação por dias deve ser menor que a frequência por dias.',
|
|
65
|
+
es: 'La anticipación por días debe ser menor que la frecuencia por días.'
|
|
66
|
+
},
|
|
67
|
+
antecipation_utilization_lt_period_usage: {
|
|
68
|
+
ptBR: 'Antecipação por utilização deve ser menor que a frequência por utilização.',
|
|
69
|
+
es: 'La anticipación por uso debe ser menor que la frecuencia por utilización.'
|
|
70
|
+
},
|
|
71
|
+
inactive_service: {
|
|
72
|
+
ptBR: 'O serviço {{resource}} está inativo.',
|
|
73
|
+
es: 'El servicio {{resource}} está inactivo.'
|
|
74
|
+
},
|
|
75
|
+
inactivated_service: {
|
|
76
|
+
ptBR: 'O serviço {{resource}} foi inativado, não é possível torná-lo ativo.',
|
|
77
|
+
es: 'No se ha activado el servicio {{resource}}, no se puede activar.'
|
|
78
|
+
}
|
|
79
|
+
};
|
|
@@ -5,7 +5,10 @@ import * as cost_center from './modules/cost_center';
|
|
|
5
5
|
import * as customer from './modules/customer';
|
|
6
6
|
import * as employee_role from './modules/employee_role';
|
|
7
7
|
import * as fine_resource from './modules/fine_resource';
|
|
8
|
+
import * as foreseen_maintenance_plan_service_item from './modules/foreseen_maintenance_plan_service_item';
|
|
8
9
|
import * as gate from './modules/gate';
|
|
10
|
+
import * as maintenance_plan from './modules/maintenance_plan';
|
|
11
|
+
import * as maintenance_plan_service from './modules/maintenance_plan_service';
|
|
9
12
|
import * as measurement_unit from './modules/measurement_unit';
|
|
10
13
|
import * as qualification_severity from './modules/qualification_severity';
|
|
11
14
|
import * as release_notification from './modules/release_notification';
|
|
@@ -32,7 +35,10 @@ export {
|
|
|
32
35
|
customer,
|
|
33
36
|
employee_role,
|
|
34
37
|
fine_resource,
|
|
38
|
+
foreseen_maintenance_plan_service_item,
|
|
35
39
|
gate,
|
|
40
|
+
maintenance_plan,
|
|
41
|
+
maintenance_plan_service,
|
|
36
42
|
measurement_unit,
|
|
37
43
|
qualification_severity,
|
|
38
44
|
release_notification,
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Item/serviço previsto do serviço do plano de manutenção',
|
|
5
|
+
es: 'Iten/servicio previsto del servicio del plan de mantenimiento'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
created_by_sofit: {
|
|
11
|
+
ptBR: 'Criado pela Sofit',
|
|
12
|
+
es: 'Creado por Sofit'
|
|
13
|
+
},
|
|
14
|
+
in_revision: {
|
|
15
|
+
ptBR: 'Em revisão',
|
|
16
|
+
es: 'En revisión'
|
|
17
|
+
},
|
|
18
|
+
equivalent_record_id: {
|
|
19
|
+
ptBR: 'Registro equivalente',
|
|
20
|
+
es: 'Registro equivalente'
|
|
21
|
+
},
|
|
22
|
+
app_id: {
|
|
23
|
+
ptBR: 'Chave do Aplicativo',
|
|
24
|
+
es: 'Clave del Aplicativo'
|
|
25
|
+
},
|
|
26
|
+
item_id: {
|
|
27
|
+
ptBR: 'Item',
|
|
28
|
+
es: 'Iten'
|
|
29
|
+
},
|
|
30
|
+
maint_plan_service_id: {
|
|
31
|
+
ptBR: 'Serviço do Plano de Manutenção',
|
|
32
|
+
es: 'Servicio do Plan de Mantenimiento'
|
|
33
|
+
},
|
|
34
|
+
quantity: {
|
|
35
|
+
ptBR: 'Quantidade',
|
|
36
|
+
es: 'Cantidad'
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const messages = {
|
|
41
|
+
item_not_found: {
|
|
42
|
+
ptBR: 'O item {{resource}} não foi encontrado.',
|
|
43
|
+
es: 'El iten {{resource}} No se ha encontrado.'
|
|
44
|
+
},
|
|
45
|
+
item_active: {
|
|
46
|
+
ptBR: 'O item {{resource}} deve estar ativo.',
|
|
47
|
+
es: 'El Iten previsto {{resource}} debe estar activo.'
|
|
48
|
+
},
|
|
49
|
+
foreseen_service_item_not_informed: {
|
|
50
|
+
ptBR: 'Existem itens previstos sem item informado.',
|
|
51
|
+
es: 'Hay itens previstos sin elemento informado.'
|
|
52
|
+
},
|
|
53
|
+
foreseen_service_quantity_not_informed: {
|
|
54
|
+
ptBR: 'Existem itens previstos sem a quantidade informada.',
|
|
55
|
+
es: 'Existem itens previstos sem a quantidade informada.'
|
|
56
|
+
},
|
|
57
|
+
same_service_item_id: {
|
|
58
|
+
ptBR: 'Existem itens previstos com o mesmo item associado ao serviço do plano de manutenção.',
|
|
59
|
+
es: 'Existen itens previstos con el mismo elemento asociado al servicio del plan de mantenimiento.'
|
|
60
|
+
},
|
|
61
|
+
replicated_foreseen_service_item: {
|
|
62
|
+
ptBR: 'O item {{resource}} está duplicado.',
|
|
63
|
+
es: 'El iren previsto {{resource}} está duplicado.'
|
|
64
|
+
}
|
|
65
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Plano de Manutenção',
|
|
5
|
+
es: 'Plan de Mantenimiento'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
created_by_sofit: {
|
|
11
|
+
ptBR: 'Criado pela Sofit',
|
|
12
|
+
es: 'Creado por Sofit'
|
|
13
|
+
},
|
|
14
|
+
in_revision: {
|
|
15
|
+
ptBR: 'Em revisão',
|
|
16
|
+
es: 'En revisión'
|
|
17
|
+
},
|
|
18
|
+
equivalent_record_id: {
|
|
19
|
+
ptBR: 'Registro equivalente',
|
|
20
|
+
es: 'Registro equivalente'
|
|
21
|
+
},
|
|
22
|
+
app_id: {
|
|
23
|
+
ptBR: 'Chave do Aplicativo',
|
|
24
|
+
es: 'Clave del Aplicativo'
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const messages = {
|
|
29
|
+
only_service_labor: {
|
|
30
|
+
ptBR: 'Somente itens do tipo Mão de Obra/Serviço devem ser adicionados no plano de manutenção.',
|
|
31
|
+
es: 'Sólo los elementos del tipo Mano de Obra/Servicio no son planes de mantenimiento.'
|
|
32
|
+
},
|
|
33
|
+
cant_change_info: {
|
|
34
|
+
ptBR: 'As informações do plano de manutenção não podem ser alteradas, pois ele está relacionado ao plano do veículo: {{resource}}.',
|
|
35
|
+
es: 'La información del plan de mantenimiento no puede ser alterada, ya que está relacionada con el plano del vehículo: {{resource}}.'
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Serviço do Plano de Manutenção',
|
|
5
|
+
es: 'Servicio del plan de mantenimiento'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
antecipation_days: {
|
|
11
|
+
ptBR: 'Antecipação por dias',
|
|
12
|
+
es: 'Antecipación por dias'
|
|
13
|
+
},
|
|
14
|
+
created_by_sofit: {
|
|
15
|
+
ptBR: 'Criado pela Sofit',
|
|
16
|
+
es: 'Creado por Sofit'
|
|
17
|
+
},
|
|
18
|
+
antecipation_utilization: {
|
|
19
|
+
ptBR: 'Antecipação por utilização',
|
|
20
|
+
es: 'Antecipación por utilización'
|
|
21
|
+
},
|
|
22
|
+
foreseen_hours: {
|
|
23
|
+
ptBR: 'Horas previstas',
|
|
24
|
+
es: 'Horas previstas'
|
|
25
|
+
},
|
|
26
|
+
instruction: {
|
|
27
|
+
ptBR: 'Instrução',
|
|
28
|
+
es: 'Instrución'
|
|
29
|
+
},
|
|
30
|
+
maintenance_plan_id: {
|
|
31
|
+
ptBR: 'Plan de Mantenimiento',
|
|
32
|
+
es: 'Plano de manutenção'
|
|
33
|
+
},
|
|
34
|
+
measurement_unit: {
|
|
35
|
+
ptBR: 'Unidade de Controle',
|
|
36
|
+
es: 'Unidad de control'
|
|
37
|
+
},
|
|
38
|
+
period_days: {
|
|
39
|
+
ptBR: 'Freq. por dias',
|
|
40
|
+
es: 'Freq. por días'
|
|
41
|
+
},
|
|
42
|
+
period_usage: {
|
|
43
|
+
ptBR: 'Freq. por utilização',
|
|
44
|
+
es: 'Freq. por utilizaciónção'
|
|
45
|
+
},
|
|
46
|
+
service_id: {
|
|
47
|
+
ptBR: 'Serviço',
|
|
48
|
+
es: 'Servicio'
|
|
49
|
+
},
|
|
50
|
+
sf_service_description: {
|
|
51
|
+
ptBR: 'Descrição do serviço no Salesforce',
|
|
52
|
+
es: 'Descripción del servicio en Salesforce'
|
|
53
|
+
},
|
|
54
|
+
status: {
|
|
55
|
+
ptBR: 'Situação',
|
|
56
|
+
es: 'Situación'
|
|
57
|
+
},
|
|
58
|
+
in_revision: {
|
|
59
|
+
ptBR: 'Em revisão',
|
|
60
|
+
es: 'En revisión'
|
|
61
|
+
},
|
|
62
|
+
equivalent_record_id: {
|
|
63
|
+
ptBR: 'Registro equivalente',
|
|
64
|
+
es: 'Registro equivalente'
|
|
65
|
+
},
|
|
66
|
+
app_id: {
|
|
67
|
+
ptBR: 'Chave do Aplicativo',
|
|
68
|
+
es: 'Clave del Aplicativo'
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const messages = {
|
|
73
|
+
replicated_service: {
|
|
74
|
+
ptBR: 'O serviço {{resource}} está duplicado.',
|
|
75
|
+
es: 'El servicio {{resource}} está duplicado.'
|
|
76
|
+
},
|
|
77
|
+
blank_period_days_usage: {
|
|
78
|
+
ptBR: 'Frequência em dias e/ou por utilização deve ser informada.',
|
|
79
|
+
es: 'La frecuencia en días y / o por uso debe ser informada.'
|
|
80
|
+
},
|
|
81
|
+
antecipation_days_lt_period_days: {
|
|
82
|
+
ptBR: 'Antecipação por dias deve ser menor que a frequência por dias.',
|
|
83
|
+
es: 'La anticipación por días debe ser menor que la frecuencia por días.'
|
|
84
|
+
},
|
|
85
|
+
antecipation_utilization_lt_period_usage: {
|
|
86
|
+
ptBR: 'Antecipação por utilização deve ser menor que a frequência por utilização.',
|
|
87
|
+
es: 'La anticipación por uso debe ser menor que la frecuencia por utilización.'
|
|
88
|
+
},
|
|
89
|
+
inactive_service: {
|
|
90
|
+
ptBR: 'O serviço {{resource}} está inativo.',
|
|
91
|
+
es: 'El servicio {{resource}} está inactivo.'
|
|
92
|
+
},
|
|
93
|
+
inactivated_service: {
|
|
94
|
+
ptBR: 'O serviço {{resource}} foi inativado, não é possível torná-lo ativo.',
|
|
95
|
+
es: 'No se ha activado el servicio {{resource}}, no se puede activar.'
|
|
96
|
+
}
|
|
97
|
+
};
|