@sofit/view-locale 1.49.0 → 1.50.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.
@@ -1,22 +1,22 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.278">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-07-17T19:23:22" time="1.603" tests="4">
3
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.238">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-07-18T21:39:03" time="2.4" tests="4">
3
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.004">
4
4
  </testcase>
5
- <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
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="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
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="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
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="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-07-17T19:23:22" time="1.607" tests="4">
13
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-07-18T21:39:03" time="2.399" 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="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" 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
- <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
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="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
19
+ <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -10,8 +10,8 @@ exports.databaseErrors = {
10
10
  es: 'Ya existe un registro de {{label}} con este {{columnName}}.'
11
11
  },
12
12
  foreignkey_constraint: {
13
- ptBR: 'Houve um erro ao salvar o registro. Um ou mais relacionamentos não foram encontrados.',
14
- es: ''
13
+ ptBR: 'Houve um erro ao Salvar/Deletar o registro. Um ou mais relacionamentos não foram encontrados.',
14
+ es: 'Se produjo un error al Guardar/Borrar el registro. Una o más relaciones no fueron encontradas.'
15
15
  },
16
16
  cant_delete_related: {
17
17
  ptBR: 'Registro de {{table}} não pode ser removido, pois existem registros de {{relationedTable}} relacionados.',
@@ -66,6 +66,7 @@ import * as vehicle_due from './modules/vehicle_due';
66
66
  import * as vehicle_fuel from './modules/vehicle_fuel';
67
67
  import * as vehicle_layout from './modules/vehicle_layout';
68
68
  import * as vehicle_leasing from './modules/vehicle_leasing';
69
+ import * as vehicle_maintenance_plan from './modules/vehicle_maintenance_plan';
69
70
  import * as vehicle_model from './modules/vehicle_model';
70
71
  import * as vehicle_model_version from './modules/vehicle_model_version';
71
72
  import * as vehicle_tag from './modules/vehicle_tag';
@@ -73,4 +74,4 @@ import * as warehouse from './modules/warehouse';
73
74
  import * as warehouse_item from './modules/warehouse_item';
74
75
  export { joi } from './common/joi';
75
76
  export { databaseErrors } from './common/database-errors';
76
- export { auth, benchmarking, general, inout, pipefy, cash_basis, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, customer, driver_control, driver_license_point, employee, employee_hiring_regime, employee_role, expense, fine, fine_qualification_integration_key, fine_qualification, fine_resource, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, gate_appointment, gate_appointment_diary, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, night_transport, parameter, pendency, qualification_severity, release_notification, request_occurrence, route, service_order, solicitation, solicitation_comment, solicitation_history, solicitation_watcher, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_brand, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item };
77
+ export { auth, benchmarking, general, inout, pipefy, cash_basis, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, customer, driver_control, driver_license_point, employee, employee_hiring_regime, employee_role, expense, fine, fine_qualification_integration_key, fine_qualification, fine_resource, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, gate_appointment, gate_appointment_diary, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, night_transport, parameter, pendency, qualification_severity, release_notification, request_occurrence, route, service_order, solicitation, solicitation_comment, solicitation_history, solicitation_watcher, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_brand, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item };
@@ -143,6 +143,8 @@ const vehicle_layout = __importStar(require("./modules/vehicle_layout"));
143
143
  exports.vehicle_layout = vehicle_layout;
144
144
  const vehicle_leasing = __importStar(require("./modules/vehicle_leasing"));
145
145
  exports.vehicle_leasing = vehicle_leasing;
146
+ const vehicle_maintenance_plan = __importStar(require("./modules/vehicle_maintenance_plan"));
147
+ exports.vehicle_maintenance_plan = vehicle_maintenance_plan;
146
148
  const vehicle_model = __importStar(require("./modules/vehicle_model"));
147
149
  exports.vehicle_model = vehicle_model;
148
150
  const vehicle_model_version = __importStar(require("./modules/vehicle_model_version"));
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const entity_1 = require("../common/entity");
4
4
  exports.name = {
5
- ptBR: 'Vehicle',
5
+ ptBR: 'Veículo',
6
6
  es: 'Veiculo'
7
7
  };
8
8
  exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { license_plate: {
@@ -0,0 +1,4 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.name = {
4
+ ptBR: 'Plano de Manutenção do Veículo',
5
+ es: 'Plan de Mantenimiento del Vehículo'
6
+ };
@@ -8,8 +8,8 @@ export const databaseErrors = {
8
8
  es: 'Ya existe un registro de {{label}} con este {{columnName}}.'
9
9
  },
10
10
  foreignkey_constraint: {
11
- ptBR: 'Houve um erro ao salvar o registro. Um ou mais relacionamentos não foram encontrados.',
12
- es: ''
11
+ ptBR: 'Houve um erro ao Salvar/Deletar o registro. Um ou mais relacionamentos não foram encontrados.',
12
+ es: 'Se produjo un error al Guardar/Borrar el registro. Una o más relaciones no fueron encontradas.'
13
13
  },
14
14
  cant_delete_related: {
15
15
  ptBR: 'Registro de {{table}} não pode ser removido, pois existem registros de {{relationedTable}} relacionados.',
@@ -66,6 +66,7 @@ import * as vehicle_due from './modules/vehicle_due';
66
66
  import * as vehicle_fuel from './modules/vehicle_fuel';
67
67
  import * as vehicle_layout from './modules/vehicle_layout';
68
68
  import * as vehicle_leasing from './modules/vehicle_leasing';
69
+ import * as vehicle_maintenance_plan from './modules/vehicle_maintenance_plan';
69
70
  import * as vehicle_model from './modules/vehicle_model';
70
71
  import * as vehicle_model_version from './modules/vehicle_model_version';
71
72
  import * as vehicle_tag from './modules/vehicle_tag';
@@ -144,6 +145,7 @@ export {
144
145
  vehicle_fuel,
145
146
  vehicle_layout,
146
147
  vehicle_leasing,
148
+ vehicle_maintenance_plan,
147
149
  vehicle_model,
148
150
  vehicle_model_version,
149
151
  vehicle_tag,
@@ -1,7 +1,7 @@
1
1
  import { ENTITY_COMMON } from '../common/entity';
2
2
 
3
3
  export const name = {
4
- ptBR: 'Vehicle',
4
+ ptBR: 'Veículo',
5
5
  es: 'Veiculo'
6
6
  };
7
7
 
@@ -0,0 +1,4 @@
1
+ export const name = {
2
+ ptBR: 'Plano de Manutenção do Veículo',
3
+ es: 'Plan de Mantenimiento del Vehículo'
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.49.0",
3
+ "version": "1.50.2",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",