@pithy-sh/i18n 0.11.0 → 0.12.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 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/catalogs/es/errors.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,QAAQ,EAAE,cA6LtB,CAAC"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/catalogs/es/errors.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,QAAQ,EAAE,cAiMtB,CAAC"}
@@ -43,6 +43,8 @@ const esErrors = {
43
43
  "auth/forbidden": "No tienes permiso para hacer esto.",
44
44
  "auth/provider_unavailable": "Este método de acceso no está disponible ahora. Prueba con otro.",
45
45
  "auth/session_not_fresh": "Has entrado, pero no hace poco. Vuelve a entrar y reinténtalo. No se ha cambiado nada.",
46
+ "auth/account_suspended": "Tu cuenta está suspendida.",
47
+ "auth/account_deleted": "Tu cuenta está eliminada. Aún se puede recuperar durante un tiempo.",
46
48
  "core/not_found": "No existe el recurso solicitado.",
47
49
  "core/conflict": "La solicitud entra en conflicto con el estado actual.",
48
50
  "rate_limit/exceeded": "Demasiadas solicitudes. Inténtalo más tarde.",
@@ -1 +1 @@
1
- {"version":3,"file":"screens.d.ts","sourceRoot":"","sources":["../../../src/catalogs/es/screens.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,SAAS,EAAE,cA8IvB,CAAC"}
1
+ {"version":3,"file":"screens.d.ts","sourceRoot":"","sources":["../../../src/catalogs/es/screens.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,SAAS,EAAE,cA8JvB,CAAC"}
@@ -53,6 +53,20 @@ const esScreens = {
53
53
  "auth/otp.resend": "Enviar un código nuevo",
54
54
  "auth/callback.title": "Entrando.",
55
55
  "auth/callback.body": "Un momento.",
56
+ "auth/suspended.title": "Tu cuenta está suspendida.",
57
+ "auth/suspended.body": "No puedes iniciar sesión ni usar esta app mientras siga suspendida.",
58
+ "auth/suspended.detail": "Te enviamos el motivo a la dirección de tu cuenta.",
59
+ "auth/suspended.contact": "Si crees que es un error, responde a ese correo.",
60
+ "auth/suspended.sign_out": "Cerrar sesión",
61
+ "auth/deleted.title": "Tu cuenta está eliminada.",
62
+ "auth/deleted.body": "No puedes iniciar sesión. Sus datos se borran cuando termine el plazo de eliminación.",
63
+ "auth/deleted.detail": "Hasta entonces se puede recuperar. Te enviamos la fecha a la dirección de tu cuenta.",
64
+ "auth/deleted.contact": "Para recuperarla, responde a ese correo antes de esa fecha.",
65
+ "auth/deleted.sign_out": "Cerrar sesión",
66
+ "organization/suspended.title": "Esta organización está suspendida.",
67
+ "organization/suspended.body": "Nadie puede usarla hasta que se reactive. Tu propia cuenta no se ve afectada.",
68
+ "organization/suspended.contact": "A sus propietarios se les dijo el motivo. Pregunta a uno de ellos.",
69
+ "organization/suspended.home": "Ir al inicio",
56
70
  "organization/choose.title": "Elige una cuenta",
57
71
  "organization/choose.subtitle": "Perteneces a más de una.",
58
72
  "organization/choose.role": "Aquí eres {role}.",
@@ -3,5 +3,5 @@
3
3
  /** This package's npm name — the join key against a release feed. */
4
4
  export declare const PACKAGE_NAME = "@pithy-sh/i18n";
5
5
  /** This package's version, stamped from its own package.json at generation time. */
6
- export declare const PACKAGE_VERSION = "0.11.0";
6
+ export declare const PACKAGE_VERSION = "0.12.0";
7
7
  //# sourceMappingURL=version.generated.d.ts.map
@@ -4,6 +4,6 @@
4
4
  /** This package's npm name — the join key against a release feed. */
5
5
  const PACKAGE_NAME = "@pithy-sh/i18n";
6
6
  /** This package's version, stamped from its own package.json at generation time. */
7
- const PACKAGE_VERSION = "0.11.0";
7
+ const PACKAGE_VERSION = "0.12.0";
8
8
  //#endregion
9
9
  export { PACKAGE_NAME, PACKAGE_VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pithy-sh/i18n",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "reset": "bun run clean && rm -rf node_modules"
36
36
  },
37
37
  "peerDependencies": {
38
- "@pithy-sh/core": "^0.11.0",
38
+ "@pithy-sh/core": "^0.12.0",
39
39
  "hono": "^4.13.2",
40
40
  "react": "^19.0.0",
41
41
  "zod": "^4.4.0"
@@ -48,6 +48,10 @@ export const esErrors: MessageCatalog = {
48
48
  "auth/forbidden": "No tienes permiso para hacer esto.",
49
49
  "auth/provider_unavailable": "Este método de acceso no está disponible ahora. Prueba con otro.",
50
50
  "auth/session_not_fresh": "Has entrado, pero no hace poco. Vuelve a entrar y reinténtalo. No se ha cambiado nada.",
51
+ // The reason an operator gave is English we did not write, so it stays the payload's `message` and is
52
+ // not here: a translating client renders this sentence and the screen shows the reason beside it.
53
+ "auth/account_suspended": "Tu cuenta está suspendida.",
54
+ "auth/account_deleted": "Tu cuenta está eliminada. Aún se puede recuperar durante un tiempo.",
51
55
  "core/not_found": "No existe el recurso solicitado.",
52
56
  "core/conflict": "La solicitud entra en conflicto con el estado actual.",
53
57
  "rate_limit/exceeded": "Demasiadas solicitudes. Inténtalo más tarde.",
@@ -70,6 +70,22 @@ export const esScreens: MessageCatalog = {
70
70
  "auth/callback.title": "Entrando.",
71
71
  "auth/callback.body": "Un momento.",
72
72
 
73
+ // ── auth: an account that may not act ───────────────────────────────────────
74
+ "auth/suspended.title": "Tu cuenta está suspendida.",
75
+ "auth/suspended.body": "No puedes iniciar sesión ni usar esta app mientras siga suspendida.",
76
+ "auth/suspended.detail": "Te enviamos el motivo a la dirección de tu cuenta.",
77
+ "auth/suspended.contact": "Si crees que es un error, responde a ese correo.",
78
+ "auth/suspended.sign_out": "Cerrar sesión",
79
+ "auth/deleted.title": "Tu cuenta está eliminada.",
80
+ "auth/deleted.body": "No puedes iniciar sesión. Sus datos se borran cuando termine el plazo de eliminación.",
81
+ "auth/deleted.detail": "Hasta entonces se puede recuperar. Te enviamos la fecha a la dirección de tu cuenta.",
82
+ "auth/deleted.contact": "Para recuperarla, responde a ese correo antes de esa fecha.",
83
+ "auth/deleted.sign_out": "Cerrar sesión",
84
+ "organization/suspended.title": "Esta organización está suspendida.",
85
+ "organization/suspended.body": "Nadie puede usarla hasta que se reactive. Tu propia cuenta no se ve afectada.",
86
+ "organization/suspended.contact": "A sus propietarios se les dijo el motivo. Pregunta a uno de ellos.",
87
+ "organization/suspended.home": "Ir al inicio",
88
+
73
89
  // ── organization: the account chooser ──────────────────────────────────────
74
90
  //
75
91
  // "Cuenta" rather than "organización" throughout, and it is the same call the English makes in the
@@ -13,4 +13,4 @@
13
13
  export const PACKAGE_NAME = "@pithy-sh/i18n";
14
14
 
15
15
  /** This package's version, stamped from its own package.json at generation time. */
16
- export const PACKAGE_VERSION = "0.11.0";
16
+ export const PACKAGE_VERSION = "0.12.0";