@pocket-trash/localizations 0.7.0 → 0.8.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/README.md
CHANGED
|
@@ -236,3 +236,16 @@ pnpm localization:sync
|
|
|
236
236
|
```
|
|
237
237
|
|
|
238
238
|
Publishing notes live in [docs/publishing.md](docs/publishing.md).
|
|
239
|
+
|
|
240
|
+
## Help documents
|
|
241
|
+
|
|
242
|
+
Localized help sources are published unchanged under
|
|
243
|
+
`@pocket-trash/localizations/help/<locale>/<slug>.mdx`. They contain frontmatter
|
|
244
|
+
and Markdown; consumers handle parsing and rendering. The package does not
|
|
245
|
+
compile MDX or execute JSX.
|
|
246
|
+
|
|
247
|
+
For example, a Vite app can load the English image guide as text:
|
|
248
|
+
|
|
249
|
+
```ts
|
|
250
|
+
import source from "@pocket-trash/localizations/help/en-US/image-size-and-resolution-guide.mdx?raw";
|
|
251
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Image size and resolution guide
|
|
3
|
+
datePublished: 2026-09-23
|
|
4
|
+
category: Images
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Products, collections, and collection items
|
|
8
|
+
|
|
9
|
+
Pocket Trash uses the same image for both the card preview and the main detail image for a product, collection, or collection item.
|
|
10
|
+
|
|
11
|
+
## Aspect ratio
|
|
12
|
+
|
|
13
|
+
Use a **4:3 landscape image** so the complete image appears consistently in both places. Examples include 1200 × 900, 1600 × 1200, and 2000 × 1500 pixels.
|
|
14
|
+
|
|
15
|
+
Images with a different aspect ratio can still be uploaded, but Pocket Trash crops them to fill the 4:3 frame. Keep the subject and other important details away from the edges.
|
|
16
|
+
|
|
17
|
+
## Size and quality
|
|
18
|
+
|
|
19
|
+
- Use at least **1200 × 900 pixels** to avoid visible softness or degraded image quality.
|
|
20
|
+
- **2000 × 1500 pixels** is recommended for a sharper result on high-density displays.
|
|
21
|
+
- Upload the highest-quality original available. Pocket Trash stores the original and can create appropriately sized versions when displaying it.
|
|
22
|
+
- Supported formats are JPEG, PNG, and WebP.
|
|
23
|
+
- Each image can be up to 25 MiB. A single upload can contain up to 20 images and total up to 200 MiB.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Guía de tamaño y resolución de imágenes
|
|
3
|
+
datePublished: 2026-09-23
|
|
4
|
+
category: Imágenes
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Productos, colecciones y artículos de colección
|
|
8
|
+
|
|
9
|
+
Pocket Trash usa la misma imagen tanto para la vista previa de la tarjeta como para la imagen principal de los detalles de un producto, una colección o un artículo de colección.
|
|
10
|
+
|
|
11
|
+
## Relación de aspecto
|
|
12
|
+
|
|
13
|
+
Usa una **imagen horizontal con una relación de aspecto de 4:3** para que la imagen completa aparezca de manera uniforme en ambos lugares. Algunos ejemplos son 1200 × 900, 1600 × 1200 y 2000 × 1500 píxeles.
|
|
14
|
+
|
|
15
|
+
Las imágenes con una relación de aspecto diferente también se pueden subir, pero Pocket Trash las recorta para llenar el marco de 4:3. Mantén el sujeto y otros detalles importantes alejados de los bordes.
|
|
16
|
+
|
|
17
|
+
## Tamaño y calidad
|
|
18
|
+
|
|
19
|
+
- Usa al menos **1200 × 900 píxeles** para evitar que la imagen se vea borrosa o pierda calidad.
|
|
20
|
+
- Se recomienda usar **2000 × 1500 píxeles** para obtener un resultado más nítido en pantallas de alta densidad.
|
|
21
|
+
- Sube la imagen original de la mejor calidad disponible. Pocket Trash almacena el archivo original y puede crear versiones del tamaño adecuado al mostrarlo.
|
|
22
|
+
- Los formatos compatibles son JPEG, PNG y WebP.
|
|
23
|
+
- Cada imagen puede tener un tamaño máximo de 25 MiB. Una sola carga puede contener hasta 20 imágenes y tener un tamaño total máximo de 200 MiB.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pocket-trash/localizations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Shared localization utilities and message catalogs for Pocket Trash.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"import": "./dist/index.js"
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
"./help/*.mdx": "./help/*.mdx"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"help"
|
|
16
18
|
],
|
|
17
19
|
"repository": {
|
|
18
20
|
"type": "git",
|