@pocket-trash/localizations 0.14.1 → 0.15.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/index.d.ts +22 -0
- package/dist/localizations/en-US.d.ts +11 -0
- package/dist/localizations/en-US.js +16 -5
- package/dist/localizations/es-MX.d.ts +11 -0
- package/dist/localizations/es-MX.js +20 -9
- package/dist/types/localization.d.ts +11 -0
- package/help/en-US/image-size-and-resolution-guide.mdx +1 -1
- package/help/es-MX/image-size-and-resolution-guide.mdx +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare const localizations: Readonly<{
|
|
|
43
43
|
close: string;
|
|
44
44
|
confirmAdd: string;
|
|
45
45
|
deleteCover: string;
|
|
46
|
+
deleteImage: string;
|
|
46
47
|
edit: string;
|
|
47
48
|
more: string;
|
|
48
49
|
moreFilters: string;
|
|
@@ -54,6 +55,7 @@ export declare const localizations: Readonly<{
|
|
|
54
55
|
search: string;
|
|
55
56
|
selectCover: string;
|
|
56
57
|
signIn: string;
|
|
58
|
+
uploadImages: string;
|
|
57
59
|
view: string;
|
|
58
60
|
viewCollection: string;
|
|
59
61
|
viewItem: string;
|
|
@@ -264,6 +266,15 @@ export declare const localizations: Readonly<{
|
|
|
264
266
|
syncIncomplete: string;
|
|
265
267
|
upload: string;
|
|
266
268
|
};
|
|
269
|
+
gallery: {
|
|
270
|
+
deleteConfirmation: string;
|
|
271
|
+
imagesHelp: string;
|
|
272
|
+
nextPage: string;
|
|
273
|
+
owner: string;
|
|
274
|
+
pageStatus: string;
|
|
275
|
+
previousPage: string;
|
|
276
|
+
title: string;
|
|
277
|
+
};
|
|
267
278
|
field: {
|
|
268
279
|
collection: string;
|
|
269
280
|
cover: string;
|
|
@@ -848,6 +859,7 @@ export declare const localizations: Readonly<{
|
|
|
848
859
|
close: string;
|
|
849
860
|
confirmAdd: string;
|
|
850
861
|
deleteCover: string;
|
|
862
|
+
deleteImage: string;
|
|
851
863
|
edit: string;
|
|
852
864
|
more: string;
|
|
853
865
|
moreFilters: string;
|
|
@@ -859,6 +871,7 @@ export declare const localizations: Readonly<{
|
|
|
859
871
|
search: string;
|
|
860
872
|
selectCover: string;
|
|
861
873
|
signIn: string;
|
|
874
|
+
uploadImages: string;
|
|
862
875
|
view: string;
|
|
863
876
|
viewCollection: string;
|
|
864
877
|
viewItem: string;
|
|
@@ -1069,6 +1082,15 @@ export declare const localizations: Readonly<{
|
|
|
1069
1082
|
syncIncomplete: string;
|
|
1070
1083
|
upload: string;
|
|
1071
1084
|
};
|
|
1085
|
+
gallery: {
|
|
1086
|
+
deleteConfirmation: string;
|
|
1087
|
+
imagesHelp: string;
|
|
1088
|
+
nextPage: string;
|
|
1089
|
+
owner: string;
|
|
1090
|
+
pageStatus: string;
|
|
1091
|
+
previousPage: string;
|
|
1092
|
+
title: string;
|
|
1093
|
+
};
|
|
1072
1094
|
field: {
|
|
1073
1095
|
collection: string;
|
|
1074
1096
|
cover: string;
|
|
@@ -41,6 +41,7 @@ export declare const enUS: {
|
|
|
41
41
|
close: string;
|
|
42
42
|
confirmAdd: string;
|
|
43
43
|
deleteCover: string;
|
|
44
|
+
deleteImage: string;
|
|
44
45
|
edit: string;
|
|
45
46
|
more: string;
|
|
46
47
|
moreFilters: string;
|
|
@@ -52,6 +53,7 @@ export declare const enUS: {
|
|
|
52
53
|
search: string;
|
|
53
54
|
selectCover: string;
|
|
54
55
|
signIn: string;
|
|
56
|
+
uploadImages: string;
|
|
55
57
|
view: string;
|
|
56
58
|
viewCollection: string;
|
|
57
59
|
viewItem: string;
|
|
@@ -262,6 +264,15 @@ export declare const enUS: {
|
|
|
262
264
|
syncIncomplete: string;
|
|
263
265
|
upload: string;
|
|
264
266
|
};
|
|
267
|
+
gallery: {
|
|
268
|
+
deleteConfirmation: string;
|
|
269
|
+
imagesHelp: string;
|
|
270
|
+
nextPage: string;
|
|
271
|
+
owner: string;
|
|
272
|
+
pageStatus: string;
|
|
273
|
+
previousPage: string;
|
|
274
|
+
title: string;
|
|
275
|
+
};
|
|
265
276
|
field: {
|
|
266
277
|
collection: string;
|
|
267
278
|
cover: string;
|
|
@@ -41,6 +41,7 @@ export const enUS = {
|
|
|
41
41
|
close: "Close",
|
|
42
42
|
confirmAdd: "Add another",
|
|
43
43
|
deleteCover: "Delete cover",
|
|
44
|
+
deleteImage: "Delete image",
|
|
44
45
|
edit: "Edit",
|
|
45
46
|
more: "More",
|
|
46
47
|
moreFilters: "More filters",
|
|
@@ -52,6 +53,7 @@ export const enUS = {
|
|
|
52
53
|
search: "Search",
|
|
53
54
|
selectCover: "Use this cover",
|
|
54
55
|
signIn: "Sign in",
|
|
56
|
+
uploadImages: "Upload images",
|
|
55
57
|
view: "View",
|
|
56
58
|
viewCollection: "View collection",
|
|
57
59
|
viewItem: "View item",
|
|
@@ -240,7 +242,7 @@ export const enUS = {
|
|
|
240
242
|
title: "Add collection",
|
|
241
243
|
},
|
|
242
244
|
cover: {
|
|
243
|
-
clearConfirmation: "Clear the current cover?
|
|
245
|
+
clearConfirmation: "Clear the current cover? The image will remain in the gallery.",
|
|
244
246
|
current: "Current cover",
|
|
245
247
|
deleteConfirmation: "Permanently delete this cover image? This cannot be undone.",
|
|
246
248
|
history: "Previous covers",
|
|
@@ -260,7 +262,16 @@ export const enUS = {
|
|
|
260
262
|
error: {
|
|
261
263
|
chooseCollection: "Choose a collection.",
|
|
262
264
|
syncIncomplete: "Your profile is still syncing. Try again.",
|
|
263
|
-
upload: "The collection was saved, but its
|
|
265
|
+
upload: "The collection was saved, but its images could not be uploaded. Try again from Edit collection.",
|
|
266
|
+
},
|
|
267
|
+
gallery: {
|
|
268
|
+
deleteConfirmation: "Permanently delete this collection image? This cannot be undone.",
|
|
269
|
+
imagesHelp: "Choose 1–{maxImages} images. If the collection has no cover, the first image becomes the cover. Each image can be up to {maxFileSize}; all files in this upload can total up to {maxSessionSize}.",
|
|
270
|
+
nextPage: "Next page",
|
|
271
|
+
owner: "Owner: {owner}",
|
|
272
|
+
pageStatus: "Page {page} of {pageCount}",
|
|
273
|
+
previousPage: "Previous page",
|
|
274
|
+
title: "Gallery",
|
|
264
275
|
},
|
|
265
276
|
field: {
|
|
266
277
|
collection: "Collection",
|
|
@@ -726,19 +737,19 @@ export const enUS = {
|
|
|
726
737
|
expired: "This upload session expired. Start the upload again.",
|
|
727
738
|
fileFailure: "{filename} couldn't be uploaded. Retry this file.",
|
|
728
739
|
fileHelp: "Choose 1–{maxFiles} files. Each file can be up to {maxFileSize}; the complete upload can be up to {maxSessionSize}.",
|
|
729
|
-
fileTypes: "Allowed file types: STL, 3MF, STEP, STP, PDF, TXT, ZIP, JPEG, PNG, and
|
|
740
|
+
fileTypes: "Allowed file types: STL, 3MF, STEP, STP, PDF, TXT, ZIP, JPEG, PNG, WebP, and AVIF.",
|
|
730
741
|
filesLabel: "Resource files",
|
|
731
742
|
finalizationFailure: "Your files were uploaded, but the resource could not be finalized. Retry to finish the upload.",
|
|
732
743
|
finalizing: "Finishing your upload…",
|
|
733
744
|
imagesHelp: "Choose 1–{maxImages} images. The first image is the cover. Each image can be up to {maxFileSize}; all files in this upload can total up to {maxSessionSize}.",
|
|
734
745
|
imagesLabel: "Images",
|
|
735
|
-
imageTypes: "Allowed image types: JPEG, PNG, and
|
|
746
|
+
imageTypes: "Allowed image types: JPEG, PNG, WebP, and AVIF.",
|
|
736
747
|
nameLabel: "Name",
|
|
737
748
|
namePlaceholder: "Resource name",
|
|
738
749
|
newVersionTitle: "Upload a new version of {name}",
|
|
739
750
|
previewHelp: "Optional image shown in resource cards and details.",
|
|
740
751
|
previewLabel: "Preview image",
|
|
741
|
-
previewTypes: "Allowed preview types: JPEG, PNG, and
|
|
752
|
+
previewTypes: "Allowed preview types: JPEG, PNG, WebP, and AVIF.",
|
|
742
753
|
progress: "Uploading {filename}: {percent}%",
|
|
743
754
|
retryFile: "Retry {filename}",
|
|
744
755
|
sessionFailure: "We couldn't start the upload. Try again.",
|
|
@@ -41,6 +41,7 @@ export declare const esMX: {
|
|
|
41
41
|
close: string;
|
|
42
42
|
confirmAdd: string;
|
|
43
43
|
deleteCover: string;
|
|
44
|
+
deleteImage: string;
|
|
44
45
|
edit: string;
|
|
45
46
|
more: string;
|
|
46
47
|
moreFilters: string;
|
|
@@ -52,6 +53,7 @@ export declare const esMX: {
|
|
|
52
53
|
search: string;
|
|
53
54
|
selectCover: string;
|
|
54
55
|
signIn: string;
|
|
56
|
+
uploadImages: string;
|
|
55
57
|
view: string;
|
|
56
58
|
viewCollection: string;
|
|
57
59
|
viewItem: string;
|
|
@@ -262,6 +264,15 @@ export declare const esMX: {
|
|
|
262
264
|
syncIncomplete: string;
|
|
263
265
|
upload: string;
|
|
264
266
|
};
|
|
267
|
+
gallery: {
|
|
268
|
+
deleteConfirmation: string;
|
|
269
|
+
imagesHelp: string;
|
|
270
|
+
nextPage: string;
|
|
271
|
+
owner: string;
|
|
272
|
+
pageStatus: string;
|
|
273
|
+
previousPage: string;
|
|
274
|
+
title: string;
|
|
275
|
+
};
|
|
265
276
|
field: {
|
|
266
277
|
collection: string;
|
|
267
278
|
cover: string;
|
|
@@ -36,11 +36,12 @@ export const esMX = {
|
|
|
36
36
|
addToCollection: "",
|
|
37
37
|
archive: "Archivar",
|
|
38
38
|
clearAllFilters: "Borrar todos los filtros",
|
|
39
|
-
clearCover: "",
|
|
39
|
+
clearCover: "Quitar portada",
|
|
40
40
|
clearSearch: "Borrar búsqueda",
|
|
41
41
|
close: "Cerrar",
|
|
42
42
|
confirmAdd: "",
|
|
43
43
|
deleteCover: "",
|
|
44
|
+
deleteImage: "Eliminar imagen",
|
|
44
45
|
edit: "Editar",
|
|
45
46
|
more: "Más",
|
|
46
47
|
moreFilters: "Más filtros",
|
|
@@ -50,8 +51,9 @@ export const esMX = {
|
|
|
50
51
|
removeSelection: "Quitar {name}",
|
|
51
52
|
saveFlag: "Guardar bandera",
|
|
52
53
|
search: "Buscar",
|
|
53
|
-
selectCover: "",
|
|
54
|
+
selectCover: "Usar como portada",
|
|
54
55
|
signIn: "Iniciar sesion",
|
|
56
|
+
uploadImages: "Subir imágenes",
|
|
55
57
|
view: "Ver",
|
|
56
58
|
viewCollection: "Ver colección",
|
|
57
59
|
viewItem: "Ver artículo",
|
|
@@ -240,14 +242,14 @@ export const esMX = {
|
|
|
240
242
|
title: "",
|
|
241
243
|
},
|
|
242
244
|
cover: {
|
|
243
|
-
clearConfirmation: "",
|
|
244
|
-
current: "",
|
|
245
|
+
clearConfirmation: "¿Quieres quitar la portada actual? La imagen permanecerá en la galería.",
|
|
246
|
+
current: "Portada actual",
|
|
245
247
|
deleteConfirmation: "",
|
|
246
248
|
history: "",
|
|
247
249
|
},
|
|
248
250
|
directory: {
|
|
249
251
|
avatar: "",
|
|
250
|
-
itemCount: "",
|
|
252
|
+
itemCount: "Artículos de la colección: {count}",
|
|
251
253
|
matchingItemCount: "{matching} de {total} artículos de la colección",
|
|
252
254
|
},
|
|
253
255
|
duplicateWarning: "",
|
|
@@ -260,7 +262,16 @@ export const esMX = {
|
|
|
260
262
|
error: {
|
|
261
263
|
chooseCollection: "",
|
|
262
264
|
syncIncomplete: "",
|
|
263
|
-
upload: "",
|
|
265
|
+
upload: "La colección se guardó, pero no se pudieron subir sus imágenes. Inténtalo de nuevo desde Editar colección.",
|
|
266
|
+
},
|
|
267
|
+
gallery: {
|
|
268
|
+
deleteConfirmation: "¿Quieres eliminar permanentemente esta imagen de la colección? Esta acción no se puede deshacer.",
|
|
269
|
+
imagesHelp: "Elige de 1 a {maxImages} imágenes. Si la colección no tiene portada, la primera imagen será la portada. Cada imagen puede pesar hasta {maxFileSize}; todos los archivos de esta carga pueden pesar hasta {maxSessionSize} en total.",
|
|
270
|
+
nextPage: "Página siguiente",
|
|
271
|
+
owner: "Propietario: {owner}",
|
|
272
|
+
pageStatus: "Página {page} de {pageCount}",
|
|
273
|
+
previousPage: "Página anterior",
|
|
274
|
+
title: "Galería",
|
|
264
275
|
},
|
|
265
276
|
field: {
|
|
266
277
|
collection: "",
|
|
@@ -726,19 +737,19 @@ export const esMX = {
|
|
|
726
737
|
expired: "Esta sesión de carga venció. Inicia la carga de nuevo.",
|
|
727
738
|
fileFailure: "No se pudo subir {filename}. Vuelve a intentar este archivo.",
|
|
728
739
|
fileHelp: "Elige de 1 a {maxFiles} archivos. Cada archivo puede pesar hasta {maxFileSize}; la carga completa puede pesar hasta {maxSessionSize}.",
|
|
729
|
-
fileTypes: "Tipos de archivo permitidos: STL, 3MF, STEP, STP, PDF, TXT, ZIP, JPEG, PNG y
|
|
740
|
+
fileTypes: "Tipos de archivo permitidos: STL, 3MF, STEP, STP, PDF, TXT, ZIP, JPEG, PNG, WebP y AVIF.",
|
|
730
741
|
filesLabel: "Archivos del recurso",
|
|
731
742
|
finalizationFailure: "Tus archivos se subieron, pero no se pudo finalizar el recurso. Vuelve a intentarlo para completar la carga.",
|
|
732
743
|
finalizing: "Finalizando tu carga…",
|
|
733
744
|
imagesHelp: "Elige de 1 a {maxImages} imágenes. La primera imagen será la portada. Cada imagen puede pesar hasta {maxFileSize}; todos los archivos de esta carga pueden pesar hasta {maxSessionSize} en total.",
|
|
734
745
|
imagesLabel: "Imágenes",
|
|
735
|
-
imageTypes: "Tipos de imagen permitidos: JPEG, PNG y
|
|
746
|
+
imageTypes: "Tipos de imagen permitidos: JPEG, PNG, WebP y AVIF.",
|
|
736
747
|
nameLabel: "Nombre",
|
|
737
748
|
namePlaceholder: "Nombre del recurso",
|
|
738
749
|
newVersionTitle: "Subir una nueva versión de {name}",
|
|
739
750
|
previewHelp: "Imagen opcional que se muestra en las tarjetas y los detalles del recurso.",
|
|
740
751
|
previewLabel: "Imagen de vista previa",
|
|
741
|
-
previewTypes: "Tipos de vista previa permitidos: JPEG, PNG y
|
|
752
|
+
previewTypes: "Tipos de vista previa permitidos: JPEG, PNG, WebP y AVIF.",
|
|
742
753
|
progress: "Subiendo {filename}: {percent}%",
|
|
743
754
|
retryFile: "Reintentar {filename}",
|
|
744
755
|
sessionFailure: "No pudimos iniciar la carga. Inténtalo de nuevo.",
|
|
@@ -38,6 +38,7 @@ export type CompleteLocalizationResource = Readonly<{
|
|
|
38
38
|
close: string;
|
|
39
39
|
confirmAdd: string;
|
|
40
40
|
deleteCover: string;
|
|
41
|
+
deleteImage: string;
|
|
41
42
|
edit: string;
|
|
42
43
|
more: string;
|
|
43
44
|
moreFilters: string;
|
|
@@ -49,6 +50,7 @@ export type CompleteLocalizationResource = Readonly<{
|
|
|
49
50
|
search: string;
|
|
50
51
|
selectCover: string;
|
|
51
52
|
signIn: string;
|
|
53
|
+
uploadImages: string;
|
|
52
54
|
view: string;
|
|
53
55
|
viewCollection: string;
|
|
54
56
|
viewItem: string;
|
|
@@ -259,6 +261,15 @@ export type CompleteLocalizationResource = Readonly<{
|
|
|
259
261
|
syncIncomplete: string;
|
|
260
262
|
upload: string;
|
|
261
263
|
};
|
|
264
|
+
gallery: {
|
|
265
|
+
deleteConfirmation: string;
|
|
266
|
+
imagesHelp: string;
|
|
267
|
+
nextPage: string;
|
|
268
|
+
owner: string;
|
|
269
|
+
pageStatus: string;
|
|
270
|
+
previousPage: string;
|
|
271
|
+
title: string;
|
|
272
|
+
};
|
|
262
273
|
field: {
|
|
263
274
|
collection: string;
|
|
264
275
|
cover: string;
|
|
@@ -19,5 +19,5 @@ Images with a different aspect ratio can still be uploaded, but Pocket Trash cro
|
|
|
19
19
|
- Use at least **1200 × 900 pixels** to avoid visible softness or degraded image quality.
|
|
20
20
|
- **2000 × 1500 pixels** is recommended for a sharper result on high-density displays.
|
|
21
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
|
|
22
|
+
- Supported formats are JPEG, PNG, WebP, and AVIF.
|
|
23
23
|
- Each image can be up to 25 MiB. A single upload can contain up to 20 images and total up to 200 MiB.
|
|
@@ -19,5 +19,5 @@ Las imágenes con una relación de aspecto diferente también se pueden subir, p
|
|
|
19
19
|
- Usa al menos **1200 × 900 píxeles** para evitar que la imagen se vea borrosa o pierda calidad.
|
|
20
20
|
- Se recomienda usar **2000 × 1500 píxeles** para obtener un resultado más nítido en pantallas de alta densidad.
|
|
21
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
|
|
22
|
+
- Los formatos compatibles son JPEG, PNG, WebP y AVIF.
|
|
23
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.
|