@pocket-trash/localizations 0.24.0 → 0.26.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 CHANGED
@@ -250,6 +250,11 @@ export declare const localizations: Readonly<{
250
250
  catalog: {
251
251
  approval: {
252
252
  approve: string;
253
+ collectionItem: {
254
+ approve: string;
255
+ reject: string;
256
+ title: string;
257
+ };
253
258
  reasonLabel: string;
254
259
  reasonPlaceholder: string;
255
260
  reject: string;
@@ -267,6 +272,14 @@ export declare const localizations: Readonly<{
267
272
  solid: string;
268
273
  };
269
274
  defaultButton: string;
275
+ deletion: {
276
+ action: string;
277
+ blocked: string;
278
+ confirmation: string;
279
+ description: string;
280
+ failed: string;
281
+ title: string;
282
+ };
270
283
  error: {
271
284
  bearingLength: string;
272
285
  colorHex: string;
@@ -1228,6 +1241,11 @@ export declare const localizations: Readonly<{
1228
1241
  catalog: {
1229
1242
  approval: {
1230
1243
  approve: string;
1244
+ collectionItem: {
1245
+ approve: string;
1246
+ reject: string;
1247
+ title: string;
1248
+ };
1231
1249
  reasonLabel: string;
1232
1250
  reasonPlaceholder: string;
1233
1251
  reject: string;
@@ -1245,6 +1263,14 @@ export declare const localizations: Readonly<{
1245
1263
  solid: string;
1246
1264
  };
1247
1265
  defaultButton: string;
1266
+ deletion: {
1267
+ action: string;
1268
+ blocked: string;
1269
+ confirmation: string;
1270
+ description: string;
1271
+ failed: string;
1272
+ title: string;
1273
+ };
1248
1274
  error: {
1249
1275
  bearingLength: string;
1250
1276
  colorHex: string;
@@ -234,6 +234,11 @@ export declare const enUS: {
234
234
  catalog: {
235
235
  approval: {
236
236
  approve: string;
237
+ collectionItem: {
238
+ approve: string;
239
+ reject: string;
240
+ title: string;
241
+ };
237
242
  reasonLabel: string;
238
243
  reasonPlaceholder: string;
239
244
  reject: string;
@@ -251,6 +256,14 @@ export declare const enUS: {
251
256
  solid: string;
252
257
  };
253
258
  defaultButton: string;
259
+ deletion: {
260
+ action: string;
261
+ blocked: string;
262
+ confirmation: string;
263
+ description: string;
264
+ failed: string;
265
+ title: string;
266
+ };
254
267
  error: {
255
268
  bearingLength: string;
256
269
  colorHex: string;
@@ -234,6 +234,11 @@ export const enUS = {
234
234
  catalog: {
235
235
  approval: {
236
236
  approve: "Approve product",
237
+ collectionItem: {
238
+ approve: "Approve collection item",
239
+ reject: "Reject collection item",
240
+ title: "Collection item approval",
241
+ },
237
242
  reasonLabel: "Decision reason",
238
243
  reasonPlaceholder: "Explain this approval decision",
239
244
  reject: "Reject product",
@@ -251,6 +256,14 @@ export const enUS = {
251
256
  solid: "Solid",
252
257
  },
253
258
  defaultButton: "Default Button",
259
+ deletion: {
260
+ action: "Permanently delete product",
261
+ blocked: "This product is used by a collection or another product and cannot be deleted.",
262
+ confirmation: "I understand that deleting this product and its images cannot be undone.",
263
+ description: "Permanently delete {name}? Its images, finish options, material links, and specifications will be removed. This cannot be undone.",
264
+ failed: "We couldn't delete this product. Try again.",
265
+ title: "Delete product",
266
+ },
254
267
  error: {
255
268
  bearingLength: "Enter 200 characters or fewer.",
256
269
  colorHex: "Choose a valid colour.",
@@ -234,6 +234,11 @@ export declare const esMX: {
234
234
  catalog: {
235
235
  approval: {
236
236
  approve: string;
237
+ collectionItem: {
238
+ approve: string;
239
+ reject: string;
240
+ title: string;
241
+ };
237
242
  reasonLabel: string;
238
243
  reasonPlaceholder: string;
239
244
  reject: string;
@@ -251,6 +256,14 @@ export declare const esMX: {
251
256
  solid: string;
252
257
  };
253
258
  defaultButton: string;
259
+ deletion: {
260
+ action: string;
261
+ blocked: string;
262
+ confirmation: string;
263
+ description: string;
264
+ failed: string;
265
+ title: string;
266
+ };
254
267
  error: {
255
268
  bearingLength: string;
256
269
  colorHex: string;
@@ -234,6 +234,11 @@ export const esMX = {
234
234
  catalog: {
235
235
  approval: {
236
236
  approve: "Aprobar producto",
237
+ collectionItem: {
238
+ approve: "Aprobar artículo de la colección",
239
+ reject: "Rechazar artículo de la colección",
240
+ title: "Aprobación del artículo de la colección",
241
+ },
237
242
  reasonLabel: "Motivo de la decisión",
238
243
  reasonPlaceholder: "Explica esta decisión de aprobación",
239
244
  reject: "Rechazar producto",
@@ -251,6 +256,14 @@ export const esMX = {
251
256
  solid: "Sólido",
252
257
  },
253
258
  defaultButton: "",
259
+ deletion: {
260
+ action: "Eliminar producto permanentemente",
261
+ blocked: "Este producto está en uso en una colección o en otro producto y no se puede eliminar.",
262
+ confirmation: "Entiendo que la eliminación de este producto y sus imágenes no se puede deshacer.",
263
+ description: "¿Eliminar {name} permanentemente? Se eliminarán sus imágenes, opciones de acabado, vínculos con materiales y especificaciones. Esta acción no se puede deshacer.",
264
+ failed: "No pudimos eliminar este producto. Inténtalo de nuevo.",
265
+ title: "Eliminar producto",
266
+ },
254
267
  error: {
255
268
  bearingLength: "",
256
269
  colorHex: "Elige un color válido.",
@@ -231,6 +231,11 @@ export type CompleteLocalizationResource = Readonly<{
231
231
  catalog: {
232
232
  approval: {
233
233
  approve: string;
234
+ collectionItem: {
235
+ approve: string;
236
+ reject: string;
237
+ title: string;
238
+ };
234
239
  reasonLabel: string;
235
240
  reasonPlaceholder: string;
236
241
  reject: string;
@@ -248,6 +253,14 @@ export type CompleteLocalizationResource = Readonly<{
248
253
  solid: string;
249
254
  };
250
255
  defaultButton: string;
256
+ deletion: {
257
+ action: string;
258
+ blocked: string;
259
+ confirmation: string;
260
+ description: string;
261
+ failed: string;
262
+ title: string;
263
+ };
251
264
  error: {
252
265
  bearingLength: string;
253
266
  colorHex: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-trash/localizations",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Shared localization utilities and message catalogs for Pocket Trash.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",