@pithy-sh/i18n 0.5.0 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pithy-sh/i18n",
3
- "version": "0.5.0",
3
+ "version": "0.6.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.5.0",
38
+ "@pithy-sh/core": "^0.6.0",
39
39
  "hono": "^4.13.2",
40
40
  "react": "^19.0.0",
41
41
  "zod": "^4.4.0"
@@ -190,6 +190,15 @@ export const esErrors: MessageCatalog = {
190
190
  "support/classification_failed": "No se ha podido clasificar el mensaje.",
191
191
  "support/reply_failed": "No se ha podido enviar la respuesta.",
192
192
 
193
+ // Organización: pertenencia, funciones, invitaciones y titularidad.
194
+ "organization/not_found": "Esa organización no existe.",
195
+ "organization/forbidden": "Tu función en esta organización no permite esta acción.",
196
+ "organization/invalid_role_catalog": "La declaración de funciones no es válida.",
197
+ "organization/invitation_invalid": "Esa invitación ya no se puede aceptar.",
198
+ "organization/last_administrator": "La organización se quedaría sin nadie que pueda administrarla.",
199
+ "organization/slug_taken": "Ese identificador ya está en uso.",
200
+ "organization/nomination_invalid": "No hay ninguna oferta de titularidad que puedas aceptar.",
201
+
193
202
  // Testers.
194
203
  "testers/cohort_not_found": "Ese grupo de pruebas no existe.",
195
204
  "testers/member_not_found": "No hay ningún participante con esos datos.",
@@ -67,6 +67,20 @@ export const esScreens: MessageCatalog = {
67
67
  "auth/callback.title": "Entrando.",
68
68
  "auth/callback.body": "Un momento.",
69
69
 
70
+ // ── organization: the account chooser ──────────────────────────────────────
71
+ //
72
+ // "Cuenta" rather than "organización" throughout, and it is the same call the English makes in the
73
+ // other direction. The reader is picking between two things they belong to; naming the data model at
74
+ // them is the kind of precision that reads as a form. "Organización" survives where the product's own
75
+ // noun is the subject — an invitation to one, a name on a record — and not here.
76
+ "organization/choose.title": "Elige una cuenta",
77
+ "organization/choose.subtitle": "Perteneces a más de una.",
78
+ "organization/choose.role": "Aquí eres {role}.",
79
+ "organization/choose.empty.title": "Todavía no tienes cuentas",
80
+ "organization/choose.empty.body": "No eres miembro de ninguna cuenta. Pide que alguien te invite.",
81
+ "organization/choose.failed": "No hemos podido cargar tus cuentas.",
82
+ "organization/choose.retry": "Reintentar",
83
+
70
84
  // ── payments: the paywall ──────────────────────────────────────────────────
71
85
  "payments/paywall.title": "Ve más lejos.",
72
86
  "payments/paywall.body": "Elige lo que necesitas. Puedes cambiar de idea más tarde.",
@@ -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.5.0";
16
+ export const PACKAGE_VERSION = "0.6.0";