@sofit/view-locale 1.96.1 → 1.98.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/.circleci/config.yml +1 -1
- package/dist/index.js +16 -3
- package/dist/runner.js +15 -2
- package/dist/translations/common/auth.js +1 -0
- package/dist/translations/common/benchmarking.js +1 -0
- package/dist/translations/common/database-errors.js +1 -0
- package/dist/translations/common/entity.js +1 -0
- package/dist/translations/common/general.js +1 -0
- package/dist/translations/common/internal-server-errors.js +1 -0
- package/dist/translations/common/joi.js +1 -0
- package/dist/translations/index.js +18 -5
- package/dist/translations/integrations/inout.js +1 -0
- package/dist/translations/integrations/pipefy.js +1 -0
- package/dist/translations/modules/carsharing_type.js +2 -1
- package/dist/translations/modules/cash_basis.js +1 -0
- package/dist/translations/modules/change_history.js +1 -0
- package/dist/translations/modules/checklist.d.ts +4 -0
- package/dist/translations/modules/checklist.js +5 -1
- package/dist/translations/modules/checklist_group.js +2 -1
- package/dist/translations/modules/checklist_group_item.js +2 -1
- package/dist/translations/modules/checklist_group_option.js +2 -1
- package/dist/translations/modules/checklist_model.js +2 -1
- package/dist/translations/modules/checklist_reply.js +2 -1
- package/dist/translations/modules/city.js +2 -1
- package/dist/translations/modules/company.js +2 -1
- package/dist/translations/modules/cost_center.js +2 -1
- package/dist/translations/modules/cost_sharing.js +1 -0
- package/dist/translations/modules/cost_sharing_entity.js +1 -0
- package/dist/translations/modules/customer.js +2 -1
- package/dist/translations/modules/driver_control.js +1 -0
- package/dist/translations/modules/driver_license_point.js +1 -0
- package/dist/translations/modules/employee.d.ts +3 -3
- package/dist/translations/modules/employee.js +2 -1
- package/dist/translations/modules/employee_change_history.d.ts +2 -2
- package/dist/translations/modules/employee_change_history.js +2 -1
- package/dist/translations/modules/employee_hiring_regime.js +1 -0
- package/dist/translations/modules/employee_role.js +2 -1
- package/dist/translations/modules/expense.js +1 -0
- package/dist/translations/modules/fine.d.ts +5 -5
- package/dist/translations/modules/fine.js +1 -0
- package/dist/translations/modules/fine_qualification.js +2 -1
- package/dist/translations/modules/fine_qualification_integration_key.js +2 -1
- package/dist/translations/modules/fine_resource.js +2 -1
- package/dist/translations/modules/foreseen_maintenance_plan_service_item.js +2 -1
- package/dist/translations/modules/foreseen_service_order_item.js +1 -0
- package/dist/translations/modules/gas_pump_control.js +1 -0
- package/dist/translations/modules/gate.js +1 -0
- package/dist/translations/modules/gate_appointment.js +1 -0
- package/dist/translations/modules/gate_appointment_diary.js +1 -0
- package/dist/translations/modules/item.d.ts +8 -8
- package/dist/translations/modules/item.js +2 -1
- package/dist/translations/modules/leasing_contract.js +2 -1
- package/dist/translations/modules/leasing_measurement.d.ts +6 -6
- package/dist/translations/modules/leasing_measurement.js +2 -1
- package/dist/translations/modules/maintenance_plan.js +2 -1
- package/dist/translations/modules/maintenance_plan_service.js +2 -1
- package/dist/translations/modules/measurement_unit.js +2 -1
- package/dist/translations/modules/night_transport.js +1 -0
- package/dist/translations/modules/parameter.js +1 -0
- package/dist/translations/modules/pendency.js +1 -0
- package/dist/translations/modules/qualification_severity.js +2 -1
- package/dist/translations/modules/release_notification.js +2 -1
- package/dist/translations/modules/request_occurrence.js +1 -0
- package/dist/translations/modules/route.js +2 -1
- package/dist/translations/modules/service_order.d.ts +7 -7
- package/dist/translations/modules/service_order.js +1 -0
- package/dist/translations/modules/solicitation.js +1 -0
- package/dist/translations/modules/solicitation_comment.js +1 -0
- package/dist/translations/modules/solicitation_history.js +1 -0
- package/dist/translations/modules/solicitation_watcher.js +1 -0
- package/dist/translations/modules/state.js +2 -1
- package/dist/translations/modules/stock_entry_item.js +1 -0
- package/dist/translations/modules/stock_transfer.js +1 -0
- package/dist/translations/modules/stock_transfer_item.js +1 -0
- package/dist/translations/modules/sub_system.js +2 -1
- package/dist/translations/modules/subsidiary.js +2 -1
- package/dist/translations/modules/supplier.js +2 -1
- package/dist/translations/modules/system.js +2 -1
- package/dist/translations/modules/tire_brand.js +2 -1
- package/dist/translations/modules/tire_dimension.js +2 -1
- package/dist/translations/modules/tire_drawing.js +2 -1
- package/dist/translations/modules/transaction.js +1 -0
- package/dist/translations/modules/trip.d.ts +3 -3
- package/dist/translations/modules/trip.js +1 -0
- package/dist/translations/modules/vehicle.d.ts +5 -5
- package/dist/translations/modules/vehicle.js +2 -1
- package/dist/translations/modules/vehicle_axes.js +2 -1
- package/dist/translations/modules/vehicle_booking.js +1 -0
- package/dist/translations/modules/vehicle_brand.js +2 -1
- package/dist/translations/modules/vehicle_bulk.js +1 -0
- package/dist/translations/modules/vehicle_bulk_keys.js +1 -0
- package/dist/translations/modules/vehicle_change_history.d.ts +3 -3
- package/dist/translations/modules/vehicle_change_history.js +2 -1
- package/dist/translations/modules/vehicle_deactivation_cause.js +1 -0
- package/dist/translations/modules/vehicle_due.js +2 -1
- package/dist/translations/modules/vehicle_event.js +2 -1
- package/dist/translations/modules/vehicle_event_type.js +1 -0
- package/dist/translations/modules/vehicle_fuel.js +2 -1
- package/dist/translations/modules/vehicle_layout.js +2 -1
- package/dist/translations/modules/vehicle_leasing.js +2 -1
- package/dist/translations/modules/vehicle_maintenance_plan.d.ts +6 -6
- package/dist/translations/modules/vehicle_maintenance_plan.js +1 -0
- package/dist/translations/modules/vehicle_maintenance_plan_item.js +1 -0
- package/dist/translations/modules/vehicle_maintenance_plan_service.js +1 -0
- package/dist/translations/modules/vehicle_model.js +2 -1
- package/dist/translations/modules/vehicle_model_version.js +2 -1
- package/dist/translations/modules/vehicle_tag.js +1 -0
- package/dist/translations/modules/warehouse.js +2 -1
- package/dist/translations/modules/warehouse_item.js +1 -0
- package/{coverage/jest/results.xml → junit.xml} +10 -9
- package/lib/translations/modules/checklist.ts +4 -0
- package/package.json +14 -15
|
@@ -56,15 +56,15 @@ export declare const messages: {
|
|
|
56
56
|
};
|
|
57
57
|
export declare const enums: {
|
|
58
58
|
type: {
|
|
59
|
-
|
|
59
|
+
cost_center: {
|
|
60
60
|
ptBR: string;
|
|
61
61
|
es: string;
|
|
62
62
|
};
|
|
63
|
-
|
|
63
|
+
employee: {
|
|
64
64
|
ptBR: string;
|
|
65
65
|
es: string;
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
subsidiary: {
|
|
68
68
|
ptBR: string;
|
|
69
69
|
es: string;
|
|
70
70
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enums = exports.messages = exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Histórico de Alterações do Veículo',
|
|
6
7
|
es: 'Historial de Cambios del Vehículo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { cost_center_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { cost_center_id: {
|
|
9
10
|
ptBR: 'Centro de custo',
|
|
10
11
|
es: 'Centro de costo'
|
|
11
12
|
}, employee_id: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Vencimento do veículo',
|
|
6
7
|
es: 'Vencimiento del vehículo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { item_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { item_id: {
|
|
9
10
|
ptBR: 'Item',
|
|
10
11
|
es: 'Iten'
|
|
11
12
|
}, due_date: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Evento do veículo',
|
|
6
7
|
es: 'Evento de vehículo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { employee_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { employee_id: {
|
|
9
10
|
ptBR: 'Colaborador',
|
|
10
11
|
es: 'Colaborador'
|
|
11
12
|
}, date: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Combustível do veículo',
|
|
6
7
|
es: 'Combustible del vehículo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { sub_system_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { sub_system_id: {
|
|
9
10
|
ptBR: 'Subsistema',
|
|
10
11
|
es: 'Subsistema'
|
|
11
12
|
}, tank_size: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Layout do veículo',
|
|
6
7
|
es: 'Layout del vehículo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { created_by_sofit: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { created_by_sofit: {
|
|
9
10
|
ptBR: 'Criado pela Sofit',
|
|
10
11
|
es: 'Creado por Sofit'
|
|
11
12
|
}, budini_code: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.messages = exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Locação do Veículo',
|
|
6
7
|
es: 'Arrendamiento de Vehículos'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { vehicle_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { vehicle_id: {
|
|
9
10
|
ptBR: 'Veículo',
|
|
10
11
|
es: 'Vehículo'
|
|
11
12
|
}, leasing_contract_id: {
|
|
@@ -4,27 +4,27 @@ export declare const name: {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const enums: {
|
|
6
6
|
status: {
|
|
7
|
-
|
|
7
|
+
all: {
|
|
8
8
|
ptBR: string;
|
|
9
9
|
es: string;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
calculated: {
|
|
12
12
|
ptBR: string;
|
|
13
13
|
es: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
calculating: {
|
|
16
16
|
ptBR: string;
|
|
17
17
|
es: string;
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
error: {
|
|
20
20
|
ptBR: string;
|
|
21
21
|
es: string;
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
not_calculated: {
|
|
24
24
|
ptBR: string;
|
|
25
25
|
es: string;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
updating: {
|
|
28
28
|
ptBR: string;
|
|
29
29
|
es: string;
|
|
30
30
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Modelo',
|
|
6
7
|
es: 'Modelo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { category: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { category: {
|
|
9
10
|
ptBR: 'Categoria',
|
|
10
11
|
es: 'Categoría'
|
|
11
12
|
}, image_url: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Versão do modelo do veículo',
|
|
6
7
|
es: 'Versión del modelo del vehículo'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { app_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { app_id: {
|
|
9
10
|
ptBR: 'Chave do Aplicativo',
|
|
10
11
|
es: 'Clave de aplicación'
|
|
11
12
|
}, image_url: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.messages = exports.fields = exports.name = void 0;
|
|
3
4
|
const entity_1 = require("../common/entity");
|
|
4
5
|
exports.name = {
|
|
5
6
|
ptBR: 'Depósito',
|
|
6
7
|
es: 'Álmacen'
|
|
7
8
|
};
|
|
8
|
-
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { subsidiary_id: {
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { subsidiary_id: {
|
|
9
10
|
ptBR: 'Filial',
|
|
10
11
|
es: 'Filial'
|
|
11
12
|
}, active: {
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.165">
|
|
3
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-06-03T20:50:34" time="2.233" tests="4">
|
|
4
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
|
|
4
5
|
</testcase>
|
|
5
|
-
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0
|
|
6
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
6
7
|
</testcase>
|
|
7
|
-
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0
|
|
8
|
+
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
8
9
|
</testcase>
|
|
9
10
|
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
10
11
|
</testcase>
|
|
11
12
|
</testsuite>
|
|
12
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-
|
|
13
|
-
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.
|
|
13
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-06-03T20:50:34" time="2.194" tests="4">
|
|
14
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
|
|
14
15
|
</testcase>
|
|
15
|
-
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0
|
|
16
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
16
17
|
</testcase>
|
|
17
18
|
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
|
|
18
19
|
</testcase>
|
|
19
|
-
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0
|
|
20
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
|
|
20
21
|
</testcase>
|
|
21
22
|
</testsuite>
|
|
22
23
|
</testsuites>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sofit/view-locale",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.98.0",
|
|
4
4
|
"description": "Traduções do Sofit View",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,26 +13,25 @@
|
|
|
13
13
|
},
|
|
14
14
|
"author": "desenvolvimento@sofit4.com.br",
|
|
15
15
|
"contributors": [
|
|
16
|
-
"
|
|
17
|
-
"rhogeranacleto@gmail.com"
|
|
16
|
+
"yuri.caldeira@sofit4.com.br"
|
|
18
17
|
],
|
|
19
18
|
"license": "ISC",
|
|
20
19
|
"engines": {
|
|
21
|
-
"node": "
|
|
20
|
+
"node": "12.18.0"
|
|
22
21
|
},
|
|
23
22
|
"dependencies": {
|
|
24
|
-
"typescript": "^
|
|
25
|
-
"@types/node": "^
|
|
23
|
+
"typescript": "^3.9.3",
|
|
24
|
+
"@types/node": "^14.0.6"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
|
-
"@sofit/tslint-rules": "
|
|
29
|
-
"@types/jest": "^
|
|
30
|
-
"jest-junit": "^
|
|
31
|
-
"jest": "^
|
|
32
|
-
"ts-jest": "^
|
|
33
|
-
"
|
|
34
|
-
"tslint
|
|
35
|
-
"
|
|
36
|
-
"
|
|
27
|
+
"@sofit/tslint-rules": "^2.2.0",
|
|
28
|
+
"@types/jest": "^25.2.3",
|
|
29
|
+
"jest-junit": "^10.0.0",
|
|
30
|
+
"jest": "^26.0.1",
|
|
31
|
+
"ts-jest": "^26.1.0",
|
|
32
|
+
"ts-node": "^8.10.2",
|
|
33
|
+
"tslint": "^6.1.2",
|
|
34
|
+
"tslint-eslint-rules": "^5.4.0",
|
|
35
|
+
"nodemon": "^2.0.4"
|
|
37
36
|
}
|
|
38
37
|
}
|