@sofit/view-locale 1.60.0 → 1.62.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.
@@ -1,22 +1,22 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.581">
2
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-08-28T14:50:16" time="1.806" tests="4">
3
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.095">
2
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-08-30T17:22:34" time="2.137" tests="4">
3
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
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.004">
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="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
7
+ <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
8
8
  </testcase>
9
- <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
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="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-08-28T14:50:16" time="1.808" tests="4">
13
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.005">
12
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-08-30T17:22:34" time="2.291" 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="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
15
+ <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.004">
16
16
  </testcase>
17
- <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
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>
19
- <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
19
+ <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -30,7 +30,7 @@ exports.databaseErrors = {
30
30
  es: 'No se encontró el registro de {{resource}}.'
31
31
  },
32
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}}'
33
+ ptBR: ' mais de um registro com o valor {{value}} no campo {{column}} em {{table}}',
34
+ es: 'Hay más de un registro con el valor {{value}} en el campo {{column}} en {{table}}'
35
35
  }
36
36
  };
@@ -147,6 +147,10 @@ export declare const fields: {
147
147
  ptBR: string;
148
148
  es: string;
149
149
  };
150
+ manager_id: {
151
+ ptBR: string;
152
+ es: string;
153
+ };
150
154
  name: {
151
155
  ptBR: string;
152
156
  es: string;
@@ -205,6 +209,10 @@ export declare const messages: {
205
209
  ptBR: string;
206
210
  es: string;
207
211
  };
212
+ there_are_managers_with_same_name: {
213
+ ptBR: string;
214
+ es: string;
215
+ };
208
216
  immediate_manager_can_not_be_yourself: {
209
217
  ptBR: string;
210
218
  es: string;
@@ -113,6 +113,9 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { active: {
113
113
  }, statement_of_responsibility_file_url: {
114
114
  ptBR: 'Arquivo do Termo de responsabilidade',
115
115
  es: 'Archivo del Término de responsabilidad'
116
+ }, manager_id: {
117
+ ptBR: 'Gestor imediato',
118
+ es: 'Gerente inmediato'
116
119
  } });
117
120
  exports.messages = {
118
121
  associated_at_driver_control_deactivate: {
@@ -159,6 +162,10 @@ exports.messages = {
159
162
  ptBR: 'O gestor imediato deve estar vinculado a um usuário.',
160
163
  es: 'El gerente inmediato debe estar vinculado a un usuario.'
161
164
  },
165
+ there_are_managers_with_same_name: {
166
+ ptBR: 'Há mais de um gestor imediato com o nome: {{name}}',
167
+ es: 'Ya más de un gerente inmediato con el nombre: {{name}}'
168
+ },
162
169
  immediate_manager_can_not_be_yourself: {
163
170
  ptBR: 'Não é possível informar o gestor imediato como sendo o próprio colaborador.',
164
171
  es: 'No es posible informar al gerente inmediato como el colaborador mismo'
@@ -28,7 +28,7 @@ export const databaseErrors = {
28
28
  es: 'No se encontró el registro de {{resource}}.'
29
29
  },
30
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}}'
31
+ ptBR: ' mais de um registro com o valor {{value}} no campo {{column}} em {{table}}',
32
+ es: 'Hay más de un registro con el valor {{value}} en el campo {{column}} en {{table}}'
33
33
  }
34
34
  };
@@ -150,6 +150,10 @@ export const fields = {
150
150
  statement_of_responsibility_file_url: {
151
151
  ptBR: 'Arquivo do Termo de responsabilidade',
152
152
  es: 'Archivo del Término de responsabilidad'
153
+ },
154
+ manager_id: {
155
+ ptBR: 'Gestor imediato',
156
+ es: 'Gerente inmediato'
153
157
  }
154
158
  };
155
159
 
@@ -198,6 +202,10 @@ export const messages = {
198
202
  ptBR: 'O gestor imediato deve estar vinculado a um usuário.',
199
203
  es: 'El gerente inmediato debe estar vinculado a un usuario.'
200
204
  },
205
+ there_are_managers_with_same_name: {
206
+ ptBR: 'Há mais de um gestor imediato com o nome: {{name}}',
207
+ es: 'Ya más de un gerente inmediato con el nombre: {{name}}'
208
+ },
201
209
  immediate_manager_can_not_be_yourself: {
202
210
  ptBR: 'Não é possível informar o gestor imediato como sendo o próprio colaborador.',
203
211
  es: 'No es posible informar al gerente inmediato como el colaborador mismo'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.60.0",
3
+ "version": "1.62.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",