@sofit/view-locale 1.32.0 → 1.32.2

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.642">
2
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-03-29T20:29:47" time="1.749" tests="4">
3
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.188">
2
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-04-10T16:53:08" time="1.464" 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="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
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="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" 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="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
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="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-03-29T20:29:47" time="1.791" 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-04-10T16:53:08" time="1.453" 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="Joi tests should return non label message" name="Joi tests should return non label message" time="0.004">
15
+ <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
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">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -181,4 +181,20 @@ export declare const messages: {
181
181
  ptBR: string;
182
182
  es: string;
183
183
  };
184
+ cpf_and_name_must_not_be_equal: {
185
+ ptBR: string;
186
+ es: string;
187
+ };
188
+ rg_and_rg_issuer_must_not_be_equal: {
189
+ ptBR: string;
190
+ es: string;
191
+ };
192
+ must_has_registration_num_filled: {
193
+ ptBR: string;
194
+ es: string;
195
+ };
196
+ must_has_different_registration_num_and_subsidiary: {
197
+ ptBR: string;
198
+ es: string;
199
+ };
184
200
  };
@@ -137,5 +137,21 @@ exports.messages = {
137
137
  no_email: {
138
138
  ptBR: 'O colaborador não possui e-mail informado!',
139
139
  es: '¡El colaborador no tiene e-mail informado!'
140
+ },
141
+ cpf_and_name_must_not_be_equal: {
142
+ ptBR: 'O colaborador {{employee}} já possui este mesmo CPF. Favor verificar!',
143
+ es: 'El colaborador {{employee}} ya posee este mismo CPF. ¡Por favor, consulte!'
144
+ },
145
+ rg_and_rg_issuer_must_not_be_equal: {
146
+ ptBR: 'O colaborador {{employee}} já possui este mesmo RG e Orgão Emissor. Favor verificar.',
147
+ es: 'El colaborador {{employee}} ya posee este mismo RG y Órgano Emisor. Por favor, consulte.'
148
+ },
149
+ must_has_registration_num_filled: {
150
+ ptBR: 'O colaborador {{employee}} possui RG, Orgão emissor, Nome e Matrícula iaguais. Favor inserir uma nova matrícula caso deseje redmití-lo!',
151
+ es: 'El colaborador {{employee}} posee RG, Organismo emisor, Nombre y Matrícula iaguais. Por favor introduzca una nueva matrícula si desea redimirlo! '
152
+ },
153
+ must_has_different_registration_num_and_subsidiary: {
154
+ ptBR: 'O colaborador {{employee}} já possui esta mesma matrícula nesta mesma filial. Favor verificar.',
155
+ es: 'El colaborador {{employee}} ya posee esta misma matrícula en esta misma filial. Por favor, consulte.'
140
156
  }
141
157
  };
@@ -173,5 +173,21 @@ export const messages = {
173
173
  no_email: {
174
174
  ptBR: 'O colaborador não possui e-mail informado!',
175
175
  es: '¡El colaborador no tiene e-mail informado!'
176
+ },
177
+ cpf_and_name_must_not_be_equal: {
178
+ ptBR: 'O colaborador {{employee}} já possui este mesmo CPF. Favor verificar!',
179
+ es: 'El colaborador {{employee}} ya posee este mismo CPF. ¡Por favor, consulte!'
180
+ },
181
+ rg_and_rg_issuer_must_not_be_equal: {
182
+ ptBR: 'O colaborador {{employee}} já possui este mesmo RG e Orgão Emissor. Favor verificar.',
183
+ es: 'El colaborador {{employee}} ya posee este mismo RG y Órgano Emisor. Por favor, consulte.'
184
+ },
185
+ must_has_registration_num_filled: {
186
+ ptBR: 'O colaborador {{employee}} possui RG, Orgão emissor, Nome e Matrícula iaguais. Favor inserir uma nova matrícula caso deseje redmití-lo!',
187
+ es: 'El colaborador {{employee}} posee RG, Organismo emisor, Nombre y Matrícula iaguais. Por favor introduzca una nueva matrícula si desea redimirlo! '
188
+ },
189
+ must_has_different_registration_num_and_subsidiary: {
190
+ ptBR: 'O colaborador {{employee}} já possui esta mesma matrícula nesta mesma filial. Favor verificar.',
191
+ es: 'El colaborador {{employee}} ya posee esta misma matrícula en esta misma filial. Por favor, consulte.'
176
192
  }
177
193
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.32.0",
3
+ "version": "1.32.2",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",