@quatrain/i18n-es 1.0.4

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.
File without changes
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # @quatrain/i18n-es
2
+
3
+ Spanish language translation bundle for the `@quatrain/i18n` registry.
4
+
5
+ ## Installation
6
+
7
+ This package is managed internally within the workspaces:
8
+ ```json
9
+ "dependencies": {
10
+ "@quatrain/i18n-es": "workspace:*"
11
+ }
12
+ ```
13
+
14
+ ## License
15
+
16
+ AGPL-3.0-only
@@ -0,0 +1,3 @@
1
+ import { QuatrainDictionary } from '@quatrain/i18n';
2
+ export declare const esDictionary: QuatrainDictionary;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAKnD,eAAO,MAAM,YAAY,EAAE,kBAmF1B,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.esDictionary = void 0;
4
+ exports.esDictionary = {
5
+ table: {
6
+ uid: 'Identificador',
7
+ id: 'ID',
8
+ status: 'Estado',
9
+ createdAt: 'Creado el',
10
+ createdBy: 'Creado por',
11
+ updatedAt: 'Modificado el',
12
+ updatedBy: 'Modificado por',
13
+ deletedAt: 'Eliminado el',
14
+ deletedBy: 'Eliminado por',
15
+ showMeta: 'Mostrar columnas de metadatos del sistema',
16
+ noData: 'No hay datos disponibles',
17
+ rowsPerPage: 'Filas por página',
18
+ searchPlaceholder: 'Buscar...',
19
+ loading: 'Cargando datos...'
20
+ },
21
+ statuses: {
22
+ active: 'Activo',
23
+ approved: 'Aprobado',
24
+ archived: 'Archivado',
25
+ blocked: 'Bloqueado',
26
+ cancelled: 'Cancelado',
27
+ completed: 'Completado',
28
+ converting: 'Convirtiendo',
29
+ created: 'Creado',
30
+ deletable: 'Eliminable',
31
+ deleted: 'Eliminado',
32
+ disabled: 'Deshabilitado',
33
+ done: 'Hecho',
34
+ draft: 'Borrador',
35
+ downloading: 'Descargando',
36
+ downloaded: 'Descargado',
37
+ download_ko: 'Error de descarga',
38
+ error: 'Error',
39
+ expired: 'Expirado',
40
+ failed: 'Fallido',
41
+ generating: 'Generando',
42
+ generated: 'Generado',
43
+ in_progress: 'En progreso',
44
+ ko: 'Fallido',
45
+ ok: 'Aceptar',
46
+ paused: 'Pausado',
47
+ pending: 'Pendiente',
48
+ preparing: 'Preparando',
49
+ processing: 'Procesando',
50
+ published: 'Publicado',
51
+ queued: 'En cola',
52
+ rejected: 'Rechazado',
53
+ running: 'En ejecución',
54
+ success: 'Éxito',
55
+ suspended: 'Suspendido',
56
+ unknown: 'Desconocido',
57
+ updated: 'Actualizado',
58
+ uploading: 'Subiendo',
59
+ uploaded: 'Subido',
60
+ upload_ko: 'Error de subida',
61
+ validated: 'Validado',
62
+ zipping: 'Archivando'
63
+ },
64
+ errors: {
65
+ weak_password: 'La contraseña no es lo suficientemente compleja',
66
+ },
67
+ passwordChange: {
68
+ title: 'Restablecer contraseña',
69
+ subtitle: 'Cree una nueva contraseña segura para su cuenta',
70
+ newPasswordLabel: 'Nueva contraseña',
71
+ newPasswordPlaceholder: 'Escriba su nueva contraseña',
72
+ confirmPasswordLabel: 'Confirmar contraseña',
73
+ confirmPasswordPlaceholder: 'Confirme su nueva contraseña',
74
+ strengthLabel: 'Fortaleza:',
75
+ strengthWeak: 'Débil (mín. 8 caracteres, combinación de mayúsculas/minúsculas/números/especiales)',
76
+ strengthFair: 'Aceptable',
77
+ strengthGood: 'Buena',
78
+ strengthStrong: 'Fuerte',
79
+ passwordsMatch: 'Las contraseñas coinciden',
80
+ passwordsDoNotMatch: 'Las contraseñas no coinciden',
81
+ updateButton: 'Actualizar contraseña',
82
+ successHeader: 'Restablecimiento de contraseña exitoso',
83
+ successContent: 'Su contraseña ha sido actualizada. Redirigiendo a la página de inicio de sesión...',
84
+ failedHeader: 'Error al restablecer la contraseña',
85
+ failedGeneric: 'Ocurrió un error al actualizar su contraseña.'
86
+ }
87
+ };
88
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAKa,QAAA,YAAY,GAAuB;IAC5C,KAAK,EAAE;QACH,GAAG,EAAE,eAAe;QACpB,EAAE,EAAE,IAAI;QACR,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,eAAe;QAC1B,SAAS,EAAE,gBAAgB;QAC3B,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,eAAe;QAC1B,QAAQ,EAAE,2CAA2C;QACrD,MAAM,EAAE,0BAA0B;QAClC,WAAW,EAAE,kBAAkB;QAC/B,iBAAiB,EAAE,WAAW;QAC9B,OAAO,EAAE,mBAAmB;KAC/B;IACD,QAAQ,EAAE;QACN,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,cAAc;QAC1B,OAAO,EAAE,QAAQ;QACjB,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,WAAW;QACpB,QAAQ,EAAE,eAAe;QACzB,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,aAAa;QAC1B,UAAU,EAAE,YAAY;QACxB,WAAW,EAAE,mBAAmB;QAChC,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,WAAW;QACvB,SAAS,EAAE,UAAU;QACrB,WAAW,EAAE,aAAa;QAC1B,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,SAAS;QACb,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,YAAY;QACxB,SAAS,EAAE,WAAW;QACtB,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,cAAc;QACvB,OAAO,EAAE,OAAO;QAChB,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,aAAa;QACtB,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE,iBAAiB;QAC5B,SAAS,EAAE,UAAU;QACrB,OAAO,EAAE,YAAY;KACxB;IACD,MAAM,EAAE;QACJ,aAAa,EAAE,iDAAiD;KACnE;IACD,cAAc,EAAE;QACZ,KAAK,EAAE,wBAAwB;QAC/B,QAAQ,EAAE,iDAAiD;QAC3D,gBAAgB,EAAE,kBAAkB;QACpC,sBAAsB,EAAE,6BAA6B;QACrD,oBAAoB,EAAE,sBAAsB;QAC5C,0BAA0B,EAAE,8BAA8B;QAC1D,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,oFAAoF;QAClG,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,OAAO;QACrB,cAAc,EAAE,QAAQ;QACxB,cAAc,EAAE,2BAA2B;QAC3C,mBAAmB,EAAE,8BAA8B;QACnD,YAAY,EAAE,uBAAuB;QACrC,aAAa,EAAE,wCAAwC;QACvD,cAAc,EAAE,oFAAoF;QACpG,YAAY,EAAE,oCAAoC;QAClD,aAAa,EAAE,+CAA+C;KACjE;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const index_1 = require("./index");
4
+ describe('esDictionary', () => {
5
+ it('should contain Spanish table translation keys', () => {
6
+ expect(index_1.esDictionary.table.uid).toBe('Identificador');
7
+ expect(index_1.esDictionary.table.searchPlaceholder).toBe('Buscar...');
8
+ });
9
+ it('should contain Spanish statuses translations', () => {
10
+ expect(index_1.esDictionary.statuses?.active).toBe('Activo');
11
+ expect(index_1.esDictionary.statuses?.draft).toBe('Borrador');
12
+ expect(index_1.esDictionary.statuses?.zipping).toBe('Archivando');
13
+ });
14
+ });
15
+ //# sourceMappingURL=index.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":";;AAAA,mCAAsC;AAEtC,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACtD,MAAM,CAAC,oBAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QACpD,MAAM,CAAC,oBAAY,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IACjE,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;QACrD,MAAM,CAAC,oBAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QACpD,MAAM,CAAC,oBAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACrD,MAAM,CAAC,oBAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;IAC5D,CAAC,CAAC,CAAA;AACL,CAAC,CAAC,CAAA"}
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@quatrain/i18n-es",
3
+ "version": "1.0.4",
4
+ "main": "src/index.ts",
5
+ "license": "AGPL-3.0-only",
6
+ "dependencies": {
7
+ "@quatrain/i18n": "^1.0.7"
8
+ },
9
+ "devDependencies": {
10
+ "typescript": "^5.2.2"
11
+ },
12
+ "scripts": {
13
+ "build": "tsc"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/Quatrain/Core.git",
18
+ "directory": "packages/i18n-es"
19
+ },
20
+ "publishConfig": {
21
+ "access": "public"
22
+ }
23
+ }
@@ -0,0 +1,14 @@
1
+ import { esDictionary } from './index'
2
+
3
+ describe('esDictionary', () => {
4
+ it('should contain Spanish table translation keys', () => {
5
+ expect(esDictionary.table.uid).toBe('Identificador')
6
+ expect(esDictionary.table.searchPlaceholder).toBe('Buscar...')
7
+ })
8
+
9
+ it('should contain Spanish statuses translations', () => {
10
+ expect(esDictionary.statuses?.active).toBe('Activo')
11
+ expect(esDictionary.statuses?.draft).toBe('Borrador')
12
+ expect(esDictionary.statuses?.zipping).toBe('Archivando')
13
+ })
14
+ })
package/src/index.ts ADDED
@@ -0,0 +1,89 @@
1
+ import { QuatrainDictionary } from '@quatrain/i18n'
2
+
3
+ /**
4
+ * Spanish translation dictionary mapping for Quatrain table and UI components.
5
+ */
6
+ export const esDictionary: QuatrainDictionary = {
7
+ table: {
8
+ uid: 'Identificador',
9
+ id: 'ID',
10
+ status: 'Estado',
11
+ createdAt: 'Creado el',
12
+ createdBy: 'Creado por',
13
+ updatedAt: 'Modificado el',
14
+ updatedBy: 'Modificado por',
15
+ deletedAt: 'Eliminado el',
16
+ deletedBy: 'Eliminado por',
17
+ showMeta: 'Mostrar columnas de metadatos del sistema',
18
+ noData: 'No hay datos disponibles',
19
+ rowsPerPage: 'Filas por página',
20
+ searchPlaceholder: 'Buscar...',
21
+ loading: 'Cargando datos...'
22
+ },
23
+ statuses: {
24
+ active: 'Activo',
25
+ approved: 'Aprobado',
26
+ archived: 'Archivado',
27
+ blocked: 'Bloqueado',
28
+ cancelled: 'Cancelado',
29
+ completed: 'Completado',
30
+ converting: 'Convirtiendo',
31
+ created: 'Creado',
32
+ deletable: 'Eliminable',
33
+ deleted: 'Eliminado',
34
+ disabled: 'Deshabilitado',
35
+ done: 'Hecho',
36
+ draft: 'Borrador',
37
+ downloading: 'Descargando',
38
+ downloaded: 'Descargado',
39
+ download_ko: 'Error de descarga',
40
+ error: 'Error',
41
+ expired: 'Expirado',
42
+ failed: 'Fallido',
43
+ generating: 'Generando',
44
+ generated: 'Generado',
45
+ in_progress: 'En progreso',
46
+ ko: 'Fallido',
47
+ ok: 'Aceptar',
48
+ paused: 'Pausado',
49
+ pending: 'Pendiente',
50
+ preparing: 'Preparando',
51
+ processing: 'Procesando',
52
+ published: 'Publicado',
53
+ queued: 'En cola',
54
+ rejected: 'Rechazado',
55
+ running: 'En ejecución',
56
+ success: 'Éxito',
57
+ suspended: 'Suspendido',
58
+ unknown: 'Desconocido',
59
+ updated: 'Actualizado',
60
+ uploading: 'Subiendo',
61
+ uploaded: 'Subido',
62
+ upload_ko: 'Error de subida',
63
+ validated: 'Validado',
64
+ zipping: 'Archivando'
65
+ },
66
+ errors: {
67
+ weak_password: 'La contraseña no es lo suficientemente compleja',
68
+ },
69
+ passwordChange: {
70
+ title: 'Restablecer contraseña',
71
+ subtitle: 'Cree una nueva contraseña segura para su cuenta',
72
+ newPasswordLabel: 'Nueva contraseña',
73
+ newPasswordPlaceholder: 'Escriba su nueva contraseña',
74
+ confirmPasswordLabel: 'Confirmar contraseña',
75
+ confirmPasswordPlaceholder: 'Confirme su nueva contraseña',
76
+ strengthLabel: 'Fortaleza:',
77
+ strengthWeak: 'Débil (mín. 8 caracteres, combinación de mayúsculas/minúsculas/números/especiales)',
78
+ strengthFair: 'Aceptable',
79
+ strengthGood: 'Buena',
80
+ strengthStrong: 'Fuerte',
81
+ passwordsMatch: 'Las contraseñas coinciden',
82
+ passwordsDoNotMatch: 'Las contraseñas no coinciden',
83
+ updateButton: 'Actualizar contraseña',
84
+ successHeader: 'Restablecimiento de contraseña exitoso',
85
+ successContent: 'Su contraseña ha sido actualizada. Redirigiendo a la página de inicio de sesión...',
86
+ failedHeader: 'Error al restablecer la contraseña',
87
+ failedGeneric: 'Ocurrió un error al actualizar su contraseña.'
88
+ }
89
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "rootDir": "src",
5
+ "outDir": "dist",
6
+ "lib": ["ES2022"],
7
+ "paths": {}
8
+ },
9
+ "include": ["src/**/*"],
10
+ "exclude": ["node_modules", "dist"]
11
+ }