@sofit/view-locale 1.41.0 → 1.42.1
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 +9 -9
- package/dist/translations/modules/employee.d.ts +16 -0
- package/dist/translations/modules/employee.js +16 -0
- package/dist/translations/modules/vehicle_leasing.d.ts +0 -4
- package/dist/translations/modules/vehicle_leasing.js +0 -4
- package/lib/translations/modules/employee.ts +17 -0
- package/lib/translations/modules/vehicle_leasing.ts +0 -4
- package/package.json +1 -1
- package/readme.md +2 -2
|
@@ -1,18 +1,18 @@
|
|
|
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.402">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-10T20:55:34" time="1.659" 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="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
5
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
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="Joi tests should return translated label message" name="Joi tests should return translated label message" 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">
|
|
9
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
|
|
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-10T20:55:34" time="1.664" 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
|
-
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0
|
|
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
17
|
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
18
18
|
</testcase>
|
|
@@ -198,3 +198,19 @@ export declare const messages: {
|
|
|
198
198
|
es: string;
|
|
199
199
|
};
|
|
200
200
|
};
|
|
201
|
+
export declare const enums: {
|
|
202
|
+
status: {
|
|
203
|
+
'active': {
|
|
204
|
+
ptBR: string;
|
|
205
|
+
es: string;
|
|
206
|
+
};
|
|
207
|
+
'inactive': {
|
|
208
|
+
ptBR: string;
|
|
209
|
+
es: string;
|
|
210
|
+
};
|
|
211
|
+
'absent': {
|
|
212
|
+
ptBR: string;
|
|
213
|
+
es: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
@@ -154,3 +154,19 @@ exports.messages = {
|
|
|
154
154
|
es: 'Ya existe un colaborador registrado con la matrícula y filial informadas: {{employee}}'
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
|
+
exports.enums = {
|
|
158
|
+
status: {
|
|
159
|
+
'active': {
|
|
160
|
+
ptBR: 'Ativo',
|
|
161
|
+
es: 'Activo'
|
|
162
|
+
},
|
|
163
|
+
'inactive': {
|
|
164
|
+
ptBR: 'Inativo',
|
|
165
|
+
es: 'inactivo'
|
|
166
|
+
},
|
|
167
|
+
'absent': {
|
|
168
|
+
ptBR: 'Ausente',
|
|
169
|
+
es: 'Ausente'
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
@@ -43,9 +43,5 @@ exports.messages = {
|
|
|
43
43
|
lease_start_date_must_be_lower_then_devolution_date: {
|
|
44
44
|
ptBR: 'A data de ínício da locação deve ser menor que a data devolução.',
|
|
45
45
|
es: 'El inicio del alquiler debe ser menor que la fecha de devolución.'
|
|
46
|
-
},
|
|
47
|
-
subsidiary_must_be_into_company: {
|
|
48
|
-
ptBR: 'A filial do veículo ({{subsidiary}}) não pertence à empresa do contrato ({{company}}).',
|
|
49
|
-
es: 'La filial del vehículo ({{subsidiary}}) no pertenece a la empresa del contrato ({{company}}).'
|
|
50
46
|
}
|
|
51
47
|
};
|
|
@@ -190,4 +190,21 @@ export const messages = {
|
|
|
190
190
|
ptBR: 'Já existe um colaborador cadastrado com a matrícula e filial informadas: {{employee}}',
|
|
191
191
|
es: 'Ya existe un colaborador registrado con la matrícula y filial informadas: {{employee}}'
|
|
192
192
|
}
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export const enums = {
|
|
196
|
+
status: {
|
|
197
|
+
'active': {
|
|
198
|
+
ptBR: 'Ativo',
|
|
199
|
+
es: 'Activo'
|
|
200
|
+
},
|
|
201
|
+
'inactive': {
|
|
202
|
+
ptBR: 'Inativo',
|
|
203
|
+
es: 'inactivo'
|
|
204
|
+
},
|
|
205
|
+
'absent': {
|
|
206
|
+
ptBR: 'Ausente',
|
|
207
|
+
es: 'Ausente'
|
|
208
|
+
}
|
|
209
|
+
}
|
|
193
210
|
};
|
|
@@ -53,9 +53,5 @@ export const messages = {
|
|
|
53
53
|
lease_start_date_must_be_lower_then_devolution_date: {
|
|
54
54
|
ptBR: 'A data de ínício da locação deve ser menor que a data devolução.',
|
|
55
55
|
es: 'El inicio del alquiler debe ser menor que la fecha de devolución.'
|
|
56
|
-
},
|
|
57
|
-
subsidiary_must_be_into_company: {
|
|
58
|
-
ptBR: 'A filial do veículo ({{subsidiary}}) não pertence à empresa do contrato ({{company}}).',
|
|
59
|
-
es: 'La filial del vehículo ({{subsidiary}}) no pertenece a la empresa del contrato ({{company}}).'
|
|
60
56
|
}
|
|
61
57
|
};
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @sofit/view-
|
|
1
|
+
# @sofit/sofit-view-locale
|
|
2
2
|
|
|
3
|
-
Tradução do sofit view
|
|
3
|
+
Tradução do sofit view
|