@sofit/view-locale 1.71.3 → 1.73.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.896">
2
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-11-25T19:42:32" time="2.207" 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="2.61">
2
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-01-06T17:30:12" time="1.876" 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">
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-11-25T19:42:32" time="2.204" tests="4">
13
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
12
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-01-06T17:30:12" time="1.878" 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">
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.001">
18
18
  </testcase>
19
- <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
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>
@@ -53,4 +53,8 @@ export declare const messages: {
53
53
  ptBR: string;
54
54
  es: string;
55
55
  };
56
+ item_allocated_in_service_order: {
57
+ ptBR: string;
58
+ es: string;
59
+ };
56
60
  };
@@ -35,5 +35,9 @@ exports.messages = {
35
35
  in_revision_item: {
36
36
  ptBR: 'O item {{item}} está em revisão',
37
37
  es: 'El iten {{item}} está en revisión'
38
+ },
39
+ item_allocated_in_service_order: {
40
+ ptBR: 'O item {{item}} não pode ser removido, pois está sendo utilizado nas ordens de serviço: {{so}}',
41
+ es: 'El iten {{item}} no se puede eliminar, ya que se está utilizando en órdenes de trabajo: {{so}}'
38
42
  }
39
43
  };
@@ -57,6 +57,18 @@ export declare const messages: {
57
57
  ptBR: string;
58
58
  es: string;
59
59
  };
60
+ must_have_date_lower_than_now: {
61
+ ptBR: string;
62
+ es: string;
63
+ };
64
+ must_not_have_newerchange_history: {
65
+ ptBR: string;
66
+ es: string;
67
+ };
68
+ must_not_have_overlaping_change_history: {
69
+ ptBR: string;
70
+ es: string;
71
+ };
60
72
  };
61
73
  export declare const enums: {
62
74
  type: {
@@ -39,6 +39,18 @@ exports.messages = {
39
39
  must_have_field: {
40
40
  ptBR: 'Para registros do tipo {{type}} o campo {{field}} deve ser informado.',
41
41
  es: 'Para registros de tipo {{type}} se debe ingresar el campo {{field}}.'
42
+ },
43
+ must_have_date_lower_than_now: {
44
+ ptBR: 'Não é possível lançar historicos futuros.',
45
+ es: 'Incapaz de lanzar historias futuras.'
46
+ },
47
+ must_not_have_newerchange_history: {
48
+ ptBR: 'Existem históricos mais recentes que o informado.',
49
+ es: 'Hay historias más recientes que las reportadas.'
50
+ },
51
+ must_not_have_overlaping_change_history: {
52
+ ptBR: 'Existem históricos sobrepostos no periodo.',
53
+ es: 'Hay historias superpuestas en el período.'
42
54
  }
43
55
  };
44
56
  exports.enums = {
@@ -45,5 +45,9 @@ export const messages = {
45
45
  in_revision_item: {
46
46
  ptBR: 'O item {{item}} está em revisão',
47
47
  es: 'El iten {{item}} está en revisión'
48
+ },
49
+ item_allocated_in_service_order: {
50
+ ptBR: 'O item {{item}} não pode ser removido, pois está sendo utilizado nas ordens de serviço: {{so}}',
51
+ es: 'El iten {{item}} no se puede eliminar, ya que se está utilizando en órdenes de trabajo: {{so}}'
48
52
  }
49
53
  };
@@ -49,6 +49,18 @@ export const messages = {
49
49
  must_have_field: {
50
50
  ptBR: 'Para registros do tipo {{type}} o campo {{field}} deve ser informado.',
51
51
  es: 'Para registros de tipo {{type}} se debe ingresar el campo {{field}}.'
52
+ },
53
+ must_have_date_lower_than_now: {
54
+ ptBR: 'Não é possível lançar historicos futuros.',
55
+ es: 'Incapaz de lanzar historias futuras.'
56
+ },
57
+ must_not_have_newerchange_history: {
58
+ ptBR: 'Existem históricos mais recentes que o informado.',
59
+ es: 'Hay historias más recientes que las reportadas.'
60
+ },
61
+ must_not_have_overlaping_change_history: {
62
+ ptBR: 'Existem históricos sobrepostos no periodo.',
63
+ es: 'Hay historias superpuestas en el período.'
52
64
  }
53
65
  };
54
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.71.3",
3
+ "version": "1.73.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",