@sofit/view-locale 1.36.0 → 1.36.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.219">
2
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-05-08T20:00:47" time="1.488" tests="4">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.327">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-05-10T12:40:27" time="1.56" tests="4">
3
3
  <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" 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="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" 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">
7
+ <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
8
8
  </testcase>
9
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-05-08T20:00:47" time="1.492" tests="4">
13
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.005">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-05-10T12:40:27" time="1.537" tests="4">
13
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" 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.001">
15
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" 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.001">
17
+ <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" 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">
19
+ <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -39,4 +39,8 @@ export declare const fields: {
39
39
  ptBR: string;
40
40
  es: string;
41
41
  };
42
+ observation: {
43
+ ptBR: string;
44
+ es: string;
45
+ };
42
46
  };
@@ -40,5 +40,9 @@ exports.fields = {
40
40
  status: {
41
41
  ptBR: 'Status',
42
42
  es: 'Estatus'
43
+ },
44
+ observation: {
45
+ ptBR: 'Observações',
46
+ es: 'Observaciones'
43
47
  }
44
48
  };
@@ -21,8 +21,8 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { category: {
21
21
  ptBR: 'Chave do Aplicativo',
22
22
  es: 'Clave de aplicación'
23
23
  }, steppe_quantity: {
24
- ptBR: 'Cantidad de estepas',
25
- es: ''
24
+ ptBR: 'Quantidade de estepes',
25
+ es: 'Cantidad de repuestos'
26
26
  }, in_revision: {
27
27
  ptBR: 'Em revisão',
28
28
  es: 'En revisión'
@@ -29,4 +29,16 @@ export declare const messages: {
29
29
  ptBR: string;
30
30
  es: string;
31
31
  };
32
+ has_items_in_warehouse: {
33
+ ptBR: string;
34
+ es: string;
35
+ };
36
+ has_gas_pumps_in_warehouse: {
37
+ ptBR: string;
38
+ es: string;
39
+ };
40
+ has_stock_entry_items_in_warehouse: {
41
+ ptBR: string;
42
+ es: string;
43
+ };
32
44
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const entity_1 = require("../common/entity");
4
4
  exports.name = {
5
5
  ptBR: 'Depósito',
6
- es: 'Depósito'
6
+ es: 'Álmacen'
7
7
  };
8
8
  exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { subsidiary_id: {
9
9
  ptBR: 'Filial',
@@ -16,5 +16,17 @@ exports.messages = {
16
16
  cant_be_disabled: {
17
17
  ptBR: 'O depósito ainda contém itens e não pode ser desativado!',
18
18
  es: 'El depósito todavía contiene elementos y no se puede deshabilitar!'
19
+ },
20
+ has_items_in_warehouse: {
21
+ ptBR: 'O depósito ainda contém itens e não pode ser desativado!',
22
+ es: 'El depósito todavía contiene elementos y no se puede deshabilitar!'
23
+ },
24
+ has_gas_pumps_in_warehouse: {
25
+ ptBR: 'Este depósito tem bombas de combustível, não pode ser excluído.',
26
+ es: 'El álmacen tiene surtidores de combustible, no se puede excluir.'
27
+ },
28
+ has_stock_entry_items_in_warehouse: {
29
+ ptBR: 'Este depósito tem lançamentos de controle de estoque, não pode ser excluído.',
30
+ es: 'Este álmacen tiene ingressos de control de stock, no se puede excluir.'
19
31
  }
20
32
  };
@@ -39,5 +39,9 @@ export const fields = {
39
39
  status: {
40
40
  ptBR: 'Status',
41
41
  es: 'Estatus'
42
+ },
43
+ observation: {
44
+ ptBR: 'Observações',
45
+ es: 'Observaciones'
42
46
  }
43
47
  };
@@ -28,8 +28,8 @@ export const fields = {
28
28
  es: 'Clave de aplicación'
29
29
  },
30
30
  steppe_quantity: {
31
- ptBR: 'Cantidad de estepas',
32
- es: ''
31
+ ptBR: 'Quantidade de estepes',
32
+ es: 'Cantidad de repuestos'
33
33
  },
34
34
  in_revision: {
35
35
  ptBR: 'Em revisão',
@@ -2,7 +2,7 @@ import { ENTITY_COMMON } from '../common/entity';
2
2
 
3
3
  export const name = {
4
4
  ptBR: 'Depósito',
5
- es: 'Depósito'
5
+ es: 'Álmacen'
6
6
  };
7
7
 
8
8
  export const fields = {
@@ -21,5 +21,17 @@ export const messages = {
21
21
  cant_be_disabled: {
22
22
  ptBR: 'O depósito ainda contém itens e não pode ser desativado!',
23
23
  es: 'El depósito todavía contiene elementos y no se puede deshabilitar!'
24
+ },
25
+ has_items_in_warehouse: {
26
+ ptBR: 'O depósito ainda contém itens e não pode ser desativado!',
27
+ es: 'El depósito todavía contiene elementos y no se puede deshabilitar!'
28
+ },
29
+ has_gas_pumps_in_warehouse: {
30
+ ptBR: 'Este depósito tem bombas de combustível, não pode ser excluído.',
31
+ es: 'El álmacen tiene surtidores de combustible, no se puede excluir.'
32
+ },
33
+ has_stock_entry_items_in_warehouse: {
34
+ ptBR: 'Este depósito tem lançamentos de controle de estoque, não pode ser excluído.',
35
+ es: 'Este álmacen tiene ingressos de control de stock, no se puede excluir.'
24
36
  }
25
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.36.0",
3
+ "version": "1.36.1",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",