@pocket-trash/localizations 0.3.1 → 0.5.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.
@@ -26,6 +26,9 @@ export declare const enUS: {
26
26
  name: string;
27
27
  };
28
28
  action: {
29
+ addColor: string;
30
+ addFinish: string;
31
+ addFinishOption: string;
29
32
  addMaker: string;
30
33
  addMaterial: string;
31
34
  addProduct: string;
@@ -35,6 +38,10 @@ export declare const enUS: {
35
38
  close: string;
36
39
  confirmAdd: string;
37
40
  edit: string;
41
+ moveFinishOptionDown: string;
42
+ moveFinishOptionUp: string;
43
+ removeFinishOption: string;
44
+ removeSelection: string;
38
45
  saveFlag: string;
39
46
  search: string;
40
47
  signIn: string;
@@ -130,17 +137,34 @@ export declare const enUS: {
130
137
  };
131
138
  };
132
139
  catalog: {
140
+ colorEffect: {
141
+ fade: string;
142
+ solid: string;
143
+ };
133
144
  defaultButton: string;
134
145
  error: {
146
+ colorEffectRequired: string;
147
+ colorEffectWithoutColors: string;
135
148
  duplicate: string;
149
+ duplicateComponent: string;
150
+ duplicateFinishOption: string;
151
+ fadeColors: string;
152
+ finishOptionRequired: string;
153
+ finishRequired: string;
136
154
  form: string;
137
155
  positive: string;
156
+ productFinishRequired: string;
157
+ productMaterialRequired: string;
138
158
  required: string;
139
159
  url: string;
140
160
  };
141
161
  field: {
142
162
  button: string;
143
163
  buttonDiameter: string;
164
+ colorEffect: string;
165
+ colors: string;
166
+ finishes: string;
167
+ finishOptions: string;
144
168
  maker: string;
145
169
  materials: string;
146
170
  name: string;
@@ -151,9 +175,17 @@ export declare const enUS: {
151
175
  thicknessWithButton: string;
152
176
  width: string;
153
177
  };
178
+ finishOptionCount: string;
179
+ finishPreview: string;
180
+ materialCount: string;
154
181
  noProducts: string;
155
182
  notImplemented: string;
183
+ selectColorEffect: string;
184
+ selectColors: string;
185
+ selectFinishes: string;
186
+ selectFinishOption: string;
156
187
  selectMaker: string;
188
+ selectMaterial: string;
157
189
  selectMaterials: string;
158
190
  selectProductType: string;
159
191
  };
@@ -167,6 +199,10 @@ export declare const enUS: {
167
199
  noFields: string;
168
200
  };
169
201
  empty: string;
202
+ finishChoice: {
203
+ custom: string;
204
+ product: string;
205
+ };
170
206
  };
171
207
  currency: {
172
208
  aud: string;
@@ -199,6 +235,7 @@ export declare const enUS: {
199
235
  logOut: string;
200
236
  products: string;
201
237
  resources: string;
238
+ selectLanguage: string;
202
239
  user: string;
203
240
  };
204
241
  locale: {
@@ -222,6 +259,203 @@ export declare const enUS: {
222
259
  stub: string;
223
260
  };
224
261
  };
262
+ resources: {
263
+ action: {
264
+ accept: string;
265
+ add: string;
266
+ closeImage: string;
267
+ collapseVersion: string;
268
+ collapseVersionHistory: string;
269
+ delete: string;
270
+ details: string;
271
+ download: string;
272
+ edit: string;
273
+ expandVersion: string;
274
+ expandVersionHistory: string;
275
+ markPrivate: string;
276
+ nextImage: string;
277
+ permanentlyDelete: string;
278
+ previousImage: string;
279
+ removeFile: string;
280
+ restore: string;
281
+ retry: string;
282
+ saveChanges: string;
283
+ upload: string;
284
+ uploadNewVersion: string;
285
+ };
286
+ add: {
287
+ title: string;
288
+ };
289
+ category: {
290
+ all: string;
291
+ create: string;
292
+ filterLabel: string;
293
+ label: string;
294
+ noResults: string;
295
+ remove: string;
296
+ search: string;
297
+ select: string;
298
+ selectedCount: string;
299
+ };
300
+ detail: {
301
+ categories: string;
302
+ currentVersion: string;
303
+ downloadCount: string;
304
+ fileSize: string;
305
+ fileTypeFallback: string;
306
+ filename: string;
307
+ imageAlt: string;
308
+ noImage: string;
309
+ noPreview: string;
310
+ notFound: string;
311
+ openImage: string;
312
+ previewAlt: string;
313
+ sharedBy: string;
314
+ totalDownloadCount: string;
315
+ updatedOn: string;
316
+ uploadedBy: string;
317
+ uploadedOn: string;
318
+ version: string;
319
+ versionHistory: string;
320
+ versionUploadedOn: string;
321
+ };
322
+ directory: {
323
+ description: string;
324
+ empty: string;
325
+ emptyFiltered: string;
326
+ filters: string;
327
+ invalidFilter: string;
328
+ loading: string;
329
+ searchPlaceholder: string;
330
+ title: string;
331
+ };
332
+ error: {
333
+ deleteUnauthorized: string;
334
+ downloadAccess: string;
335
+ downloadUnavailable: string;
336
+ editFailed: string;
337
+ loadDetail: string;
338
+ loadDirectory: string;
339
+ loadManagement: string;
340
+ permanentDeleteUnauthorized: string;
341
+ previewAccess: string;
342
+ previewUnavailable: string;
343
+ resourceNotFound: string;
344
+ restoreUnauthorized: string;
345
+ saveFailed: string;
346
+ };
347
+ management: {
348
+ description: string;
349
+ editDescription: string;
350
+ editResources: string;
351
+ editTitle: string;
352
+ empty: string;
353
+ metadataOnly: string;
354
+ title: string;
355
+ };
356
+ moderation: {
357
+ confirmationDescription: string;
358
+ confirmationTitle: string;
359
+ failure: string;
360
+ privateBadge: string;
361
+ privateReason: string;
362
+ privateSince: string;
363
+ reasonLabel: string;
364
+ reasonPlaceholder: string;
365
+ reasonRequired: string;
366
+ success: string;
367
+ };
368
+ notification: {
369
+ acceptFailed: string;
370
+ accepted: string;
371
+ categories: string;
372
+ categoryCreated: string;
373
+ categoryName: string;
374
+ createdAt: string;
375
+ description: string;
376
+ empty: string;
377
+ read: string;
378
+ resourceCreated: string;
379
+ resourceName: string;
380
+ title: string;
381
+ unread: string;
382
+ uploader: string;
383
+ };
384
+ trash: {
385
+ adminEmpty: string;
386
+ adminTitle: string;
387
+ deletedBy: string;
388
+ deletedOn: string;
389
+ deletionRoleAdmin: string;
390
+ deletionRoleOwner: string;
391
+ description: string;
392
+ ownerEmpty: string;
393
+ ownerTitle: string;
394
+ permanentConfirmationDescription: string;
395
+ permanentConfirmationTitle: string;
396
+ permanentFailure: string;
397
+ permanentSuccess: string;
398
+ restoreConfirmationDescription: string;
399
+ restoreConfirmationTitle: string;
400
+ restoreFailure: string;
401
+ restoreSuccess: string;
402
+ softDeleteConfirmationDescription: string;
403
+ softDeleteConfirmationTitle: string;
404
+ softDeleteFailure: string;
405
+ softDeleteSuccess: string;
406
+ };
407
+ upload: {
408
+ browseFiles: string;
409
+ description: string;
410
+ descriptionLabel: string;
411
+ descriptionPlaceholder: string;
412
+ expired: string;
413
+ fileFailure: string;
414
+ fileHelp: string;
415
+ fileTypes: string;
416
+ filesLabel: string;
417
+ finalizationFailure: string;
418
+ finalizing: string;
419
+ imagesHelp: string;
420
+ imagesLabel: string;
421
+ imageTypes: string;
422
+ nameLabel: string;
423
+ namePlaceholder: string;
424
+ newVersionTitle: string;
425
+ previewHelp: string;
426
+ previewLabel: string;
427
+ previewTypes: string;
428
+ progress: string;
429
+ retryFile: string;
430
+ sessionFailure: string;
431
+ success: string;
432
+ title: string;
433
+ versionSuccess: string;
434
+ };
435
+ validation: {
436
+ duplicateFilename: string;
437
+ fileTooLarge: string;
438
+ imageInvalidType: string;
439
+ imageTooLarge: string;
440
+ invalidFileType: string;
441
+ previewInvalidType: string;
442
+ previewTooLarge: string;
443
+ requiredCategory: string;
444
+ requiredDescription: string;
445
+ requiredFile: string;
446
+ requiredImage: string;
447
+ requiredName: string;
448
+ sessionTooLarge: string;
449
+ tooManyFiles: string;
450
+ tooManyImages: string;
451
+ unsafeFilename: string;
452
+ };
453
+ visibility: {
454
+ adminPrivateTooltip: string;
455
+ private: string;
456
+ public: string;
457
+ };
458
+ };
225
459
  settings: {
226
460
  about: string;
227
461
  aboutDescription: string;
@@ -26,6 +26,9 @@ export const enUS = {
26
26
  name: "Pocket Trash",
27
27
  },
28
28
  action: {
29
+ addColor: "Add colour",
30
+ addFinish: "Add finish",
31
+ addFinishOption: "Add finish option",
29
32
  addMaker: "Add maker",
30
33
  addMaterial: "Add material",
31
34
  addProduct: "Add product",
@@ -35,6 +38,10 @@ export const enUS = {
35
38
  close: "Close",
36
39
  confirmAdd: "Add another",
37
40
  edit: "Edit",
41
+ moveFinishOptionDown: "Move finish option down",
42
+ moveFinishOptionUp: "Move finish option up",
43
+ removeFinishOption: "Remove finish option",
44
+ removeSelection: "Remove {name}",
38
45
  saveFlag: "Save flag",
39
46
  search: "Search",
40
47
  signIn: "Sign in",
@@ -130,17 +137,34 @@ export const enUS = {
130
137
  },
131
138
  },
132
139
  catalog: {
140
+ colorEffect: {
141
+ fade: "Fade",
142
+ solid: "Solid",
143
+ },
133
144
  defaultButton: "Default Button",
134
145
  error: {
146
+ colorEffectRequired: "Select a colour effect.",
147
+ colorEffectWithoutColors: "Add a colour or remove the colour effect.",
135
148
  duplicate: "That name already exists.",
149
+ duplicateComponent: "Each finish or colour can only be selected once.",
150
+ duplicateFinishOption: "That finish option is already listed.",
151
+ fadeColors: "Select at least two colours for a fade.",
152
+ finishOptionRequired: "Add at least one finish option.",
153
+ finishRequired: "Select at least one finish.",
136
154
  form: "We couldn't save this. Check the fields and try again.",
137
155
  positive: "Enter a number greater than zero.",
156
+ productFinishRequired: "Select a product finish or create a custom finish.",
157
+ productMaterialRequired: "Select a material offered by this product.",
138
158
  required: "This field is required.",
139
159
  url: "Enter a valid URL.",
140
160
  },
141
161
  field: {
142
162
  button: "Button",
143
163
  buttonDiameter: "Button diameter",
164
+ colorEffect: "Colour effect",
165
+ colors: "Colours",
166
+ finishes: "Finishes",
167
+ finishOptions: "Finish options",
144
168
  maker: "Maker",
145
169
  materials: "Materials",
146
170
  name: "Name",
@@ -151,9 +175,17 @@ export const enUS = {
151
175
  thicknessWithButton: "Thickness with button",
152
176
  width: "Width",
153
177
  },
178
+ finishOptionCount: "Finish options: {count}",
179
+ finishPreview: "Preview: {finish}",
180
+ materialCount: "Materials: {count}",
154
181
  noProducts: "No products yet.",
155
182
  notImplemented: "This product type is not implemented yet.",
183
+ selectColorEffect: "Select a colour effect",
184
+ selectColors: "Select colours",
185
+ selectFinishes: "Select finishes",
186
+ selectFinishOption: "Select a finish option",
156
187
  selectMaker: "Select a maker",
188
+ selectMaterial: "Select a material",
157
189
  selectMaterials: "Select materials",
158
190
  selectProductType: "Select a product type",
159
191
  },
@@ -167,6 +199,10 @@ export const enUS = {
167
199
  noFields: "There are no collection-specific fields to edit for this item.",
168
200
  },
169
201
  empty: "No collection items yet.",
202
+ finishChoice: {
203
+ custom: "Custom finish",
204
+ product: "Product finish",
205
+ },
170
206
  },
171
207
  currency: {
172
208
  aud: "$ AUD",
@@ -199,6 +235,7 @@ export const enUS = {
199
235
  logOut: "Log out",
200
236
  products: "Products",
201
237
  resources: "Resources",
238
+ selectLanguage: "Select language",
202
239
  user: "User",
203
240
  },
204
241
  locale: {
@@ -222,6 +259,203 @@ export const enUS = {
222
259
  stub: "Resources are coming soon.",
223
260
  },
224
261
  },
262
+ resources: {
263
+ action: {
264
+ accept: "Accept",
265
+ add: "Add Resource",
266
+ closeImage: "Close image",
267
+ collapseVersion: "Collapse version {version}",
268
+ collapseVersionHistory: "Collapse version history",
269
+ delete: "Move to trash",
270
+ details: "Details",
271
+ download: "Download",
272
+ edit: "Edit",
273
+ expandVersion: "Expand version {version}",
274
+ expandVersionHistory: "Expand version history",
275
+ markPrivate: "Mark private",
276
+ nextImage: "Next image",
277
+ permanentlyDelete: "Delete permanently",
278
+ previousImage: "Previous image",
279
+ removeFile: "Remove file",
280
+ restore: "Restore",
281
+ retry: "Retry",
282
+ saveChanges: "Save changes",
283
+ upload: "Add Resource",
284
+ uploadNewVersion: "Upload new version",
285
+ },
286
+ add: {
287
+ title: "Add Resource",
288
+ },
289
+ category: {
290
+ all: "All categories",
291
+ create: "Create “{category}”",
292
+ filterLabel: "Filter by category",
293
+ label: "Categories",
294
+ noResults: "No categories found.",
295
+ remove: "Remove {category}",
296
+ search: "Search categories",
297
+ select: "Select one or more categories",
298
+ selectedCount: "Selected categories: {count}",
299
+ },
300
+ detail: {
301
+ categories: "Categories",
302
+ currentVersion: "Current version",
303
+ downloadCount: "Downloads: {count}",
304
+ fileSize: "Size: {size}",
305
+ fileTypeFallback: "File",
306
+ filename: "File: {filename}",
307
+ imageAlt: "Image of {name}",
308
+ noImage: "No image available",
309
+ noPreview: "No preview image",
310
+ notFound: "This resource is not available.",
311
+ openImage: "Open {name}",
312
+ previewAlt: "Preview of {name}",
313
+ sharedBy: "Shared by",
314
+ totalDownloadCount: "Total downloads: {count}",
315
+ updatedOn: "Updated {date}",
316
+ uploadedBy: "Uploaded by {uploader}",
317
+ uploadedOn: "Uploaded {date}",
318
+ version: "Version {version}",
319
+ versionHistory: "Version history",
320
+ versionUploadedOn: "Version {version}, uploaded {date}",
321
+ },
322
+ directory: {
323
+ description: "Browse files shared by the Pocket Trash community.",
324
+ empty: "No resources have been uploaded yet.",
325
+ emptyFiltered: "No resources match these category filters.",
326
+ filters: "Resource filters",
327
+ invalidFilter: "One or more category filters are invalid.",
328
+ loading: "Loading resources…",
329
+ searchPlaceholder: "Search resources",
330
+ title: "Resources",
331
+ },
332
+ error: {
333
+ deleteUnauthorized: "You cannot delete this resource.",
334
+ downloadAccess: "You do not have access to download this file.",
335
+ downloadUnavailable: "A download link for {filename} could not be created. Try again.",
336
+ editFailed: "We couldn't update this resource. Try again.",
337
+ loadDetail: "We couldn't load this resource. Try again.",
338
+ loadDirectory: "We couldn't load resources. Try again.",
339
+ loadManagement: "We couldn't load your resources. Try again.",
340
+ permanentDeleteUnauthorized: "Only an admin can permanently delete this resource.",
341
+ previewAccess: "You do not have access to this preview image.",
342
+ previewUnavailable: "A preview image link could not be created. Try again.",
343
+ resourceNotFound: "Resource not found.",
344
+ restoreUnauthorized: "You cannot restore this resource.",
345
+ saveFailed: "We couldn't save this resource. Try again.",
346
+ },
347
+ management: {
348
+ description: "Manage your uploads and publish new versions.",
349
+ editDescription: "Update the resource details without replacing its uploaded files.",
350
+ editResources: "Edit resources",
351
+ editTitle: "Edit {name}",
352
+ empty: "You haven't uploaded any resources yet.",
353
+ metadataOnly: "To replace files, upload a new version. Existing versions stay available.",
354
+ title: "Your resources",
355
+ },
356
+ moderation: {
357
+ confirmationDescription: "Delist {name} from public Resources? The uploader and admins will still be able to view it.",
358
+ confirmationTitle: "Mark resource private",
359
+ failure: "We couldn't delist this resource. Try again.",
360
+ privateBadge: "Delisted",
361
+ privateReason: "Reason: {reason}",
362
+ privateSince: "Delisted {date}",
363
+ reasonLabel: "Reason for delisting",
364
+ reasonPlaceholder: "Explain why this resource should be delisted",
365
+ reasonRequired: "A reason is required.",
366
+ success: "{name} is now delisted.",
367
+ },
368
+ notification: {
369
+ acceptFailed: "We couldn't mark this notification as read. Try again.",
370
+ accepted: "Notification marked as read.",
371
+ categories: "Categories: {categories}",
372
+ categoryCreated: "Category created",
373
+ categoryName: "Category: {name}",
374
+ createdAt: "Created {date}",
375
+ description: "Review new resource and category activity.",
376
+ empty: "No resource notifications.",
377
+ read: "Read",
378
+ resourceCreated: "Resource created",
379
+ resourceName: "Resource: {name}",
380
+ title: "Resource notifications",
381
+ unread: "Unread",
382
+ uploader: "Uploader: {uploader}",
383
+ },
384
+ trash: {
385
+ adminEmpty: "No resources are in the trash.",
386
+ adminTitle: "Resource trash",
387
+ deletedBy: "Deleted by {user}",
388
+ deletedOn: "Deleted {date}",
389
+ deletionRoleAdmin: "Deleted by an admin",
390
+ deletionRoleOwner: "Deleted by the owner",
391
+ description: "Restore resources or permanently delete them from storage.",
392
+ ownerEmpty: "You have no resources in the trash.",
393
+ ownerTitle: "Your resource trash",
394
+ permanentConfirmationDescription: "Permanently delete {name}? Every uploaded file, preview, version, and download record will be removed. This cannot be undone.",
395
+ permanentConfirmationTitle: "Permanently delete resource",
396
+ permanentFailure: "We couldn't permanently delete {name}. It remains in the trash and can be retried.",
397
+ permanentSuccess: "{name} was permanently deleted.",
398
+ restoreConfirmationDescription: "Restore {name} to Resources?",
399
+ restoreConfirmationTitle: "Restore resource",
400
+ restoreFailure: "We couldn't restore {name}. Try again.",
401
+ restoreSuccess: "{name} was restored.",
402
+ softDeleteConfirmationDescription: "Move {name} to the trash? It will no longer appear in Resources or be available to download.",
403
+ softDeleteConfirmationTitle: "Move resource to trash",
404
+ softDeleteFailure: "We couldn't move {name} to the trash. Try again.",
405
+ softDeleteSuccess: "{name} was moved to the trash.",
406
+ },
407
+ upload: {
408
+ browseFiles: "Browse",
409
+ description: "Share files with the Pocket Trash community. All fields are required.",
410
+ descriptionLabel: "Description",
411
+ descriptionPlaceholder: "Describe this resource",
412
+ expired: "This upload session expired. Start the upload again.",
413
+ fileFailure: "{filename} couldn't be uploaded. Retry this file.",
414
+ fileHelp: "Choose 1–{maxFiles} files. Each file can be up to {maxFileSize}; the complete upload can be up to {maxSessionSize}.",
415
+ fileTypes: "Allowed file types: STL, 3MF, STEP, STP, PDF, TXT, and ZIP.",
416
+ filesLabel: "Resource files",
417
+ finalizationFailure: "Your files were uploaded, but the resource could not be finalized. Retry to finish the upload.",
418
+ finalizing: "Finishing your upload…",
419
+ 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}.",
420
+ imagesLabel: "Images",
421
+ imageTypes: "Allowed image types: JPEG, PNG, and WebP.",
422
+ nameLabel: "Name",
423
+ namePlaceholder: "Resource name",
424
+ newVersionTitle: "Upload a new version of {name}",
425
+ previewHelp: "Optional image shown in resource cards and details.",
426
+ previewLabel: "Preview image",
427
+ previewTypes: "Allowed preview types: JPEG, PNG, and WebP.",
428
+ progress: "Uploading {filename}: {percent}%",
429
+ retryFile: "Retry {filename}",
430
+ sessionFailure: "We couldn't start the upload. Try again.",
431
+ success: "Your resource was added.",
432
+ title: "Add Resource",
433
+ versionSuccess: "Version {version} was uploaded.",
434
+ },
435
+ validation: {
436
+ duplicateFilename: "Remove the duplicate filename {filename}.",
437
+ fileTooLarge: "{filename} must be {maxSize} or smaller.",
438
+ imageInvalidType: "Choose a supported image type.",
439
+ imageTooLarge: "Each image must be {maxSize} or smaller.",
440
+ invalidFileType: "{filename} is not an allowed file type.",
441
+ previewInvalidType: "Choose a supported preview image type.",
442
+ previewTooLarge: "The preview image must be {maxSize} or smaller.",
443
+ requiredCategory: "Select at least one category.",
444
+ requiredDescription: "Enter a description.",
445
+ requiredFile: "Choose at least one resource file.",
446
+ requiredImage: "Choose at least one image.",
447
+ requiredName: "Enter a resource name.",
448
+ sessionTooLarge: "The complete upload must be {maxSize} or smaller.",
449
+ tooManyFiles: "Choose no more than {maxFiles} resource files.",
450
+ tooManyImages: "Choose no more than {maxImages} images.",
451
+ unsafeFilename: "Rename {filename} before uploading it.",
452
+ },
453
+ visibility: {
454
+ adminPrivateTooltip: "An administrator marked this resource private. Only an administrator can make it public.",
455
+ private: "Private",
456
+ public: "Public",
457
+ },
458
+ },
225
459
  settings: {
226
460
  about: "About",
227
461
  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.",