@pocket-trash/localizations 0.4.0 → 0.5.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
@@ -40,6 +40,8 @@ export declare const localizations: Readonly<{
40
40
  close: string;
41
41
  confirmAdd: string;
42
42
  edit: string;
43
+ more: string;
44
+ moreFilters: string;
43
45
  moveFinishOptionDown: string;
44
46
  moveFinishOptionUp: string;
45
47
  removeFinishOption: string;
@@ -145,6 +147,7 @@ export declare const localizations: Readonly<{
145
147
  };
146
148
  defaultButton: string;
147
149
  error: {
150
+ colorHex: string;
148
151
  colorEffectRequired: string;
149
152
  colorEffectWithoutColors: string;
150
153
  duplicate: string;
@@ -164,6 +167,7 @@ export declare const localizations: Readonly<{
164
167
  button: string;
165
168
  buttonDiameter: string;
166
169
  colorEffect: string;
170
+ colorValue: string;
167
171
  colors: string;
168
172
  finishes: string;
169
173
  finishOptions: string;
@@ -177,6 +181,12 @@ export declare const localizations: Readonly<{
177
181
  thicknessWithButton: string;
178
182
  width: string;
179
183
  };
184
+ filter: {
185
+ description: string;
186
+ fadeName: string;
187
+ moreOptions: string;
188
+ productTypeAll: string;
189
+ };
180
190
  finishOptionCount: string;
181
191
  finishPreview: string;
182
192
  materialCount: string;
@@ -195,6 +205,7 @@ export declare const localizations: Readonly<{
195
205
  directory: {
196
206
  avatar: string;
197
207
  itemCount: string;
208
+ matchingItemCount: string;
198
209
  };
199
210
  duplicateWarning: string;
200
211
  edit: {
@@ -264,12 +275,20 @@ export declare const localizations: Readonly<{
264
275
  resources: {
265
276
  action: {
266
277
  accept: string;
278
+ add: string;
279
+ closeImage: string;
280
+ collapseVersion: string;
281
+ collapseVersionHistory: string;
267
282
  delete: string;
268
283
  details: string;
269
284
  download: string;
270
285
  edit: string;
286
+ expandVersion: string;
287
+ expandVersionHistory: string;
271
288
  markPrivate: string;
289
+ nextImage: string;
272
290
  permanentlyDelete: string;
291
+ previousImage: string;
273
292
  removeFile: string;
274
293
  restore: string;
275
294
  retry: string;
@@ -277,6 +296,9 @@ export declare const localizations: Readonly<{
277
296
  upload: string;
278
297
  uploadNewVersion: string;
279
298
  };
299
+ add: {
300
+ title: string;
301
+ };
280
302
  category: {
281
303
  all: string;
282
304
  create: string;
@@ -295,9 +317,13 @@ export declare const localizations: Readonly<{
295
317
  fileSize: string;
296
318
  fileTypeFallback: string;
297
319
  filename: string;
320
+ imageAlt: string;
321
+ noImage: string;
298
322
  noPreview: string;
299
323
  notFound: string;
324
+ openImage: string;
300
325
  previewAlt: string;
326
+ sharedBy: string;
301
327
  totalDownloadCount: string;
302
328
  updatedOn: string;
303
329
  uploadedBy: string;
@@ -334,6 +360,7 @@ export declare const localizations: Readonly<{
334
360
  management: {
335
361
  description: string;
336
362
  editDescription: string;
363
+ editResources: string;
337
364
  editTitle: string;
338
365
  empty: string;
339
366
  metadataOnly: string;
@@ -391,6 +418,7 @@ export declare const localizations: Readonly<{
391
418
  softDeleteSuccess: string;
392
419
  };
393
420
  upload: {
421
+ browseFiles: string;
394
422
  description: string;
395
423
  descriptionLabel: string;
396
424
  descriptionPlaceholder: string;
@@ -401,6 +429,9 @@ export declare const localizations: Readonly<{
401
429
  filesLabel: string;
402
430
  finalizationFailure: string;
403
431
  finalizing: string;
432
+ imagesHelp: string;
433
+ imagesLabel: string;
434
+ imageTypes: string;
404
435
  nameLabel: string;
405
436
  namePlaceholder: string;
406
437
  newVersionTitle: string;
@@ -417,17 +448,26 @@ export declare const localizations: Readonly<{
417
448
  validation: {
418
449
  duplicateFilename: string;
419
450
  fileTooLarge: string;
451
+ imageInvalidType: string;
452
+ imageTooLarge: string;
420
453
  invalidFileType: string;
421
454
  previewInvalidType: string;
422
455
  previewTooLarge: string;
423
456
  requiredCategory: string;
424
457
  requiredDescription: string;
425
458
  requiredFile: string;
459
+ requiredImage: string;
426
460
  requiredName: string;
427
461
  sessionTooLarge: string;
428
462
  tooManyFiles: string;
463
+ tooManyImages: string;
429
464
  unsafeFilename: string;
430
465
  };
466
+ visibility: {
467
+ adminPrivateTooltip: string;
468
+ private: string;
469
+ public: string;
470
+ };
431
471
  };
432
472
  settings: {
433
473
  about: string;
@@ -495,6 +535,8 @@ export declare const localizations: Readonly<{
495
535
  close: string;
496
536
  confirmAdd: string;
497
537
  edit: string;
538
+ more: string;
539
+ moreFilters: string;
498
540
  moveFinishOptionDown: string;
499
541
  moveFinishOptionUp: string;
500
542
  removeFinishOption: string;
@@ -600,6 +642,7 @@ export declare const localizations: Readonly<{
600
642
  };
601
643
  defaultButton: string;
602
644
  error: {
645
+ colorHex: string;
603
646
  colorEffectRequired: string;
604
647
  colorEffectWithoutColors: string;
605
648
  duplicate: string;
@@ -619,6 +662,7 @@ export declare const localizations: Readonly<{
619
662
  button: string;
620
663
  buttonDiameter: string;
621
664
  colorEffect: string;
665
+ colorValue: string;
622
666
  colors: string;
623
667
  finishes: string;
624
668
  finishOptions: string;
@@ -632,6 +676,12 @@ export declare const localizations: Readonly<{
632
676
  thicknessWithButton: string;
633
677
  width: string;
634
678
  };
679
+ filter: {
680
+ description: string;
681
+ fadeName: string;
682
+ moreOptions: string;
683
+ productTypeAll: string;
684
+ };
635
685
  finishOptionCount: string;
636
686
  finishPreview: string;
637
687
  materialCount: string;
@@ -650,6 +700,7 @@ export declare const localizations: Readonly<{
650
700
  directory: {
651
701
  avatar: string;
652
702
  itemCount: string;
703
+ matchingItemCount: string;
653
704
  };
654
705
  duplicateWarning: string;
655
706
  edit: {
@@ -719,12 +770,20 @@ export declare const localizations: Readonly<{
719
770
  resources: {
720
771
  action: {
721
772
  accept: string;
773
+ add: string;
774
+ closeImage: string;
775
+ collapseVersion: string;
776
+ collapseVersionHistory: string;
722
777
  delete: string;
723
778
  details: string;
724
779
  download: string;
725
780
  edit: string;
781
+ expandVersion: string;
782
+ expandVersionHistory: string;
726
783
  markPrivate: string;
784
+ nextImage: string;
727
785
  permanentlyDelete: string;
786
+ previousImage: string;
728
787
  removeFile: string;
729
788
  restore: string;
730
789
  retry: string;
@@ -732,6 +791,9 @@ export declare const localizations: Readonly<{
732
791
  upload: string;
733
792
  uploadNewVersion: string;
734
793
  };
794
+ add: {
795
+ title: string;
796
+ };
735
797
  category: {
736
798
  all: string;
737
799
  create: string;
@@ -750,9 +812,13 @@ export declare const localizations: Readonly<{
750
812
  fileSize: string;
751
813
  fileTypeFallback: string;
752
814
  filename: string;
815
+ imageAlt: string;
816
+ noImage: string;
753
817
  noPreview: string;
754
818
  notFound: string;
819
+ openImage: string;
755
820
  previewAlt: string;
821
+ sharedBy: string;
756
822
  totalDownloadCount: string;
757
823
  updatedOn: string;
758
824
  uploadedBy: string;
@@ -789,6 +855,7 @@ export declare const localizations: Readonly<{
789
855
  management: {
790
856
  description: string;
791
857
  editDescription: string;
858
+ editResources: string;
792
859
  editTitle: string;
793
860
  empty: string;
794
861
  metadataOnly: string;
@@ -846,6 +913,7 @@ export declare const localizations: Readonly<{
846
913
  softDeleteSuccess: string;
847
914
  };
848
915
  upload: {
916
+ browseFiles: string;
849
917
  description: string;
850
918
  descriptionLabel: string;
851
919
  descriptionPlaceholder: string;
@@ -856,6 +924,9 @@ export declare const localizations: Readonly<{
856
924
  filesLabel: string;
857
925
  finalizationFailure: string;
858
926
  finalizing: string;
927
+ imagesHelp: string;
928
+ imagesLabel: string;
929
+ imageTypes: string;
859
930
  nameLabel: string;
860
931
  namePlaceholder: string;
861
932
  newVersionTitle: string;
@@ -872,17 +943,26 @@ export declare const localizations: Readonly<{
872
943
  validation: {
873
944
  duplicateFilename: string;
874
945
  fileTooLarge: string;
946
+ imageInvalidType: string;
947
+ imageTooLarge: string;
875
948
  invalidFileType: string;
876
949
  previewInvalidType: string;
877
950
  previewTooLarge: string;
878
951
  requiredCategory: string;
879
952
  requiredDescription: string;
880
953
  requiredFile: string;
954
+ requiredImage: string;
881
955
  requiredName: string;
882
956
  sessionTooLarge: string;
883
957
  tooManyFiles: string;
958
+ tooManyImages: string;
884
959
  unsafeFilename: string;
885
960
  };
961
+ visibility: {
962
+ adminPrivateTooltip: string;
963
+ private: string;
964
+ public: string;
965
+ };
886
966
  };
887
967
  settings: {
888
968
  about: string;
@@ -38,6 +38,8 @@ export declare const enUS: {
38
38
  close: string;
39
39
  confirmAdd: string;
40
40
  edit: string;
41
+ more: string;
42
+ moreFilters: string;
41
43
  moveFinishOptionDown: string;
42
44
  moveFinishOptionUp: string;
43
45
  removeFinishOption: string;
@@ -143,6 +145,7 @@ export declare const enUS: {
143
145
  };
144
146
  defaultButton: string;
145
147
  error: {
148
+ colorHex: string;
146
149
  colorEffectRequired: string;
147
150
  colorEffectWithoutColors: string;
148
151
  duplicate: string;
@@ -162,6 +165,7 @@ export declare const enUS: {
162
165
  button: string;
163
166
  buttonDiameter: string;
164
167
  colorEffect: string;
168
+ colorValue: string;
165
169
  colors: string;
166
170
  finishes: string;
167
171
  finishOptions: string;
@@ -175,6 +179,12 @@ export declare const enUS: {
175
179
  thicknessWithButton: string;
176
180
  width: string;
177
181
  };
182
+ filter: {
183
+ description: string;
184
+ fadeName: string;
185
+ moreOptions: string;
186
+ productTypeAll: string;
187
+ };
178
188
  finishOptionCount: string;
179
189
  finishPreview: string;
180
190
  materialCount: string;
@@ -193,6 +203,7 @@ export declare const enUS: {
193
203
  directory: {
194
204
  avatar: string;
195
205
  itemCount: string;
206
+ matchingItemCount: string;
196
207
  };
197
208
  duplicateWarning: string;
198
209
  edit: {
@@ -262,12 +273,20 @@ export declare const enUS: {
262
273
  resources: {
263
274
  action: {
264
275
  accept: string;
276
+ add: string;
277
+ closeImage: string;
278
+ collapseVersion: string;
279
+ collapseVersionHistory: string;
265
280
  delete: string;
266
281
  details: string;
267
282
  download: string;
268
283
  edit: string;
284
+ expandVersion: string;
285
+ expandVersionHistory: string;
269
286
  markPrivate: string;
287
+ nextImage: string;
270
288
  permanentlyDelete: string;
289
+ previousImage: string;
271
290
  removeFile: string;
272
291
  restore: string;
273
292
  retry: string;
@@ -275,6 +294,9 @@ export declare const enUS: {
275
294
  upload: string;
276
295
  uploadNewVersion: string;
277
296
  };
297
+ add: {
298
+ title: string;
299
+ };
278
300
  category: {
279
301
  all: string;
280
302
  create: string;
@@ -293,9 +315,13 @@ export declare const enUS: {
293
315
  fileSize: string;
294
316
  fileTypeFallback: string;
295
317
  filename: string;
318
+ imageAlt: string;
319
+ noImage: string;
296
320
  noPreview: string;
297
321
  notFound: string;
322
+ openImage: string;
298
323
  previewAlt: string;
324
+ sharedBy: string;
299
325
  totalDownloadCount: string;
300
326
  updatedOn: string;
301
327
  uploadedBy: string;
@@ -332,6 +358,7 @@ export declare const enUS: {
332
358
  management: {
333
359
  description: string;
334
360
  editDescription: string;
361
+ editResources: string;
335
362
  editTitle: string;
336
363
  empty: string;
337
364
  metadataOnly: string;
@@ -389,6 +416,7 @@ export declare const enUS: {
389
416
  softDeleteSuccess: string;
390
417
  };
391
418
  upload: {
419
+ browseFiles: string;
392
420
  description: string;
393
421
  descriptionLabel: string;
394
422
  descriptionPlaceholder: string;
@@ -399,6 +427,9 @@ export declare const enUS: {
399
427
  filesLabel: string;
400
428
  finalizationFailure: string;
401
429
  finalizing: string;
430
+ imagesHelp: string;
431
+ imagesLabel: string;
432
+ imageTypes: string;
402
433
  nameLabel: string;
403
434
  namePlaceholder: string;
404
435
  newVersionTitle: string;
@@ -415,17 +446,26 @@ export declare const enUS: {
415
446
  validation: {
416
447
  duplicateFilename: string;
417
448
  fileTooLarge: string;
449
+ imageInvalidType: string;
450
+ imageTooLarge: string;
418
451
  invalidFileType: string;
419
452
  previewInvalidType: string;
420
453
  previewTooLarge: string;
421
454
  requiredCategory: string;
422
455
  requiredDescription: string;
423
456
  requiredFile: string;
457
+ requiredImage: string;
424
458
  requiredName: string;
425
459
  sessionTooLarge: string;
426
460
  tooManyFiles: string;
461
+ tooManyImages: string;
427
462
  unsafeFilename: string;
428
463
  };
464
+ visibility: {
465
+ adminPrivateTooltip: string;
466
+ private: string;
467
+ public: string;
468
+ };
429
469
  };
430
470
  settings: {
431
471
  about: string;
@@ -38,6 +38,8 @@ export const enUS = {
38
38
  close: "Close",
39
39
  confirmAdd: "Add another",
40
40
  edit: "Edit",
41
+ more: "More",
42
+ moreFilters: "More filters",
41
43
  moveFinishOptionDown: "Move finish option down",
42
44
  moveFinishOptionUp: "Move finish option up",
43
45
  removeFinishOption: "Remove finish option",
@@ -143,6 +145,7 @@ export const enUS = {
143
145
  },
144
146
  defaultButton: "Default Button",
145
147
  error: {
148
+ colorHex: "Choose a valid colour.",
146
149
  colorEffectRequired: "Select a colour effect.",
147
150
  colorEffectWithoutColors: "Add a colour or remove the colour effect.",
148
151
  duplicate: "That name already exists.",
@@ -162,6 +165,7 @@ export const enUS = {
162
165
  button: "Button",
163
166
  buttonDiameter: "Button diameter",
164
167
  colorEffect: "Colour effect",
168
+ colorValue: "Colour value",
165
169
  colors: "Colours",
166
170
  finishes: "Finishes",
167
171
  finishOptions: "Finish options",
@@ -175,6 +179,12 @@ export const enUS = {
175
179
  thicknessWithButton: "Thickness with button",
176
180
  width: "Width",
177
181
  },
182
+ filter: {
183
+ description: "Filter by product type, material, finish, colour, and maker.",
184
+ fadeName: "{colors} fade",
185
+ moreOptions: "More {label}",
186
+ productTypeAll: "All product types",
187
+ },
178
188
  finishOptionCount: "Finish options: {count}",
179
189
  finishPreview: "Preview: {finish}",
180
190
  materialCount: "Materials: {count}",
@@ -193,6 +203,7 @@ export const enUS = {
193
203
  directory: {
194
204
  avatar: "Generic collector avatar",
195
205
  itemCount: "Collection items: {count}",
206
+ matchingItemCount: "{matching} of {total} collection items",
196
207
  },
197
208
  duplicateWarning: "Matching products already owned: {count}. Confirm to add another.",
198
209
  edit: {
@@ -262,19 +273,30 @@ export const enUS = {
262
273
  resources: {
263
274
  action: {
264
275
  accept: "Accept",
276
+ add: "Add Resource",
277
+ closeImage: "Close image",
278
+ collapseVersion: "Collapse version {version}",
279
+ collapseVersionHistory: "Collapse version history",
265
280
  delete: "Move to trash",
266
281
  details: "Details",
267
282
  download: "Download",
268
283
  edit: "Edit",
284
+ expandVersion: "Expand version {version}",
285
+ expandVersionHistory: "Expand version history",
269
286
  markPrivate: "Mark private",
287
+ nextImage: "Next image",
270
288
  permanentlyDelete: "Delete permanently",
289
+ previousImage: "Previous image",
271
290
  removeFile: "Remove file",
272
291
  restore: "Restore",
273
292
  retry: "Retry",
274
293
  saveChanges: "Save changes",
275
- upload: "Upload resource",
294
+ upload: "Add Resource",
276
295
  uploadNewVersion: "Upload new version",
277
296
  },
297
+ add: {
298
+ title: "Add Resource",
299
+ },
278
300
  category: {
279
301
  all: "All categories",
280
302
  create: "Create “{category}”",
@@ -293,9 +315,13 @@ export const enUS = {
293
315
  fileSize: "Size: {size}",
294
316
  fileTypeFallback: "File",
295
317
  filename: "File: {filename}",
318
+ imageAlt: "Image of {name}",
319
+ noImage: "No image available",
296
320
  noPreview: "No preview image",
297
321
  notFound: "This resource is not available.",
322
+ openImage: "Open {name}",
298
323
  previewAlt: "Preview of {name}",
324
+ sharedBy: "Shared by",
299
325
  totalDownloadCount: "Total downloads: {count}",
300
326
  updatedOn: "Updated {date}",
301
327
  uploadedBy: "Uploaded by {uploader}",
@@ -332,6 +358,7 @@ export const enUS = {
332
358
  management: {
333
359
  description: "Manage your uploads and publish new versions.",
334
360
  editDescription: "Update the resource details without replacing its uploaded files.",
361
+ editResources: "Edit resources",
335
362
  editTitle: "Edit {name}",
336
363
  empty: "You haven't uploaded any resources yet.",
337
364
  metadataOnly: "To replace files, upload a new version. Existing versions stay available.",
@@ -389,7 +416,8 @@ export const enUS = {
389
416
  softDeleteSuccess: "{name} was moved to the trash.",
390
417
  },
391
418
  upload: {
392
- description: "Share files with the Pocket Trash community. All fields except the preview image are required.",
419
+ browseFiles: "Browse",
420
+ description: "Share files with the Pocket Trash community. All fields are required.",
393
421
  descriptionLabel: "Description",
394
422
  descriptionPlaceholder: "Describe this resource",
395
423
  expired: "This upload session expired. Start the upload again.",
@@ -399,6 +427,9 @@ export const enUS = {
399
427
  filesLabel: "Resource files",
400
428
  finalizationFailure: "Your files were uploaded, but the resource could not be finalized. Retry to finish the upload.",
401
429
  finalizing: "Finishing your upload…",
430
+ 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}.",
431
+ imagesLabel: "Images",
432
+ imageTypes: "Allowed image types: JPEG, PNG, and WebP.",
402
433
  nameLabel: "Name",
403
434
  namePlaceholder: "Resource name",
404
435
  newVersionTitle: "Upload a new version of {name}",
@@ -408,24 +439,33 @@ export const enUS = {
408
439
  progress: "Uploading {filename}: {percent}%",
409
440
  retryFile: "Retry {filename}",
410
441
  sessionFailure: "We couldn't start the upload. Try again.",
411
- success: "Your resource was uploaded.",
412
- title: "Upload a resource",
442
+ success: "Your resource was added.",
443
+ title: "Add Resource",
413
444
  versionSuccess: "Version {version} was uploaded.",
414
445
  },
415
446
  validation: {
416
447
  duplicateFilename: "Remove the duplicate filename {filename}.",
417
448
  fileTooLarge: "{filename} must be {maxSize} or smaller.",
449
+ imageInvalidType: "Choose a supported image type.",
450
+ imageTooLarge: "Each image must be {maxSize} or smaller.",
418
451
  invalidFileType: "{filename} is not an allowed file type.",
419
452
  previewInvalidType: "Choose a supported preview image type.",
420
453
  previewTooLarge: "The preview image must be {maxSize} or smaller.",
421
454
  requiredCategory: "Select at least one category.",
422
455
  requiredDescription: "Enter a description.",
423
456
  requiredFile: "Choose at least one resource file.",
457
+ requiredImage: "Choose at least one image.",
424
458
  requiredName: "Enter a resource name.",
425
459
  sessionTooLarge: "The complete upload must be {maxSize} or smaller.",
426
460
  tooManyFiles: "Choose no more than {maxFiles} resource files.",
461
+ tooManyImages: "Choose no more than {maxImages} images.",
427
462
  unsafeFilename: "Rename {filename} before uploading it.",
428
463
  },
464
+ visibility: {
465
+ adminPrivateTooltip: "An administrator marked this resource private. Only an administrator can make it public.",
466
+ private: "Private",
467
+ public: "Public",
468
+ },
429
469
  },
430
470
  settings: {
431
471
  about: "About",
@@ -38,6 +38,8 @@ export declare const esMX: {
38
38
  close: string;
39
39
  confirmAdd: string;
40
40
  edit: string;
41
+ more: string;
42
+ moreFilters: string;
41
43
  moveFinishOptionDown: string;
42
44
  moveFinishOptionUp: string;
43
45
  removeFinishOption: string;
@@ -143,6 +145,7 @@ export declare const esMX: {
143
145
  };
144
146
  defaultButton: string;
145
147
  error: {
148
+ colorHex: string;
146
149
  colorEffectRequired: string;
147
150
  colorEffectWithoutColors: string;
148
151
  duplicate: string;
@@ -162,6 +165,7 @@ export declare const esMX: {
162
165
  button: string;
163
166
  buttonDiameter: string;
164
167
  colorEffect: string;
168
+ colorValue: string;
165
169
  colors: string;
166
170
  finishes: string;
167
171
  finishOptions: string;
@@ -175,6 +179,12 @@ export declare const esMX: {
175
179
  thicknessWithButton: string;
176
180
  width: string;
177
181
  };
182
+ filter: {
183
+ description: string;
184
+ fadeName: string;
185
+ moreOptions: string;
186
+ productTypeAll: string;
187
+ };
178
188
  finishOptionCount: string;
179
189
  finishPreview: string;
180
190
  materialCount: string;
@@ -193,6 +203,7 @@ export declare const esMX: {
193
203
  directory: {
194
204
  avatar: string;
195
205
  itemCount: string;
206
+ matchingItemCount: string;
196
207
  };
197
208
  duplicateWarning: string;
198
209
  edit: {
@@ -262,12 +273,20 @@ export declare const esMX: {
262
273
  resources: {
263
274
  action: {
264
275
  accept: string;
276
+ add: string;
277
+ closeImage: string;
278
+ collapseVersion: string;
279
+ collapseVersionHistory: string;
265
280
  delete: string;
266
281
  details: string;
267
282
  download: string;
268
283
  edit: string;
284
+ expandVersion: string;
285
+ expandVersionHistory: string;
269
286
  markPrivate: string;
287
+ nextImage: string;
270
288
  permanentlyDelete: string;
289
+ previousImage: string;
271
290
  removeFile: string;
272
291
  restore: string;
273
292
  retry: string;
@@ -275,6 +294,9 @@ export declare const esMX: {
275
294
  upload: string;
276
295
  uploadNewVersion: string;
277
296
  };
297
+ add: {
298
+ title: string;
299
+ };
278
300
  category: {
279
301
  all: string;
280
302
  create: string;
@@ -293,9 +315,13 @@ export declare const esMX: {
293
315
  fileSize: string;
294
316
  fileTypeFallback: string;
295
317
  filename: string;
318
+ imageAlt: string;
319
+ noImage: string;
296
320
  noPreview: string;
297
321
  notFound: string;
322
+ openImage: string;
298
323
  previewAlt: string;
324
+ sharedBy: string;
299
325
  totalDownloadCount: string;
300
326
  updatedOn: string;
301
327
  uploadedBy: string;
@@ -332,6 +358,7 @@ export declare const esMX: {
332
358
  management: {
333
359
  description: string;
334
360
  editDescription: string;
361
+ editResources: string;
335
362
  editTitle: string;
336
363
  empty: string;
337
364
  metadataOnly: string;
@@ -389,6 +416,7 @@ export declare const esMX: {
389
416
  softDeleteSuccess: string;
390
417
  };
391
418
  upload: {
419
+ browseFiles: string;
392
420
  description: string;
393
421
  descriptionLabel: string;
394
422
  descriptionPlaceholder: string;
@@ -399,6 +427,9 @@ export declare const esMX: {
399
427
  filesLabel: string;
400
428
  finalizationFailure: string;
401
429
  finalizing: string;
430
+ imagesHelp: string;
431
+ imagesLabel: string;
432
+ imageTypes: string;
402
433
  nameLabel: string;
403
434
  namePlaceholder: string;
404
435
  newVersionTitle: string;
@@ -415,17 +446,26 @@ export declare const esMX: {
415
446
  validation: {
416
447
  duplicateFilename: string;
417
448
  fileTooLarge: string;
449
+ imageInvalidType: string;
450
+ imageTooLarge: string;
418
451
  invalidFileType: string;
419
452
  previewInvalidType: string;
420
453
  previewTooLarge: string;
421
454
  requiredCategory: string;
422
455
  requiredDescription: string;
423
456
  requiredFile: string;
457
+ requiredImage: string;
424
458
  requiredName: string;
425
459
  sessionTooLarge: string;
426
460
  tooManyFiles: string;
461
+ tooManyImages: string;
427
462
  unsafeFilename: string;
428
463
  };
464
+ visibility: {
465
+ adminPrivateTooltip: string;
466
+ private: string;
467
+ public: string;
468
+ };
429
469
  };
430
470
  settings: {
431
471
  about: string;
@@ -9,7 +9,7 @@
9
9
  */
10
10
  export const esMX = {
11
11
  app: {
12
- name: "Pocket Trash",
12
+ name: "",
13
13
  },
14
14
  action: {
15
15
  cancel: "Cancelar",
@@ -23,21 +23,23 @@ export const esMX = {
23
23
  },
24
24
  web: {
25
25
  site: {
26
- name: "Pocket Trash",
26
+ name: "",
27
27
  },
28
28
  action: {
29
29
  addColor: "Agregar color",
30
30
  addFinish: "Agregar acabado",
31
31
  addFinishOption: "Agregar opción de acabado",
32
- addMaker: "Add maker",
33
- addMaterial: "Add material",
34
- addProduct: "Add product",
35
- addToCollection: "Add to collection",
32
+ addMaker: "",
33
+ addMaterial: "",
34
+ addProduct: "",
35
+ addToCollection: "",
36
36
  archive: "Archivar",
37
37
  clearAllFilters: "Borrar todos los filtros",
38
38
  close: "Cerrar",
39
- confirmAdd: "Add another",
39
+ confirmAdd: "",
40
40
  edit: "Editar",
41
+ more: "Más",
42
+ moreFilters: "Más filtros",
41
43
  moveFinishOptionDown: "Mover la opción de acabado hacia abajo",
42
44
  moveFinishOptionUp: "Mover la opción de acabado hacia arriba",
43
45
  removeFinishOption: "Quitar opción de acabado",
@@ -63,17 +65,17 @@ export const esMX = {
63
65
  globalDefaultEnabled: "Valor global activado",
64
66
  newFlag: "Nueva bandera",
65
67
  searchUsers: "Buscar usuarios",
66
- slugPlaceholder: "new-library-ui",
68
+ slugPlaceholder: "",
67
69
  },
68
70
  },
69
71
  archive: {
70
72
  closeSearch: "Cerrar busqueda",
71
73
  controls: "Controles del archivo",
72
- defaultPenDescription: "{siteName} pen.",
74
+ defaultPenDescription: "",
73
75
  filterDescription: "Filtra el archivo por categoria, tamano, material y mas.",
74
76
  filters: "Filtros",
75
- itemCount: "{visible} of {total} items",
76
- noDescription: "(no description on file)",
77
+ itemCount: "",
78
+ noDescription: "",
77
79
  noItems: "Ningun articulo coincide con estos filtros.",
78
80
  searchPlaceholder: "Buscar...",
79
81
  searchProducts: "Buscar plumas por titulo, especificaciones o descripcion",
@@ -88,9 +90,9 @@ export const esMX = {
88
90
  discord: "y el Discord de Machined Pens.",
89
91
  },
90
92
  headline: {
91
- grip: "{size} Grip",
92
- mechanism: "{size} Mechanism",
93
- pen: "Pen",
93
+ grip: "",
94
+ mechanism: "",
95
+ pen: "",
94
96
  },
95
97
  lightbox: {
96
98
  archived: "Archivada - ya no esta listada",
@@ -104,15 +106,15 @@ export const esMX = {
104
106
  all: "todos",
105
107
  any: "cualquiera",
106
108
  matchMode: "Modo de coincidencia de {label}",
107
- bodyDetails: "Body details",
108
- category: "Category",
109
- clip: "Clip",
110
- finish: "Finish",
111
- material: "Material",
112
- mechanism: "Mechanism",
113
- refill: "Refill",
114
- size: "Size",
115
- tipNose: "Tip / Nose",
109
+ bodyDetails: "",
110
+ category: "",
111
+ clip: "",
112
+ finish: "",
113
+ material: "",
114
+ mechanism: "",
115
+ refill: "",
116
+ size: "",
117
+ tipNose: "",
116
118
  },
117
119
  sort: {
118
120
  newestDrop: "Lanzamiento mas reciente",
@@ -141,90 +143,99 @@ export const esMX = {
141
143
  fade: "Degradado",
142
144
  solid: "Sólido",
143
145
  },
144
- defaultButton: "Default Button",
146
+ defaultButton: "",
145
147
  error: {
148
+ colorHex: "Elige un color válido.",
146
149
  colorEffectRequired: "Selecciona un efecto de color.",
147
150
  colorEffectWithoutColors: "Agrega un color o quita el efecto de color.",
148
- duplicate: "That name already exists.",
151
+ duplicate: "",
149
152
  duplicateComponent: "Cada acabado o color solo puede seleccionarse una vez.",
150
153
  duplicateFinishOption: "Esa opción de acabado ya está en la lista.",
151
154
  fadeColors: "Selecciona al menos dos colores para un degradado.",
152
155
  finishOptionRequired: "Agrega al menos una opción de acabado.",
153
156
  finishRequired: "Selecciona al menos un acabado.",
154
- form: "We couldn't save this. Check the fields and try again.",
155
- positive: "Enter a number greater than zero.",
157
+ form: "",
158
+ positive: "",
156
159
  productFinishRequired: "Selecciona un acabado del producto o crea un acabado personalizado.",
157
160
  productMaterialRequired: "Selecciona un material ofrecido por este producto.",
158
- required: "This field is required.",
159
- url: "Enter a valid URL.",
161
+ required: "",
162
+ url: "",
160
163
  },
161
164
  field: {
162
- button: "Button",
163
- buttonDiameter: "Button diameter",
165
+ button: "",
166
+ buttonDiameter: "",
164
167
  colorEffect: "Efecto de color",
168
+ colorValue: "Valor del color",
165
169
  colors: "Colores",
166
170
  finishes: "Acabados",
167
171
  finishOptions: "Opciones de acabado",
168
- maker: "Maker",
169
- materials: "Materials",
170
- name: "Name",
171
- productType: "Product type",
172
- rootUrl: "Maker URL",
173
- slug: "Slug",
174
- thickness: "Thickness",
175
- thicknessWithButton: "Thickness with button",
176
- width: "Width",
172
+ maker: "",
173
+ materials: "",
174
+ name: "",
175
+ productType: "",
176
+ rootUrl: "",
177
+ slug: "",
178
+ thickness: "",
179
+ thicknessWithButton: "",
180
+ width: "",
181
+ },
182
+ filter: {
183
+ description: "Filtra por tipo de producto, material, acabado, color y fabricante.",
184
+ fadeName: "Degradado {colors}",
185
+ moreOptions: "Más opciones de {label}",
186
+ productTypeAll: "Todos los tipos de producto",
177
187
  },
178
188
  finishOptionCount: "Opciones de acabado: {count}",
179
189
  finishPreview: "Vista previa: {finish}",
180
190
  materialCount: "Materiales: {count}",
181
- noProducts: "No products yet.",
182
- notImplemented: "This product type is not implemented yet.",
191
+ noProducts: "",
192
+ notImplemented: "",
183
193
  selectColorEffect: "Selecciona un efecto de color",
184
194
  selectColors: "Selecciona colores",
185
195
  selectFinishes: "Selecciona acabados",
186
196
  selectFinishOption: "Selecciona una opción de acabado",
187
- selectMaker: "Select a maker",
197
+ selectMaker: "",
188
198
  selectMaterial: "Selecciona un material",
189
- selectMaterials: "Select materials",
190
- selectProductType: "Select a product type",
199
+ selectMaterials: "",
200
+ selectProductType: "",
191
201
  },
192
202
  collections: {
193
203
  directory: {
194
- avatar: "Generic collector avatar",
195
- itemCount: "Collection items: {count}",
204
+ avatar: "",
205
+ itemCount: "",
206
+ matchingItemCount: "{matching} de {total} artículos de la colección",
196
207
  },
197
- duplicateWarning: "Matching products already owned: {count}. Confirm to add another.",
208
+ duplicateWarning: "",
198
209
  edit: {
199
- noFields: "There are no collection-specific fields to edit for this item.",
210
+ noFields: "",
200
211
  },
201
- empty: "No collection items yet.",
212
+ empty: "",
202
213
  finishChoice: {
203
214
  custom: "Acabado personalizado",
204
215
  product: "Acabado del producto",
205
216
  },
206
217
  },
207
218
  currency: {
208
- aud: "$ AUD",
209
- cad: "$ CAD (native)",
210
- chf: "CHF",
211
- eur: "EUR EUR",
212
- gbp: "GBP GBP",
213
- jpy: "JPY JPY",
214
- nzd: "$ NZD",
215
- usd: "$ USD",
219
+ aud: "",
220
+ cad: "",
221
+ chf: "",
222
+ eur: "",
223
+ gbp: "",
224
+ jpy: "",
225
+ nzd: "",
226
+ usd: "",
216
227
  },
217
228
  error: {
218
- expectedJsonRequestBody: "Expected a JSON request body.",
219
- invalidCurrencyCode: "Expected a valid currency code.",
220
- invalidDimensionUnit: "Expected a valid dimension unit.",
221
- invalidLocale: "Expected a valid locale.",
222
- invalidLogClientKey: "Invalid log client key.",
223
- invalidTheme: "Expected a valid theme.",
224
- invalidWeightUnit: "Expected a valid weight unit.",
225
- missingSetting: "Expected at least one setting.",
226
- settingsSaveFailed: "We couldn't save your settings. Please try again.",
227
- userSettingsObject: "Expected a user settings object.",
229
+ expectedJsonRequestBody: "",
230
+ invalidCurrencyCode: "",
231
+ invalidDimensionUnit: "",
232
+ invalidLocale: "",
233
+ invalidLogClientKey: "",
234
+ invalidTheme: "",
235
+ invalidWeightUnit: "",
236
+ missingSetting: "",
237
+ settingsSaveFailed: "",
238
+ userSettingsObject: "",
228
239
  },
229
240
  navigation: {
230
241
  account: "Cuenta",
@@ -233,14 +244,14 @@ export const esMX = {
233
244
  collections: "Colecciones",
234
245
  language: "Idioma",
235
246
  logOut: "Cerrar sesion",
236
- products: "Products",
237
- resources: "Resources",
247
+ products: "",
248
+ resources: "",
238
249
  selectLanguage: "Seleccionar idioma",
239
250
  user: "Usuario",
240
251
  },
241
252
  locale: {
242
- enUS: "English (US)",
243
- esMX: "Spanish (Mexico)",
253
+ enUS: "",
254
+ esMX: "",
244
255
  },
245
256
  page: {
246
257
  betaFeatures: {
@@ -256,25 +267,36 @@ export const esMX = {
256
267
  unavailable: "Pagina no disponible",
257
268
  },
258
269
  resources: {
259
- stub: "Resources are coming soon.",
270
+ stub: "",
260
271
  },
261
272
  },
262
273
  resources: {
263
274
  action: {
264
275
  accept: "Aceptar",
276
+ add: "Agregar recurso",
277
+ closeImage: "Cerrar imagen",
278
+ collapseVersion: "Contraer la versión {version}",
279
+ collapseVersionHistory: "Contraer el historial de versiones",
265
280
  delete: "Mover a la papelera",
266
281
  details: "Detalles",
267
282
  download: "Descargar",
268
283
  edit: "Editar",
284
+ expandVersion: "Expandir la versión {version}",
285
+ expandVersionHistory: "Expandir el historial de versiones",
269
286
  markPrivate: "Marcar como privado",
287
+ nextImage: "Imagen siguiente",
270
288
  permanentlyDelete: "Eliminar permanentemente",
289
+ previousImage: "Imagen anterior",
271
290
  removeFile: "Quitar archivo",
272
291
  restore: "Restaurar",
273
292
  retry: "Reintentar",
274
293
  saveChanges: "Guardar cambios",
275
- upload: "Subir recurso",
294
+ upload: "Agregar recurso",
276
295
  uploadNewVersion: "Subir nueva versión",
277
296
  },
297
+ add: {
298
+ title: "Agregar recurso",
299
+ },
278
300
  category: {
279
301
  all: "Todas las categorías",
280
302
  create: "Crear “{category}”",
@@ -293,9 +315,13 @@ export const esMX = {
293
315
  fileSize: "Tamaño: {size}",
294
316
  fileTypeFallback: "Archivo",
295
317
  filename: "Archivo: {filename}",
318
+ imageAlt: "Imagen de {name}",
319
+ noImage: "No hay imagen disponible",
296
320
  noPreview: "Sin imagen de vista previa",
297
321
  notFound: "Este recurso no está disponible.",
322
+ openImage: "Abrir {name}",
298
323
  previewAlt: "Vista previa de {name}",
324
+ sharedBy: "Compartido por",
299
325
  totalDownloadCount: "Descargas totales: {count}",
300
326
  updatedOn: "Actualizado el {date}",
301
327
  uploadedBy: "Subido por {uploader}",
@@ -332,6 +358,7 @@ export const esMX = {
332
358
  management: {
333
359
  description: "Administra tus cargas y publica nuevas versiones.",
334
360
  editDescription: "Actualiza los detalles del recurso sin reemplazar los archivos subidos.",
361
+ editResources: "Editar recursos",
335
362
  editTitle: "Editar {name}",
336
363
  empty: "Todavía no has subido ningún recurso.",
337
364
  metadataOnly: "Para reemplazar archivos, sube una nueva versión. Las versiones anteriores seguirán disponibles.",
@@ -389,7 +416,8 @@ export const esMX = {
389
416
  softDeleteSuccess: "{name} se movió a la papelera.",
390
417
  },
391
418
  upload: {
392
- description: "Comparte archivos con la comunidad de Pocket Trash. Todos los campos, excepto la imagen de vista previa, son obligatorios.",
419
+ browseFiles: "Examinar",
420
+ description: "Comparte archivos con la comunidad de Pocket Trash. Todos los campos son obligatorios.",
393
421
  descriptionLabel: "Descripción",
394
422
  descriptionPlaceholder: "Describe este recurso",
395
423
  expired: "Esta sesión de carga venció. Inicia la carga de nuevo.",
@@ -399,6 +427,9 @@ export const esMX = {
399
427
  filesLabel: "Archivos del recurso",
400
428
  finalizationFailure: "Tus archivos se subieron, pero no se pudo finalizar el recurso. Vuelve a intentarlo para completar la carga.",
401
429
  finalizing: "Finalizando tu carga…",
430
+ 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.",
431
+ imagesLabel: "Imágenes",
432
+ imageTypes: "Tipos de imagen permitidos: JPEG, PNG y WebP.",
402
433
  nameLabel: "Nombre",
403
434
  namePlaceholder: "Nombre del recurso",
404
435
  newVersionTitle: "Subir una nueva versión de {name}",
@@ -408,28 +439,37 @@ export const esMX = {
408
439
  progress: "Subiendo {filename}: {percent}%",
409
440
  retryFile: "Reintentar {filename}",
410
441
  sessionFailure: "No pudimos iniciar la carga. Inténtalo de nuevo.",
411
- success: "Tu recurso se subió.",
412
- title: "Subir un recurso",
442
+ success: "Se agregó tu recurso.",
443
+ title: "Agregar recurso",
413
444
  versionSuccess: "La versión {version} se subió.",
414
445
  },
415
446
  validation: {
416
447
  duplicateFilename: "Quita el nombre de archivo duplicado {filename}.",
417
448
  fileTooLarge: "{filename} debe pesar {maxSize} o menos.",
449
+ imageInvalidType: "Elige un tipo de imagen compatible.",
450
+ imageTooLarge: "Cada imagen debe pesar {maxSize} o menos.",
418
451
  invalidFileType: "El tipo de archivo de {filename} no está permitido.",
419
452
  previewInvalidType: "Elige un tipo de imagen de vista previa compatible.",
420
453
  previewTooLarge: "La imagen de vista previa debe pesar {maxSize} o menos.",
421
454
  requiredCategory: "Selecciona al menos una categoría.",
422
455
  requiredDescription: "Escribe una descripción.",
423
456
  requiredFile: "Elige al menos un archivo de recurso.",
457
+ requiredImage: "Elige al menos una imagen.",
424
458
  requiredName: "Escribe un nombre para el recurso.",
425
459
  sessionTooLarge: "La carga completa debe pesar {maxSize} o menos.",
426
460
  tooManyFiles: "Elige como máximo {maxFiles} archivos de recurso.",
461
+ tooManyImages: "Elige como máximo {maxImages} imágenes.",
427
462
  unsafeFilename: "Cambia el nombre de {filename} antes de subirlo.",
428
463
  },
464
+ visibility: {
465
+ adminPrivateTooltip: "Un administrador marcó este recurso como privado. Solo un administrador puede hacerlo público.",
466
+ private: "Privado",
467
+ public: "Público",
468
+ },
429
469
  },
430
470
  settings: {
431
- about: "About",
432
- aboutDescription: "An unofficial archive of machined pen drops, with filters, specs, descriptions, and local image backups. Made by a fan; not affiliated with any maker.",
471
+ about: "",
472
+ aboutDescription: "",
433
473
  currency: "Moneda",
434
474
  dark: "Oscuro",
435
475
  dimensionUnits: "Unidades de dimensiones",
@@ -35,6 +35,8 @@ export type CompleteLocalizationResource = Readonly<{
35
35
  close: string;
36
36
  confirmAdd: string;
37
37
  edit: string;
38
+ more: string;
39
+ moreFilters: string;
38
40
  moveFinishOptionDown: string;
39
41
  moveFinishOptionUp: string;
40
42
  removeFinishOption: string;
@@ -140,6 +142,7 @@ export type CompleteLocalizationResource = Readonly<{
140
142
  };
141
143
  defaultButton: string;
142
144
  error: {
145
+ colorHex: string;
143
146
  colorEffectRequired: string;
144
147
  colorEffectWithoutColors: string;
145
148
  duplicate: string;
@@ -159,6 +162,7 @@ export type CompleteLocalizationResource = Readonly<{
159
162
  button: string;
160
163
  buttonDiameter: string;
161
164
  colorEffect: string;
165
+ colorValue: string;
162
166
  colors: string;
163
167
  finishes: string;
164
168
  finishOptions: string;
@@ -172,6 +176,12 @@ export type CompleteLocalizationResource = Readonly<{
172
176
  thicknessWithButton: string;
173
177
  width: string;
174
178
  };
179
+ filter: {
180
+ description: string;
181
+ fadeName: string;
182
+ moreOptions: string;
183
+ productTypeAll: string;
184
+ };
175
185
  finishOptionCount: string;
176
186
  finishPreview: string;
177
187
  materialCount: string;
@@ -190,6 +200,7 @@ export type CompleteLocalizationResource = Readonly<{
190
200
  directory: {
191
201
  avatar: string;
192
202
  itemCount: string;
203
+ matchingItemCount: string;
193
204
  };
194
205
  duplicateWarning: string;
195
206
  edit: {
@@ -259,12 +270,20 @@ export type CompleteLocalizationResource = Readonly<{
259
270
  resources: {
260
271
  action: {
261
272
  accept: string;
273
+ add: string;
274
+ closeImage: string;
275
+ collapseVersion: string;
276
+ collapseVersionHistory: string;
262
277
  delete: string;
263
278
  details: string;
264
279
  download: string;
265
280
  edit: string;
281
+ expandVersion: string;
282
+ expandVersionHistory: string;
266
283
  markPrivate: string;
284
+ nextImage: string;
267
285
  permanentlyDelete: string;
286
+ previousImage: string;
268
287
  removeFile: string;
269
288
  restore: string;
270
289
  retry: string;
@@ -272,6 +291,9 @@ export type CompleteLocalizationResource = Readonly<{
272
291
  upload: string;
273
292
  uploadNewVersion: string;
274
293
  };
294
+ add: {
295
+ title: string;
296
+ };
275
297
  category: {
276
298
  all: string;
277
299
  create: string;
@@ -290,9 +312,13 @@ export type CompleteLocalizationResource = Readonly<{
290
312
  fileSize: string;
291
313
  fileTypeFallback: string;
292
314
  filename: string;
315
+ imageAlt: string;
316
+ noImage: string;
293
317
  noPreview: string;
294
318
  notFound: string;
319
+ openImage: string;
295
320
  previewAlt: string;
321
+ sharedBy: string;
296
322
  totalDownloadCount: string;
297
323
  updatedOn: string;
298
324
  uploadedBy: string;
@@ -329,6 +355,7 @@ export type CompleteLocalizationResource = Readonly<{
329
355
  management: {
330
356
  description: string;
331
357
  editDescription: string;
358
+ editResources: string;
332
359
  editTitle: string;
333
360
  empty: string;
334
361
  metadataOnly: string;
@@ -386,6 +413,7 @@ export type CompleteLocalizationResource = Readonly<{
386
413
  softDeleteSuccess: string;
387
414
  };
388
415
  upload: {
416
+ browseFiles: string;
389
417
  description: string;
390
418
  descriptionLabel: string;
391
419
  descriptionPlaceholder: string;
@@ -396,6 +424,9 @@ export type CompleteLocalizationResource = Readonly<{
396
424
  filesLabel: string;
397
425
  finalizationFailure: string;
398
426
  finalizing: string;
427
+ imagesHelp: string;
428
+ imagesLabel: string;
429
+ imageTypes: string;
399
430
  nameLabel: string;
400
431
  namePlaceholder: string;
401
432
  newVersionTitle: string;
@@ -412,17 +443,26 @@ export type CompleteLocalizationResource = Readonly<{
412
443
  validation: {
413
444
  duplicateFilename: string;
414
445
  fileTooLarge: string;
446
+ imageInvalidType: string;
447
+ imageTooLarge: string;
415
448
  invalidFileType: string;
416
449
  previewInvalidType: string;
417
450
  previewTooLarge: string;
418
451
  requiredCategory: string;
419
452
  requiredDescription: string;
420
453
  requiredFile: string;
454
+ requiredImage: string;
421
455
  requiredName: string;
422
456
  sessionTooLarge: string;
423
457
  tooManyFiles: string;
458
+ tooManyImages: string;
424
459
  unsafeFilename: string;
425
460
  };
461
+ visibility: {
462
+ adminPrivateTooltip: string;
463
+ private: string;
464
+ public: string;
465
+ };
426
466
  };
427
467
  settings: {
428
468
  about: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-trash/localizations",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "Shared localization utilities and message catalogs for Pocket Trash.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",