@pithy-sh/i18n 0.15.1 → 0.16.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/dist/catalogs/es/errors.d.ts +1 -3
- package/dist/catalogs/es/errors.d.ts.map +1 -1
- package/dist/catalogs/es/errors.js +3 -3
- package/dist/version.generated.d.ts +1 -1
- package/dist/version.generated.js +1 -1
- package/package.json +2 -2
- package/src/catalogs/es/errors.ts +3 -3
- package/src/version.generated.ts +1 -1
|
@@ -19,9 +19,7 @@ import type { MessageCatalog } from "@pithy-sh/core/src/i18n/catalog";
|
|
|
19
19
|
* nobody supplied written out as `{apiAnswer}`, so writing one here is a claim about a *call site*:
|
|
20
20
|
* that every throw of this code passes that name, on the degraded paths too. `core`'s
|
|
21
21
|
* `GUARANTEED_ERROR_PARAMS` is where a throw site makes that promise, and `./errors.test.ts` holds this
|
|
22
|
-
* file to it — a placeholder no code guarantees fails there.
|
|
23
|
-
* of placeholders, because no throw site passed `params` at all; `@pithy-sh/cloudflare`'s
|
|
24
|
-
* `cloudflareRefusal` is the first that does (#534), which is why the pin changed rather than relaxed.
|
|
22
|
+
* file to it — a placeholder no code guarantees fails there.
|
|
25
23
|
*
|
|
26
24
|
* `cloudflare/request_failed` is that sentence. Cloudflare's own words are English we did not write and
|
|
27
25
|
* cannot translate, but its numeric code is what an operator quotes into a search, and dropping it left
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,QAAQ,EAAE,cAuNtB,CAAC"}
|
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
* nobody supplied written out as `{apiAnswer}`, so writing one here is a claim about a *call site*:
|
|
20
20
|
* that every throw of this code passes that name, on the degraded paths too. `core`'s
|
|
21
21
|
* `GUARANTEED_ERROR_PARAMS` is where a throw site makes that promise, and `./errors.test.ts` holds this
|
|
22
|
-
* file to it — a placeholder no code guarantees fails there.
|
|
23
|
-
* of placeholders, because no throw site passed `params` at all; `@pithy-sh/cloudflare`'s
|
|
24
|
-
* `cloudflareRefusal` is the first that does (#534), which is why the pin changed rather than relaxed.
|
|
22
|
+
* file to it — a placeholder no code guarantees fails there.
|
|
25
23
|
*
|
|
26
24
|
* `cloudflare/request_failed` is that sentence. Cloudflare's own words are English we did not write and
|
|
27
25
|
* cannot translate, but its numeric code is what an operator quotes into a search, and dropping it left
|
|
@@ -79,6 +77,7 @@ const esErrors = {
|
|
|
79
77
|
"turnstile/config": "La verificación de seguridad no está disponible ahora.",
|
|
80
78
|
"turnstile/analytics_window": "Ese periodo queda fuera de lo que Cloudflare conserva.",
|
|
81
79
|
"turnstile/analytics_unavailable": "Cloudflare no ofrece estas estadísticas a esta cuenta.",
|
|
80
|
+
"turnstile/analytics_forbidden": "Al token de Cloudflare de este Worker le falta el permiso Account Analytics Read.",
|
|
82
81
|
"audit/invalid_event": "El evento de auditoría no es válido.",
|
|
83
82
|
"audit/write_failed": "No se ha podido registrar el evento de auditoría.",
|
|
84
83
|
"media/not_found": "Ese archivo no existe.",
|
|
@@ -88,6 +87,7 @@ const esErrors = {
|
|
|
88
87
|
"media/enrichment_failed": "No se ha podido analizar el archivo.",
|
|
89
88
|
"media/analytics_window": "Ese periodo queda fuera de lo que Cloudflare conserva.",
|
|
90
89
|
"media/analytics_unavailable": "Cloudflare no ofrece estas estadísticas a esta cuenta.",
|
|
90
|
+
"media/analytics_forbidden": "Al token de Cloudflare de este Worker le falta el permiso Account Analytics Read.",
|
|
91
91
|
"leaderboard/board_not_found": "Esa clasificación no existe.",
|
|
92
92
|
"leaderboard/entry_not_found": "No hay ninguna puntuación en esta clasificación.",
|
|
93
93
|
"leaderboard/score_rejected": "La puntuación está fuera del rango permitido.",
|
|
@@ -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.
|
|
6
|
+
export declare const PACKAGE_VERSION = "0.16.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.
|
|
7
|
+
const PACKAGE_VERSION = "0.16.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.
|
|
3
|
+
"version": "0.16.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.
|
|
38
|
+
"@pithy-sh/core": "^0.16.0",
|
|
39
39
|
"@pithy-sh/ui-core": "^0.1.0",
|
|
40
40
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
41
41
|
"expo-localization": "^57.0.2",
|
|
@@ -23,9 +23,7 @@ import type { MessageCatalog } from "@pithy-sh/core/src/i18n/catalog";
|
|
|
23
23
|
* nobody supplied written out as `{apiAnswer}`, so writing one here is a claim about a *call site*:
|
|
24
24
|
* that every throw of this code passes that name, on the degraded paths too. `core`'s
|
|
25
25
|
* `GUARANTEED_ERROR_PARAMS` is where a throw site makes that promise, and `./errors.test.ts` holds this
|
|
26
|
-
* file to it — a placeholder no code guarantees fails there.
|
|
27
|
-
* of placeholders, because no throw site passed `params` at all; `@pithy-sh/cloudflare`'s
|
|
28
|
-
* `cloudflareRefusal` is the first that does (#534), which is why the pin changed rather than relaxed.
|
|
26
|
+
* file to it — a placeholder no code guarantees fails there.
|
|
29
27
|
*
|
|
30
28
|
* `cloudflare/request_failed` is that sentence. Cloudflare's own words are English we did not write and
|
|
31
29
|
* cannot translate, but its numeric code is what an operator quotes into a search, and dropping it left
|
|
@@ -96,6 +94,7 @@ export const esErrors: MessageCatalog = {
|
|
|
96
94
|
"turnstile/config": "La verificación de seguridad no está disponible ahora.",
|
|
97
95
|
"turnstile/analytics_window": "Ese periodo queda fuera de lo que Cloudflare conserva.",
|
|
98
96
|
"turnstile/analytics_unavailable": "Cloudflare no ofrece estas estadísticas a esta cuenta.",
|
|
97
|
+
"turnstile/analytics_forbidden": "Al token de Cloudflare de este Worker le falta el permiso Account Analytics Read.",
|
|
99
98
|
|
|
100
99
|
// Audit.
|
|
101
100
|
"audit/invalid_event": "El evento de auditoría no es válido.",
|
|
@@ -109,6 +108,7 @@ export const esErrors: MessageCatalog = {
|
|
|
109
108
|
"media/enrichment_failed": "No se ha podido analizar el archivo.",
|
|
110
109
|
"media/analytics_window": "Ese periodo queda fuera de lo que Cloudflare conserva.",
|
|
111
110
|
"media/analytics_unavailable": "Cloudflare no ofrece estas estadísticas a esta cuenta.",
|
|
111
|
+
"media/analytics_forbidden": "Al token de Cloudflare de este Worker le falta el permiso Account Analytics Read.",
|
|
112
112
|
|
|
113
113
|
// Leaderboards.
|
|
114
114
|
"leaderboard/board_not_found": "Esa clasificación no existe.",
|
package/src/version.generated.ts
CHANGED