@sofit/view-locale 1.90.1 → 1.92.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/common/general.d.ts +6 -0
- package/dist/translations/common/general.js +6 -0
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.js +2 -0
- package/dist/translations/modules/carsharing_type.d.ts +22 -0
- package/dist/translations/modules/carsharing_type.js +11 -0
- package/dist/translations/modules/gate.d.ts +14 -0
- package/dist/translations/modules/gate.js +14 -0
- package/lib/translations/common/general.ts +7 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/carsharing_type.ts +14 -0
- package/lib/translations/modules/gate.ts +15 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="
|
|
2
|
-
<testsuite name="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.115">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-04-30T13:43:08" time="2.332" tests="4">
|
|
3
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase classname="
|
|
5
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase classname="
|
|
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="
|
|
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="
|
|
13
|
-
<testcase classname="
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-04-30T13:43:08" time="2.385" 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">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="
|
|
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
|
-
<testcase classname="
|
|
17
|
+
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
|
|
18
18
|
</testcase>
|
|
19
|
-
<testcase classname="
|
|
19
|
+
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -3,6 +3,7 @@ import * as benchmarking from './common/benchmarking';
|
|
|
3
3
|
import * as general from './common/general';
|
|
4
4
|
import * as inout from './integrations/inout';
|
|
5
5
|
import * as pipefy from './integrations/pipefy';
|
|
6
|
+
import * as carsharing_type from './modules/carsharing_type';
|
|
6
7
|
import * as cash_basis from './modules/cash_basis';
|
|
7
8
|
import * as change_history from './modules/change_history';
|
|
8
9
|
import * as checklist from './modules/checklist';
|
|
@@ -89,4 +90,4 @@ import * as warehouse from './modules/warehouse';
|
|
|
89
90
|
import * as warehouse_item from './modules/warehouse_item';
|
|
90
91
|
export { joi } from './common/joi';
|
|
91
92
|
export { databaseErrors } from './common/database-errors';
|
|
92
|
-
export { auth, benchmarking, general, inout, pipefy, cash_basis, change_history, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, cost_sharing_entity, customer, driver_control, driver_license_point, employee, employee_change_history, 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, leasing_measurement, 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_transfer, stock_transfer_item, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_booking, vehicle_brand, vehicle_bulk, vehicle_bulk_keys, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_event, vehicle_event_type, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_maintenance_plan_item, vehicle_maintenance_plan_service, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item, city, state };
|
|
93
|
+
export { auth, benchmarking, general, inout, pipefy, carsharing_type, cash_basis, change_history, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, cost_sharing_entity, customer, driver_control, driver_license_point, employee, employee_change_history, 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, leasing_measurement, 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_transfer, stock_transfer_item, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_booking, vehicle_brand, vehicle_bulk, vehicle_bulk_keys, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_event, vehicle_event_type, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_maintenance_plan_item, vehicle_maintenance_plan_service, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item, city, state };
|
|
@@ -17,6 +17,8 @@ const inout = __importStar(require("./integrations/inout"));
|
|
|
17
17
|
exports.inout = inout;
|
|
18
18
|
const pipefy = __importStar(require("./integrations/pipefy"));
|
|
19
19
|
exports.pipefy = pipefy;
|
|
20
|
+
const carsharing_type = __importStar(require("./modules/carsharing_type"));
|
|
21
|
+
exports.carsharing_type = carsharing_type;
|
|
20
22
|
const cash_basis = __importStar(require("./modules/cash_basis"));
|
|
21
23
|
exports.cash_basis = cash_basis;
|
|
22
24
|
const change_history = __importStar(require("./modules/change_history"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
description: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
name: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
external_id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Tipo de veículo do Carsharing',
|
|
6
|
+
es: 'Tipo de vehículo Carsharing'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { description: {
|
|
9
|
+
ptBR: 'Descrição',
|
|
10
|
+
es: 'Descripción'
|
|
11
|
+
} });
|
|
@@ -16,3 +16,17 @@ export declare const fields: {
|
|
|
16
16
|
es: string;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
+
export declare const messages: {
|
|
20
|
+
must_not_be_actual_gate: {
|
|
21
|
+
ptBR: string;
|
|
22
|
+
es: string;
|
|
23
|
+
};
|
|
24
|
+
must_not_be_actual_gate_plural: {
|
|
25
|
+
ptBR: string;
|
|
26
|
+
es: string;
|
|
27
|
+
};
|
|
28
|
+
vehicle_with_link: {
|
|
29
|
+
ptBR: string;
|
|
30
|
+
es: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -6,3 +6,17 @@ exports.name = {
|
|
|
6
6
|
es: 'Portería'
|
|
7
7
|
};
|
|
8
8
|
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON);
|
|
9
|
+
exports.messages = {
|
|
10
|
+
must_not_be_actual_gate: {
|
|
11
|
+
ptBR: 'Não é possível remover essa portaria do carsharing, pois ela é a portaria atual do veículo: {{vehicles}}.',
|
|
12
|
+
es: 'No es posible eliminar esta ordenanza del coche compartido, ya que es la ordenanza actual del vehículo: {{vehicles}}.'
|
|
13
|
+
},
|
|
14
|
+
must_not_be_actual_gate_plural: {
|
|
15
|
+
ptBR: 'Não é possível remover essa portaria do carsharing, pois ela é a portaria atual dos veículos: {{vehicles}}.',
|
|
16
|
+
es: 'No puede eliminar esta ordenanza de carsharing, ya que es la ordenanza actual para vehículos: {{vehicles}}.'
|
|
17
|
+
},
|
|
18
|
+
vehicle_with_link: {
|
|
19
|
+
ptBR: '<a href="#/client/vehicles/{{id}}" target="_blank">{{name}}</a>',
|
|
20
|
+
es: '<a href="#/client/vehicles/{{id}}" target="_blank">{{name}}</a>'
|
|
21
|
+
}
|
|
22
|
+
};
|
|
@@ -3,6 +3,7 @@ import * as benchmarking from './common/benchmarking';
|
|
|
3
3
|
import * as general from './common/general';
|
|
4
4
|
import * as inout from './integrations/inout';
|
|
5
5
|
import * as pipefy from './integrations/pipefy';
|
|
6
|
+
import * as carsharing_type from './modules/carsharing_type';
|
|
6
7
|
import * as cash_basis from './modules/cash_basis';
|
|
7
8
|
import * as change_history from './modules/change_history';
|
|
8
9
|
import * as checklist from './modules/checklist';
|
|
@@ -97,6 +98,7 @@ export {
|
|
|
97
98
|
general,
|
|
98
99
|
inout,
|
|
99
100
|
pipefy,
|
|
101
|
+
carsharing_type,
|
|
100
102
|
cash_basis,
|
|
101
103
|
change_history,
|
|
102
104
|
checklist,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Tipo de veículo do Carsharing',
|
|
5
|
+
es: 'Tipo de vehículo Carsharing'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
description: {
|
|
11
|
+
ptBR: 'Descrição',
|
|
12
|
+
es: 'Descripción'
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -7,4 +7,19 @@ export const name = {
|
|
|
7
7
|
|
|
8
8
|
export const fields = {
|
|
9
9
|
...ENTITY_COMMON
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const messages = {
|
|
13
|
+
must_not_be_actual_gate: {
|
|
14
|
+
ptBR: 'Não é possível remover essa portaria do carsharing, pois ela é a portaria atual do veículo: {{vehicles}}.',
|
|
15
|
+
es: 'No es posible eliminar esta ordenanza del coche compartido, ya que es la ordenanza actual del vehículo: {{vehicles}}.'
|
|
16
|
+
},
|
|
17
|
+
must_not_be_actual_gate_plural: {
|
|
18
|
+
ptBR: 'Não é possível remover essa portaria do carsharing, pois ela é a portaria atual dos veículos: {{vehicles}}.',
|
|
19
|
+
es: 'No puede eliminar esta ordenanza de carsharing, ya que es la ordenanza actual para vehículos: {{vehicles}}.'
|
|
20
|
+
},
|
|
21
|
+
vehicle_with_link: {
|
|
22
|
+
ptBR: '<a href="#/client/vehicles/{{id}}" target="_blank">{{name}}</a>',
|
|
23
|
+
es: '<a href="#/client/vehicles/{{id}}" target="_blank">{{name}}</a>'
|
|
24
|
+
}
|
|
10
25
|
};
|