@sofit/view-locale 1.9.1 → 1.10.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 +6 -6
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.js +2 -0
- package/dist/translations/modules/fine_resource.d.ts +26 -0
- package/dist/translations/modules/fine_resource.js +17 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/fine_resource.ts +22 -0
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.
|
|
2
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-10-
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.794">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-10-24T11:57:29" time="1.078" tests="4">
|
|
3
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="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
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="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" 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
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="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-10-
|
|
13
|
-
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.
|
|
12
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-10-24T11:57:29" time="1.08" 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
15
|
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
16
16
|
</testcase>
|
|
@@ -4,6 +4,7 @@ import * as company from './modules/company';
|
|
|
4
4
|
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
|
+
import * as fine_resource from './modules/fine_resource';
|
|
7
8
|
import * as gate from './modules/gate';
|
|
8
9
|
import * as measurement_unit from './modules/measurement_unit';
|
|
9
10
|
import * as route from './modules/route';
|
|
@@ -14,4 +15,4 @@ import * as system from './modules/system';
|
|
|
14
15
|
import * as warehouse from './modules/warehouse';
|
|
15
16
|
export { joi } from './common/joi';
|
|
16
17
|
export { databaseErrors } from './common/database-errors';
|
|
17
|
-
export { auth, benchmarking, company, cost_center, customer, employee_role, gate, measurement_unit, route, subsidiary, system, warehouse, sub_system, supplier };
|
|
18
|
+
export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, gate, measurement_unit, route, subsidiary, system, warehouse, sub_system, supplier };
|
|
@@ -19,6 +19,8 @@ const customer = __importStar(require("./modules/customer"));
|
|
|
19
19
|
exports.customer = customer;
|
|
20
20
|
const employee_role = __importStar(require("./modules/employee_role"));
|
|
21
21
|
exports.employee_role = employee_role;
|
|
22
|
+
const fine_resource = __importStar(require("./modules/fine_resource"));
|
|
23
|
+
exports.fine_resource = fine_resource;
|
|
22
24
|
const gate = __importStar(require("./modules/gate"));
|
|
23
25
|
exports.gate = gate;
|
|
24
26
|
const measurement_unit = __importStar(require("./modules/measurement_unit"));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
receiver: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
resource: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
name: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
external_id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Documento de recurso de infração',
|
|
6
|
+
es: 'Documento de recurso de infracción'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { receiver: {
|
|
9
|
+
ptBR: 'Destinatário',
|
|
10
|
+
es: 'Destinatário'
|
|
11
|
+
}, resource: {
|
|
12
|
+
ptBR: 'Recurso',
|
|
13
|
+
es: 'Recurso'
|
|
14
|
+
}, title: {
|
|
15
|
+
ptBR: 'Título',
|
|
16
|
+
es: 'Título'
|
|
17
|
+
} });
|
|
@@ -4,6 +4,7 @@ import * as company from './modules/company';
|
|
|
4
4
|
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
|
+
import * as fine_resource from './modules/fine_resource';
|
|
7
8
|
import * as gate from './modules/gate';
|
|
8
9
|
import * as measurement_unit from './modules/measurement_unit';
|
|
9
10
|
import * as route from './modules/route';
|
|
@@ -23,6 +24,7 @@ export {
|
|
|
23
24
|
cost_center,
|
|
24
25
|
customer,
|
|
25
26
|
employee_role,
|
|
27
|
+
fine_resource,
|
|
26
28
|
gate,
|
|
27
29
|
measurement_unit,
|
|
28
30
|
route,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Documento de recurso de infração',
|
|
5
|
+
es: 'Documento de recurso de infracción'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
receiver: {
|
|
11
|
+
ptBR: 'Destinatário',
|
|
12
|
+
es: 'Destinatário'
|
|
13
|
+
},
|
|
14
|
+
resource: {
|
|
15
|
+
ptBR: 'Recurso',
|
|
16
|
+
es: 'Recurso'
|
|
17
|
+
},
|
|
18
|
+
title: {
|
|
19
|
+
ptBR: 'Título',
|
|
20
|
+
es: 'Título'
|
|
21
|
+
}
|
|
22
|
+
};
|