@sofit/view-locale 1.32.0 → 1.32.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.
@@ -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="3.031">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-04-10T15:16:10" time="2.004" tests="4">
3
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" 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.001">
5
+ <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
6
6
  </testcase>
7
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
- <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="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="2019-03-29T20:29:47" time="1.791" tests="4">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-04-10T15:16:10" time="2.066" tests="4">
13
13
  <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.005">
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="Joi tests should return non label message" name="Joi tests should return non label message" 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="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
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="Joi tests should return translated label index" name="Joi tests should return translated label index" 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 seguinte colaborador possui o mesmo CPF: {{employee}}. Favor verificar!',
143
+ es: 'El siguiente colaborador tiene el mismo CPF: {{employee}}. ¡Por favor, consulte!'
144
+ },
145
+ rg_and_rg_issuer_must_not_be_equal: {
146
+ ptBR: 'O seguinte colaborador já possui este RG e Orgão Emissor: {{employee}}. Favor verificar.',
147
+ es: 'El siguiente colaborador ya posee este RG y Organismo Emisor: {{employee}}. Por favor, consulte.'
148
+ },
149
+ must_has_registration_num_filled: {
150
+ ptBR: 'O seguinte colaborador possui os mesmos dados cadastrais: {{employee}}. Favor inserir uma nova matrícula caso deseje redmití-lo!',
151
+ es: 'El siguiente colaborador posee los mismos datos catastrales: {{employee}}. Por favor introduzca una nueva matrícula si desea redimirlo!'
152
+ },
153
+ must_has_different_registration_num_and_subsidiary: {
154
+ ptBR: 'O seguinte colaboradore possui a já possui esta matrícula nesta filial: {{employee}}. Favor verificar.',
155
+ es: 'El siguiente colaborador posee la ya posee esta matrícula en esta filial: {{employee}}. 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 seguinte colaborador possui o mesmo CPF: {{employee}}. Favor verificar!',
179
+ es: 'El siguiente colaborador tiene el mismo CPF: {{employee}}. ¡Por favor, consulte!'
180
+ },
181
+ rg_and_rg_issuer_must_not_be_equal: {
182
+ ptBR: 'O seguinte colaborador já possui este RG e Orgão Emissor: {{employee}}. Favor verificar.',
183
+ es: 'El siguiente colaborador ya posee este RG y Organismo Emisor: {{employee}}. Por favor, consulte.'
184
+ },
185
+ must_has_registration_num_filled: {
186
+ ptBR: 'O seguinte colaborador possui os mesmos dados cadastrais: {{employee}}. Favor inserir uma nova matrícula caso deseje redmití-lo!',
187
+ es: 'El siguiente colaborador posee los mismos datos catastrales: {{employee}}. Por favor introduzca una nueva matrícula si desea redimirlo!'
188
+ },
189
+ must_has_different_registration_num_and_subsidiary: {
190
+ ptBR: 'O seguinte colaboradore possui a já possui esta matrícula nesta filial: {{employee}}. Favor verificar.',
191
+ es: 'El siguiente colaborador posee la ya posee esta matrícula en esta filial: {{employee}}. 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.1",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",