@pithy-sh/i18n 0.4.0 → 0.5.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,cAkKtB,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,cAmKtB,CAAC"}
@@ -39,6 +39,7 @@ const esErrors = {
39
39
  "auth/invalid_token": "Tu sesión no es válida o ha caducado. Vuelve a iniciar sesión.",
40
40
  "auth/forbidden": "No tienes permiso para hacer esto.",
41
41
  "auth/provider_unavailable": "Este método de acceso no está disponible ahora. Prueba con otro.",
42
+ "auth/session_not_fresh": "Has entrado, pero no hace poco. Vuelve a entrar y reinténtalo. No se ha cambiado nada.",
42
43
  "core/not_found": "No existe el recurso solicitado.",
43
44
  "core/conflict": "La solicitud entra en conflicto con el estado actual.",
44
45
  "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,cAoHvB,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,cA6HvB,CAAC"}
@@ -31,12 +31,17 @@ const esScreens = {
31
31
  "auth/sign_in.provider.label": "Continuar con {provider}",
32
32
  "auth/sign_in.provider_unconfigured": "{provider} no está configurado aquí. Usa el enlace.",
33
33
  "auth/sign_in.provider_silent": "{provider} no respondió. Usa el enlace.",
34
+ "auth/sign_in.refused.title": "No hay ninguna cuenta para este {provider}.",
35
+ "auth/sign_in.refused.primary": "{provider} nos da una sola dirección: la principal de tu cuenta. Esa no coincide con ninguna de aquí.",
36
+ "auth/sign_in.refused.secondary": "Una dirección secundaria no sirve. Al entrar nunca miramos más allá de la principal, y es a propósito.",
37
+ "auth/sign_in.refused.remedy": "Entra con tu correo y luego conecta {provider} desde tu perfil. A partir de ahí funciona sea cual sea tu principal.",
34
38
  "auth/sign_in.divider": "o",
35
39
  "auth/sign_in.email.label": "Correo electrónico",
36
40
  "auth/sign_in.submit": "Envíame un enlace",
37
41
  "auth/sign_in.signup.prompt": "¿Aún no tienes cuenta?",
38
42
  "auth/sign_in.signup.answer": "Al entrar se crea una.",
39
43
  "auth/sign_in.signup.closed": "Solo cuentas existentes.",
44
+ "auth/sign_in.signup.email_only": "Te enviamos un enlace y se crea una. Los botones de arriba solo entran en cuentas que ya existen.",
40
45
  "auth/sign_in.sent.title": "Mira tu correo.",
41
46
  "auth/sign_in.sent.body": "Si esa dirección puede entrar, el enlace ya va en camino. Caduca pronto.",
42
47
  "auth/otp.title": "Introduce el código.",
@@ -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.4.0";
6
+ export declare const PACKAGE_VERSION = "0.5.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.4.0";
7
+ const PACKAGE_VERSION = "0.5.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.4.0",
3
+ "version": "0.5.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.4.0",
38
+ "@pithy-sh/core": "^0.5.0",
39
39
  "hono": "^4.13.2",
40
40
  "react": "^19.0.0",
41
41
  "zod": "^4.4.0"
@@ -44,6 +44,7 @@ export const esErrors: MessageCatalog = {
44
44
  "auth/invalid_token": "Tu sesión no es válida o ha caducado. Vuelve a iniciar sesión.",
45
45
  "auth/forbidden": "No tienes permiso para hacer esto.",
46
46
  "auth/provider_unavailable": "Este método de acceso no está disponible ahora. Prueba con otro.",
47
+ "auth/session_not_fresh": "Has entrado, pero no hace poco. Vuelve a entrar y reinténtalo. No se ha cambiado nada.",
47
48
  "core/not_found": "No existe el recurso solicitado.",
48
49
  "core/conflict": "La solicitud entra en conflicto con el estado actual.",
49
50
  "rate_limit/exceeded": "Demasiadas solicitudes. Inténtalo más tarde.",
@@ -36,12 +36,21 @@ export const esScreens: MessageCatalog = {
36
36
  "auth/sign_in.provider.label": "Continuar con {provider}",
37
37
  "auth/sign_in.provider_unconfigured": "{provider} no está configurado aquí. Usa el enlace.",
38
38
  "auth/sign_in.provider_silent": "{provider} no respondió. Usa el enlace.",
39
+ "auth/sign_in.refused.title": "No hay ninguna cuenta para este {provider}.",
40
+ "auth/sign_in.refused.primary":
41
+ "{provider} nos da una sola dirección: la principal de tu cuenta. Esa no coincide con ninguna de aquí.",
42
+ "auth/sign_in.refused.secondary":
43
+ "Una dirección secundaria no sirve. Al entrar nunca miramos más allá de la principal, y es a propósito.",
44
+ "auth/sign_in.refused.remedy":
45
+ "Entra con tu correo y luego conecta {provider} desde tu perfil. A partir de ahí funciona sea cual sea tu principal.",
39
46
  "auth/sign_in.divider": "o",
40
47
  "auth/sign_in.email.label": "Correo electrónico",
41
48
  "auth/sign_in.submit": "Envíame un enlace",
42
49
  "auth/sign_in.signup.prompt": "¿Aún no tienes cuenta?",
43
50
  "auth/sign_in.signup.answer": "Al entrar se crea una.",
44
51
  "auth/sign_in.signup.closed": "Solo cuentas existentes.",
52
+ "auth/sign_in.signup.email_only":
53
+ "Te enviamos un enlace y se crea una. Los botones de arriba solo entran en cuentas que ya existen.",
45
54
  "auth/sign_in.sent.title": "Mira tu correo.",
46
55
  "auth/sign_in.sent.body": "Si esa dirección puede entrar, el enlace ya va en camino. Caduca pronto.",
47
56
 
@@ -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.4.0";
16
+ export const PACKAGE_VERSION = "0.5.0";