@sofit/view-locale 1.44.0 → 1.46.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 +5 -5
- package/dist/translations/common/database-errors.d.ts +8 -0
- package/dist/translations/common/database-errors.js +8 -0
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.js +2 -0
- package/dist/translations/integrations/inout.d.ts +10 -0
- package/dist/translations/integrations/inout.js +12 -0
- package/lib/translations/common/database-errors.ts +8 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/integrations/inout.ts +10 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.
|
|
2
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-
|
|
3
|
-
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.53">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-28T11:12:53" time="1.73" 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
5
|
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
6
6
|
</testcase>
|
|
@@ -9,8 +9,8 @@
|
|
|
9
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="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-06-
|
|
13
|
-
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-06-28T11:12:53" time="1.755" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.004">
|
|
14
14
|
</testcase>
|
|
15
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>
|
|
@@ -24,5 +24,13 @@ exports.databaseErrors = {
|
|
|
24
24
|
max_connections: {
|
|
25
25
|
ptBR: 'Não foi possível se conectar ao banco de dados devido a falta de espaço de armazenamento.',
|
|
26
26
|
es: 'No se pudo conectar a la base de datos debido a la falta de espacio de almacenamiento.'
|
|
27
|
+
},
|
|
28
|
+
not_found: {
|
|
29
|
+
ptBR: 'Registro de {{resource}} não encontrado.',
|
|
30
|
+
es: 'No se encontró el registro de {{resource}}.'
|
|
31
|
+
},
|
|
32
|
+
duplicate_registers: {
|
|
33
|
+
ptBR: 'Existem dois ou mais registros com este(a) {{resource}}',
|
|
34
|
+
es: 'Hay dos o más registros con este (a) {{resource}}'
|
|
27
35
|
}
|
|
28
36
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as auth from './common/auth';
|
|
2
2
|
import * as benchmarking from './common/benchmarking';
|
|
3
3
|
import * as general from './common/general';
|
|
4
|
+
import * as inout from './integrations/inout';
|
|
4
5
|
import * as pipefy from './integrations/pipefy';
|
|
5
6
|
import * as cash_basis from './modules/cash_basis';
|
|
6
7
|
import * as checklist from './modules/checklist';
|
|
@@ -56,4 +57,4 @@ import * as warehouse from './modules/warehouse';
|
|
|
56
57
|
import * as warehouse_item from './modules/warehouse_item';
|
|
57
58
|
export { joi } from './common/joi';
|
|
58
59
|
export { databaseErrors } from './common/database-errors';
|
|
59
|
-
export { auth, benchmarking, general, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_hiring_regime, employee_role, fine_resource, fine, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, pipefy, qualification_severity, release_notification, route, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, vehicle_brand, vehicle_deactivation_cause, vehicle_layout, vehicle_leasing, vehicle_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
|
|
60
|
+
export { auth, benchmarking, general, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_hiring_regime, employee_role, fine_resource, fine, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, pipefy, inout, qualification_severity, release_notification, route, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, vehicle_brand, vehicle_deactivation_cause, vehicle_layout, vehicle_leasing, vehicle_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
|
|
@@ -13,6 +13,8 @@ const benchmarking = __importStar(require("./common/benchmarking"));
|
|
|
13
13
|
exports.benchmarking = benchmarking;
|
|
14
14
|
const general = __importStar(require("./common/general"));
|
|
15
15
|
exports.general = general;
|
|
16
|
+
const inout = __importStar(require("./integrations/inout"));
|
|
17
|
+
exports.inout = inout;
|
|
16
18
|
const pipefy = __importStar(require("./integrations/pipefy"));
|
|
17
19
|
exports.pipefy = pipefy;
|
|
18
20
|
const cash_basis = __importStar(require("./modules/cash_basis"));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.messages = {
|
|
4
|
+
successfully_created: {
|
|
5
|
+
ptBR: 'Registro com Identificador {{resource}} inserido com sucesso.',
|
|
6
|
+
es: 'Registro con Identificador {{resource}} insertado con éxito.'
|
|
7
|
+
},
|
|
8
|
+
successfully_updated: {
|
|
9
|
+
ptBR: 'Registro com Identificador {{resource}} atualizado com sucesso.',
|
|
10
|
+
es: 'Registro con identificador {{resource}} actualizado con éxito.'
|
|
11
|
+
}
|
|
12
|
+
};
|
|
@@ -22,5 +22,13 @@ export const databaseErrors = {
|
|
|
22
22
|
max_connections: {
|
|
23
23
|
ptBR: 'Não foi possível se conectar ao banco de dados devido a falta de espaço de armazenamento.',
|
|
24
24
|
es: 'No se pudo conectar a la base de datos debido a la falta de espacio de almacenamiento.'
|
|
25
|
+
},
|
|
26
|
+
not_found: {
|
|
27
|
+
ptBR: 'Registro de {{resource}} não encontrado.',
|
|
28
|
+
es: 'No se encontró el registro de {{resource}}.'
|
|
29
|
+
},
|
|
30
|
+
duplicate_registers: {
|
|
31
|
+
ptBR: 'Existem dois ou mais registros com este(a) {{resource}}',
|
|
32
|
+
es: 'Hay dos o más registros con este (a) {{resource}}'
|
|
25
33
|
}
|
|
26
34
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as auth from './common/auth';
|
|
2
2
|
import * as benchmarking from './common/benchmarking';
|
|
3
3
|
import * as general from './common/general';
|
|
4
|
+
import * as inout from './integrations/inout';
|
|
4
5
|
import * as pipefy from './integrations/pipefy';
|
|
5
6
|
import * as cash_basis from './modules/cash_basis';
|
|
6
7
|
import * as checklist from './modules/checklist';
|
|
@@ -90,6 +91,7 @@ export {
|
|
|
90
91
|
measurement_unit,
|
|
91
92
|
parameter,
|
|
92
93
|
pipefy,
|
|
94
|
+
inout,
|
|
93
95
|
qualification_severity,
|
|
94
96
|
release_notification,
|
|
95
97
|
route,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const messages = {
|
|
2
|
+
successfully_created: {
|
|
3
|
+
ptBR: 'Registro com Identificador {{resource}} inserido com sucesso.',
|
|
4
|
+
es: 'Registro con Identificador {{resource}} insertado con éxito.'
|
|
5
|
+
},
|
|
6
|
+
successfully_updated: {
|
|
7
|
+
ptBR: 'Registro com Identificador {{resource}} atualizado com sucesso.',
|
|
8
|
+
es: 'Registro con identificador {{resource}} actualizado con éxito.'
|
|
9
|
+
}
|
|
10
|
+
};
|