@pocket-trash/localizations 0.5.1 → 0.6.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
@@ -28,6 +28,7 @@ export declare const localizations: Readonly<{
28
28
  name: string;
29
29
  };
30
30
  action: {
31
+ addCollection: string;
31
32
  addColor: string;
32
33
  addFinish: string;
33
34
  addFinishOption: string;
@@ -37,8 +38,10 @@ export declare const localizations: Readonly<{
37
38
  addToCollection: string;
38
39
  archive: string;
39
40
  clearAllFilters: string;
41
+ clearCover: string;
40
42
  close: string;
41
43
  confirmAdd: string;
44
+ deleteCover: string;
42
45
  edit: string;
43
46
  more: string;
44
47
  moreFilters: string;
@@ -48,6 +51,7 @@ export declare const localizations: Readonly<{
48
51
  removeSelection: string;
49
52
  saveFlag: string;
50
53
  search: string;
54
+ selectCover: string;
51
55
  signIn: string;
52
56
  visitProductPage: string;
53
57
  };
@@ -202,6 +206,15 @@ export declare const localizations: Readonly<{
202
206
  selectProductType: string;
203
207
  };
204
208
  collections: {
209
+ add: {
210
+ title: string;
211
+ };
212
+ cover: {
213
+ clearConfirmation: string;
214
+ current: string;
215
+ deleteConfirmation: string;
216
+ history: string;
217
+ };
205
218
  directory: {
206
219
  avatar: string;
207
220
  itemCount: string;
@@ -210,12 +223,36 @@ export declare const localizations: Readonly<{
210
223
  duplicateWarning: string;
211
224
  edit: {
212
225
  noFields: string;
226
+ title: string;
213
227
  };
214
228
  empty: string;
229
+ emptyCollections: string;
230
+ error: {
231
+ chooseCollection: string;
232
+ syncIncomplete: string;
233
+ upload: string;
234
+ };
235
+ field: {
236
+ collection: string;
237
+ cover: string;
238
+ description: string;
239
+ name: string;
240
+ };
215
241
  finishChoice: {
216
242
  custom: string;
217
243
  product: string;
218
244
  };
245
+ placeholder: {
246
+ description: string;
247
+ name: string;
248
+ };
249
+ select: {
250
+ addNew: string;
251
+ placeholder: string;
252
+ };
253
+ visibility: {
254
+ privateCallout: string;
255
+ };
219
256
  };
220
257
  currency: {
221
258
  aud: string;
@@ -523,6 +560,7 @@ export declare const localizations: Readonly<{
523
560
  name: string;
524
561
  };
525
562
  action: {
563
+ addCollection: string;
526
564
  addColor: string;
527
565
  addFinish: string;
528
566
  addFinishOption: string;
@@ -532,8 +570,10 @@ export declare const localizations: Readonly<{
532
570
  addToCollection: string;
533
571
  archive: string;
534
572
  clearAllFilters: string;
573
+ clearCover: string;
535
574
  close: string;
536
575
  confirmAdd: string;
576
+ deleteCover: string;
537
577
  edit: string;
538
578
  more: string;
539
579
  moreFilters: string;
@@ -543,6 +583,7 @@ export declare const localizations: Readonly<{
543
583
  removeSelection: string;
544
584
  saveFlag: string;
545
585
  search: string;
586
+ selectCover: string;
546
587
  signIn: string;
547
588
  visitProductPage: string;
548
589
  };
@@ -697,6 +738,15 @@ export declare const localizations: Readonly<{
697
738
  selectProductType: string;
698
739
  };
699
740
  collections: {
741
+ add: {
742
+ title: string;
743
+ };
744
+ cover: {
745
+ clearConfirmation: string;
746
+ current: string;
747
+ deleteConfirmation: string;
748
+ history: string;
749
+ };
700
750
  directory: {
701
751
  avatar: string;
702
752
  itemCount: string;
@@ -705,12 +755,36 @@ export declare const localizations: Readonly<{
705
755
  duplicateWarning: string;
706
756
  edit: {
707
757
  noFields: string;
758
+ title: string;
708
759
  };
709
760
  empty: string;
761
+ emptyCollections: string;
762
+ error: {
763
+ chooseCollection: string;
764
+ syncIncomplete: string;
765
+ upload: string;
766
+ };
767
+ field: {
768
+ collection: string;
769
+ cover: string;
770
+ description: string;
771
+ name: string;
772
+ };
710
773
  finishChoice: {
711
774
  custom: string;
712
775
  product: string;
713
776
  };
777
+ placeholder: {
778
+ description: string;
779
+ name: string;
780
+ };
781
+ select: {
782
+ addNew: string;
783
+ placeholder: string;
784
+ };
785
+ visibility: {
786
+ privateCallout: string;
787
+ };
714
788
  };
715
789
  currency: {
716
790
  aud: string;
@@ -26,6 +26,7 @@ export declare const enUS: {
26
26
  name: string;
27
27
  };
28
28
  action: {
29
+ addCollection: string;
29
30
  addColor: string;
30
31
  addFinish: string;
31
32
  addFinishOption: string;
@@ -35,8 +36,10 @@ export declare const enUS: {
35
36
  addToCollection: string;
36
37
  archive: string;
37
38
  clearAllFilters: string;
39
+ clearCover: string;
38
40
  close: string;
39
41
  confirmAdd: string;
42
+ deleteCover: string;
40
43
  edit: string;
41
44
  more: string;
42
45
  moreFilters: string;
@@ -46,6 +49,7 @@ export declare const enUS: {
46
49
  removeSelection: string;
47
50
  saveFlag: string;
48
51
  search: string;
52
+ selectCover: string;
49
53
  signIn: string;
50
54
  visitProductPage: string;
51
55
  };
@@ -200,6 +204,15 @@ export declare const enUS: {
200
204
  selectProductType: string;
201
205
  };
202
206
  collections: {
207
+ add: {
208
+ title: string;
209
+ };
210
+ cover: {
211
+ clearConfirmation: string;
212
+ current: string;
213
+ deleteConfirmation: string;
214
+ history: string;
215
+ };
203
216
  directory: {
204
217
  avatar: string;
205
218
  itemCount: string;
@@ -208,12 +221,36 @@ export declare const enUS: {
208
221
  duplicateWarning: string;
209
222
  edit: {
210
223
  noFields: string;
224
+ title: string;
211
225
  };
212
226
  empty: string;
227
+ emptyCollections: string;
228
+ error: {
229
+ chooseCollection: string;
230
+ syncIncomplete: string;
231
+ upload: string;
232
+ };
233
+ field: {
234
+ collection: string;
235
+ cover: string;
236
+ description: string;
237
+ name: string;
238
+ };
213
239
  finishChoice: {
214
240
  custom: string;
215
241
  product: string;
216
242
  };
243
+ placeholder: {
244
+ description: string;
245
+ name: string;
246
+ };
247
+ select: {
248
+ addNew: string;
249
+ placeholder: string;
250
+ };
251
+ visibility: {
252
+ privateCallout: string;
253
+ };
217
254
  };
218
255
  currency: {
219
256
  aud: string;
@@ -26,6 +26,7 @@ export const enUS = {
26
26
  name: "Pocket Trash",
27
27
  },
28
28
  action: {
29
+ addCollection: "Add collection",
29
30
  addColor: "Add colour",
30
31
  addFinish: "Add finish",
31
32
  addFinishOption: "Add finish option",
@@ -35,8 +36,10 @@ export const enUS = {
35
36
  addToCollection: "Add to collection",
36
37
  archive: "Archive",
37
38
  clearAllFilters: "Clear all filters",
39
+ clearCover: "Clear cover",
38
40
  close: "Close",
39
41
  confirmAdd: "Add another",
42
+ deleteCover: "Delete cover",
40
43
  edit: "Edit",
41
44
  more: "More",
42
45
  moreFilters: "More filters",
@@ -46,6 +49,7 @@ export const enUS = {
46
49
  removeSelection: "Remove {name}",
47
50
  saveFlag: "Save flag",
48
51
  search: "Search",
52
+ selectCover: "Use this cover",
49
53
  signIn: "Sign in",
50
54
  visitProductPage: "Visit product page",
51
55
  },
@@ -200,6 +204,15 @@ export const enUS = {
200
204
  selectProductType: "Select a product type",
201
205
  },
202
206
  collections: {
207
+ add: {
208
+ title: "Add collection",
209
+ },
210
+ cover: {
211
+ clearConfirmation: "Clear the current cover? It will remain available under previous covers.",
212
+ current: "Current cover",
213
+ deleteConfirmation: "Permanently delete this cover image? This cannot be undone.",
214
+ history: "Previous covers",
215
+ },
203
216
  directory: {
204
217
  avatar: "Generic collector avatar",
205
218
  itemCount: "Collection items: {count}",
@@ -208,12 +221,36 @@ export const enUS = {
208
221
  duplicateWarning: "Matching products already owned: {count}. Confirm to add another.",
209
222
  edit: {
210
223
  noFields: "There are no collection-specific fields to edit for this item.",
224
+ title: "Edit collection",
211
225
  },
212
226
  empty: "No collection items yet.",
227
+ emptyCollections: "You don't have any collections yet.",
228
+ error: {
229
+ chooseCollection: "Choose a collection.",
230
+ syncIncomplete: "Your profile is still syncing. Try again.",
231
+ upload: "The collection was saved, but its cover could not be uploaded. Try again from Edit collection.",
232
+ },
233
+ field: {
234
+ collection: "Collection",
235
+ cover: "Cover image",
236
+ description: "Description",
237
+ name: "Name",
238
+ },
213
239
  finishChoice: {
214
240
  custom: "Custom finish",
215
241
  product: "Product finish",
216
242
  },
243
+ placeholder: {
244
+ description: "Describe this collection",
245
+ name: "Collection name",
246
+ },
247
+ select: {
248
+ addNew: "Add new collection",
249
+ placeholder: "Select a collection",
250
+ },
251
+ visibility: {
252
+ privateCallout: "This item is public, but it will remain hidden while its collection is private.",
253
+ },
217
254
  },
218
255
  currency: {
219
256
  aud: "$ AUD",
@@ -26,6 +26,7 @@ export declare const esMX: {
26
26
  name: string;
27
27
  };
28
28
  action: {
29
+ addCollection: string;
29
30
  addColor: string;
30
31
  addFinish: string;
31
32
  addFinishOption: string;
@@ -35,8 +36,10 @@ export declare const esMX: {
35
36
  addToCollection: string;
36
37
  archive: string;
37
38
  clearAllFilters: string;
39
+ clearCover: string;
38
40
  close: string;
39
41
  confirmAdd: string;
42
+ deleteCover: string;
40
43
  edit: string;
41
44
  more: string;
42
45
  moreFilters: string;
@@ -46,6 +49,7 @@ export declare const esMX: {
46
49
  removeSelection: string;
47
50
  saveFlag: string;
48
51
  search: string;
52
+ selectCover: string;
49
53
  signIn: string;
50
54
  visitProductPage: string;
51
55
  };
@@ -200,6 +204,15 @@ export declare const esMX: {
200
204
  selectProductType: string;
201
205
  };
202
206
  collections: {
207
+ add: {
208
+ title: string;
209
+ };
210
+ cover: {
211
+ clearConfirmation: string;
212
+ current: string;
213
+ deleteConfirmation: string;
214
+ history: string;
215
+ };
203
216
  directory: {
204
217
  avatar: string;
205
218
  itemCount: string;
@@ -208,12 +221,36 @@ export declare const esMX: {
208
221
  duplicateWarning: string;
209
222
  edit: {
210
223
  noFields: string;
224
+ title: string;
211
225
  };
212
226
  empty: string;
227
+ emptyCollections: string;
228
+ error: {
229
+ chooseCollection: string;
230
+ syncIncomplete: string;
231
+ upload: string;
232
+ };
233
+ field: {
234
+ collection: string;
235
+ cover: string;
236
+ description: string;
237
+ name: string;
238
+ };
213
239
  finishChoice: {
214
240
  custom: string;
215
241
  product: string;
216
242
  };
243
+ placeholder: {
244
+ description: string;
245
+ name: string;
246
+ };
247
+ select: {
248
+ addNew: string;
249
+ placeholder: string;
250
+ };
251
+ visibility: {
252
+ privateCallout: string;
253
+ };
217
254
  };
218
255
  currency: {
219
256
  aud: string;
@@ -26,6 +26,7 @@ export const esMX = {
26
26
  name: "",
27
27
  },
28
28
  action: {
29
+ addCollection: "",
29
30
  addColor: "Agregar color",
30
31
  addFinish: "Agregar acabado",
31
32
  addFinishOption: "Agregar opción de acabado",
@@ -35,8 +36,10 @@ export const esMX = {
35
36
  addToCollection: "",
36
37
  archive: "Archivar",
37
38
  clearAllFilters: "Borrar todos los filtros",
39
+ clearCover: "",
38
40
  close: "Cerrar",
39
41
  confirmAdd: "",
42
+ deleteCover: "",
40
43
  edit: "Editar",
41
44
  more: "Más",
42
45
  moreFilters: "Más filtros",
@@ -46,6 +49,7 @@ export const esMX = {
46
49
  removeSelection: "Quitar {name}",
47
50
  saveFlag: "Guardar bandera",
48
51
  search: "Buscar",
52
+ selectCover: "",
49
53
  signIn: "Iniciar sesion",
50
54
  visitProductPage: "Visitar pagina del producto",
51
55
  },
@@ -200,6 +204,15 @@ export const esMX = {
200
204
  selectProductType: "",
201
205
  },
202
206
  collections: {
207
+ add: {
208
+ title: "",
209
+ },
210
+ cover: {
211
+ clearConfirmation: "",
212
+ current: "",
213
+ deleteConfirmation: "",
214
+ history: "",
215
+ },
203
216
  directory: {
204
217
  avatar: "",
205
218
  itemCount: "",
@@ -208,12 +221,36 @@ export const esMX = {
208
221
  duplicateWarning: "",
209
222
  edit: {
210
223
  noFields: "",
224
+ title: "",
211
225
  },
212
226
  empty: "",
227
+ emptyCollections: "",
228
+ error: {
229
+ chooseCollection: "",
230
+ syncIncomplete: "",
231
+ upload: "",
232
+ },
233
+ field: {
234
+ collection: "",
235
+ cover: "",
236
+ description: "",
237
+ name: "",
238
+ },
213
239
  finishChoice: {
214
240
  custom: "Acabado personalizado",
215
241
  product: "Acabado del producto",
216
242
  },
243
+ placeholder: {
244
+ description: "",
245
+ name: "",
246
+ },
247
+ select: {
248
+ addNew: "",
249
+ placeholder: "",
250
+ },
251
+ visibility: {
252
+ privateCallout: "",
253
+ },
217
254
  },
218
255
  currency: {
219
256
  aud: "",
@@ -23,6 +23,7 @@ export type CompleteLocalizationResource = Readonly<{
23
23
  name: string;
24
24
  };
25
25
  action: {
26
+ addCollection: string;
26
27
  addColor: string;
27
28
  addFinish: string;
28
29
  addFinishOption: string;
@@ -32,8 +33,10 @@ export type CompleteLocalizationResource = Readonly<{
32
33
  addToCollection: string;
33
34
  archive: string;
34
35
  clearAllFilters: string;
36
+ clearCover: string;
35
37
  close: string;
36
38
  confirmAdd: string;
39
+ deleteCover: string;
37
40
  edit: string;
38
41
  more: string;
39
42
  moreFilters: string;
@@ -43,6 +46,7 @@ export type CompleteLocalizationResource = Readonly<{
43
46
  removeSelection: string;
44
47
  saveFlag: string;
45
48
  search: string;
49
+ selectCover: string;
46
50
  signIn: string;
47
51
  visitProductPage: string;
48
52
  };
@@ -197,6 +201,15 @@ export type CompleteLocalizationResource = Readonly<{
197
201
  selectProductType: string;
198
202
  };
199
203
  collections: {
204
+ add: {
205
+ title: string;
206
+ };
207
+ cover: {
208
+ clearConfirmation: string;
209
+ current: string;
210
+ deleteConfirmation: string;
211
+ history: string;
212
+ };
200
213
  directory: {
201
214
  avatar: string;
202
215
  itemCount: string;
@@ -205,12 +218,36 @@ export type CompleteLocalizationResource = Readonly<{
205
218
  duplicateWarning: string;
206
219
  edit: {
207
220
  noFields: string;
221
+ title: string;
208
222
  };
209
223
  empty: string;
224
+ emptyCollections: string;
225
+ error: {
226
+ chooseCollection: string;
227
+ syncIncomplete: string;
228
+ upload: string;
229
+ };
230
+ field: {
231
+ collection: string;
232
+ cover: string;
233
+ description: string;
234
+ name: string;
235
+ };
210
236
  finishChoice: {
211
237
  custom: string;
212
238
  product: string;
213
239
  };
240
+ placeholder: {
241
+ description: string;
242
+ name: string;
243
+ };
244
+ select: {
245
+ addNew: string;
246
+ placeholder: string;
247
+ };
248
+ visibility: {
249
+ privateCallout: string;
250
+ };
214
251
  };
215
252
  currency: {
216
253
  aud: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-trash/localizations",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Shared localization utilities and message catalogs for Pocket Trash.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",