@hilvana/recipes 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/i18n.js +4 -2
  2. package/package.json +4 -4
package/dist/i18n.js CHANGED
@@ -5,7 +5,7 @@ const messages = {
5
5
  INVALID_RANGE: 'El rango de páginas "{expr}" no es válido.',
6
6
  PAGE_OUT_OF_RANGE: 'La página {page} no existe; el documento tiene {pageCount}.',
7
7
  NO_INPUTS: 'No hay archivos de entrada.',
8
- ENCRYPTED: 'El PDF está protegido con contraseña.',
8
+ ENCRYPTED: 'El PDF está protegido (con contraseña o con restricciones de uso) y Hilvana todavía no puede procesarlo. Ábrelo en tu lector de PDF y guárdalo o imprímelo como PDF sin protección.',
9
9
  INVALID_PDF: 'El archivo no es un PDF válido.',
10
10
  UNSUPPORTED_IMAGE: 'La imagen debe ser PNG o JPEG.',
11
11
  WOULD_REMOVE_ALL_PAGES: 'La operación eliminaría todas las páginas.',
@@ -18,6 +18,7 @@ const messages = {
18
18
  NOT_A_PDF: '"{name}" debe ser un PDF o un documento de Word (.docx).',
19
19
  NOT_DOCX: '"{name}" no es un documento de Word (.docx).',
20
20
  ENCRYPTED_DOCX: '"{name}" está protegido con contraseña; ábrelo en Word y guárdalo sin contraseña.',
21
+ DOCX_TOO_LARGE: '"{name}" se expande a un tamaño excesivo al abrirlo; no se procesó para proteger tu equipo.',
21
22
  CORRUPT_DOCX: '"{name}" está dañado o no se puede leer.',
22
23
  'step.convertWord': 'Convertir {file} de Word a PDF',
23
24
  'step.mergeAllDocs': 'Unir todos los documentos (PDF y Word) en el orden recibido',
@@ -74,7 +75,7 @@ const messages = {
74
75
  INVALID_RANGE: 'The page range "{expr}" is not valid.',
75
76
  PAGE_OUT_OF_RANGE: 'Page {page} does not exist; the document has {pageCount}.',
76
77
  NO_INPUTS: 'There are no input files.',
77
- ENCRYPTED: 'The PDF is password protected.',
78
+ ENCRYPTED: 'The PDF is protected (by a password or usage restrictions) and Hilvana cannot process it yet. Open it in your PDF reader and save or print it as an unprotected PDF.',
78
79
  INVALID_PDF: 'The file is not a valid PDF.',
79
80
  UNSUPPORTED_IMAGE: 'The image must be PNG or JPEG.',
80
81
  WOULD_REMOVE_ALL_PAGES: 'The operation would remove every page.',
@@ -86,6 +87,7 @@ const messages = {
86
87
  NOT_A_PDF: '"{name}" must be a PDF or a Word document (.docx).',
87
88
  NOT_DOCX: '"{name}" is not a Word document (.docx).',
88
89
  ENCRYPTED_DOCX: '"{name}" is password protected; open it in Word and save it without a password.',
90
+ DOCX_TOO_LARGE: '"{name}" expands to an excessive size when opened; it was not processed, to protect your device.',
89
91
  CORRUPT_DOCX: '"{name}" is damaged or cannot be read.',
90
92
  'step.convertWord': 'Convert {file} from Word to PDF',
91
93
  'step.mergeAllDocs': 'Merge every document (PDF and Word) in the order received',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hilvana/recipes",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Hilvana recipes: a versioned JSON format for chained PDF and Word operations, with validation, execution and goal verification.",
5
5
  "keywords": [
6
6
  "pdf",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/gethilvana/hilvana",
20
+ "url": "git+https://github.com/gethilvana/hilvana.git",
21
21
  "directory": "packages/recipes"
22
22
  },
23
23
  "type": "module",
@@ -43,8 +43,8 @@
43
43
  "provenance": true
44
44
  },
45
45
  "dependencies": {
46
- "@hilvana/core": "0.1.0",
46
+ "@hilvana/core": "0.1.1",
47
47
  "zod": "^4.1.0",
48
- "@hilvana/office": "0.1.0"
48
+ "@hilvana/office": "0.1.1"
49
49
  }
50
50
  }