@pocket-trash/localizations 0.8.0 → 0.9.1
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
CHANGED
|
@@ -558,6 +558,13 @@ export declare const localizations: Readonly<{
|
|
|
558
558
|
enabled: string;
|
|
559
559
|
failedToLoad: string;
|
|
560
560
|
};
|
|
561
|
+
storage: {
|
|
562
|
+
sizeMiB: string;
|
|
563
|
+
};
|
|
564
|
+
upload: {
|
|
565
|
+
finalizationFailure: string;
|
|
566
|
+
saveFailed: string;
|
|
567
|
+
};
|
|
561
568
|
};
|
|
562
569
|
};
|
|
563
570
|
"es-MX": {
|
|
@@ -1109,6 +1116,13 @@ export declare const localizations: Readonly<{
|
|
|
1109
1116
|
enabled: string;
|
|
1110
1117
|
failedToLoad: string;
|
|
1111
1118
|
};
|
|
1119
|
+
storage: {
|
|
1120
|
+
sizeMiB: string;
|
|
1121
|
+
};
|
|
1122
|
+
upload: {
|
|
1123
|
+
finalizationFailure: string;
|
|
1124
|
+
saveFailed: string;
|
|
1125
|
+
};
|
|
1112
1126
|
};
|
|
1113
1127
|
};
|
|
1114
1128
|
}>;
|
|
@@ -479,7 +479,7 @@ export const enUS = {
|
|
|
479
479
|
expired: "This upload session expired. Start the upload again.",
|
|
480
480
|
fileFailure: "{filename} couldn't be uploaded. Retry this file.",
|
|
481
481
|
fileHelp: "Choose 1–{maxFiles} files. Each file can be up to {maxFileSize}; the complete upload can be up to {maxSessionSize}.",
|
|
482
|
-
fileTypes: "Allowed file types: STL, 3MF, STEP, STP, PDF, TXT, and
|
|
482
|
+
fileTypes: "Allowed file types: STL, 3MF, STEP, STP, PDF, TXT, ZIP, JPEG, PNG, and WebP.",
|
|
483
483
|
filesLabel: "Resource files",
|
|
484
484
|
finalizationFailure: "Your files were uploaded, but the resource could not be finalized. Retry to finish the upload.",
|
|
485
485
|
finalizing: "Finishing your upload…",
|
|
@@ -556,5 +556,12 @@ export const enUS = {
|
|
|
556
556
|
enabled: "Enabled",
|
|
557
557
|
failedToLoad: "Failed to load.",
|
|
558
558
|
},
|
|
559
|
+
storage: {
|
|
560
|
+
sizeMiB: "{value} MiB",
|
|
561
|
+
},
|
|
562
|
+
upload: {
|
|
563
|
+
finalizationFailure: "Your files were uploaded, but the upload could not be finalized. Try again.",
|
|
564
|
+
saveFailed: "We couldn't save your upload. Try again.",
|
|
565
|
+
},
|
|
559
566
|
},
|
|
560
567
|
};
|
|
@@ -479,7 +479,7 @@ export const esMX = {
|
|
|
479
479
|
expired: "Esta sesión de carga venció. Inicia la carga de nuevo.",
|
|
480
480
|
fileFailure: "No se pudo subir {filename}. Vuelve a intentar este archivo.",
|
|
481
481
|
fileHelp: "Elige de 1 a {maxFiles} archivos. Cada archivo puede pesar hasta {maxFileSize}; la carga completa puede pesar hasta {maxSessionSize}.",
|
|
482
|
-
fileTypes: "Tipos de archivo permitidos: STL, 3MF, STEP, STP, PDF, TXT y
|
|
482
|
+
fileTypes: "Tipos de archivo permitidos: STL, 3MF, STEP, STP, PDF, TXT, ZIP, JPEG, PNG y WebP.",
|
|
483
483
|
filesLabel: "Archivos del recurso",
|
|
484
484
|
finalizationFailure: "Tus archivos se subieron, pero no se pudo finalizar el recurso. Vuelve a intentarlo para completar la carga.",
|
|
485
485
|
finalizing: "Finalizando tu carga…",
|
|
@@ -556,5 +556,12 @@ export const esMX = {
|
|
|
556
556
|
enabled: "Activada",
|
|
557
557
|
failedToLoad: "No se pudo cargar.",
|
|
558
558
|
},
|
|
559
|
+
storage: {
|
|
560
|
+
sizeMiB: "{value} MiB",
|
|
561
|
+
},
|
|
562
|
+
upload: {
|
|
563
|
+
finalizationFailure: "Tus archivos se cargaron, pero no se pudo finalizar la carga. Inténtalo de nuevo.",
|
|
564
|
+
saveFailed: "No pudimos guardar tu carga. Inténtalo de nuevo.",
|
|
565
|
+
},
|
|
559
566
|
},
|
|
560
567
|
};
|
|
@@ -553,6 +553,13 @@ export type CompleteLocalizationResource = Readonly<{
|
|
|
553
553
|
enabled: string;
|
|
554
554
|
failedToLoad: string;
|
|
555
555
|
};
|
|
556
|
+
storage: {
|
|
557
|
+
sizeMiB: string;
|
|
558
|
+
};
|
|
559
|
+
upload: {
|
|
560
|
+
finalizationFailure: string;
|
|
561
|
+
saveFailed: string;
|
|
562
|
+
};
|
|
556
563
|
};
|
|
557
564
|
}>;
|
|
558
565
|
export type TranslationKey = DotPaths<CompleteLocalizationResource>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pocket-trash/localizations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Shared localization utilities and message catalogs for Pocket Trash.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"lint": "biome ci .",
|
|
61
61
|
"localization:create": "node scripts/localizations.mjs create",
|
|
62
62
|
"localization:sync": "node scripts/localizations.mjs sync",
|
|
63
|
-
"release": "pnpm run changeset:version && pnpm install --lockfile-only && git add package.json pnpm-lock.yaml CHANGELOG.md .changeset && git commit -m \"chore: version packages [skip ci]\" && changeset publish && git push --follow-tags && VERSION=$(node -p \"require('./package.json').version\") && gh release create \"v$VERSION\" --title \"v$VERSION\" --generate-notes --verify-tag",
|
|
63
|
+
"release": "npm whoami && pnpm run changeset:version && pnpm install --lockfile-only && git add package.json pnpm-lock.yaml CHANGELOG.md .changeset && git commit -m \"chore: version packages [skip ci]\" && changeset publish && git push --follow-tags && VERSION=$(node -p \"require('./package.json').version\") && gh release create \"v$VERSION\" --title \"v$VERSION\" --generate-notes --verify-tag",
|
|
64
64
|
"test": "pnpm run build && node --test"
|
|
65
65
|
}
|
|
66
66
|
}
|