@pocket-trash/localizations 0.9.2 → 0.10.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
@@ -156,9 +156,11 @@ export declare const localizations: Readonly<{
156
156
  };
157
157
  defaultButton: string;
158
158
  error: {
159
+ bearingLength: string;
159
160
  colorHex: string;
160
161
  colorEffectRequired: string;
161
162
  colorEffectWithoutColors: string;
163
+ descriptionLength: string;
162
164
  duplicate: string;
163
165
  duplicateComponent: string;
164
166
  duplicateFinishOption: string;
@@ -173,19 +175,23 @@ export declare const localizations: Readonly<{
173
175
  url: string;
174
176
  };
175
177
  field: {
178
+ bearing: string;
176
179
  button: string;
177
180
  buttonDiameter: string;
178
181
  colorEffect: string;
179
182
  colorValue: string;
180
183
  colors: string;
184
+ description: string;
181
185
  finishes: string;
182
186
  finishOptions: string;
183
187
  maker: string;
188
+ makerProductUrl: string;
184
189
  materials: string;
185
190
  name: string;
186
191
  productType: string;
187
192
  rootUrl: string;
188
193
  slug: string;
194
+ spinDiameter: string;
189
195
  thickness: string;
190
196
  thicknessWithButton: string;
191
197
  width: string;
@@ -196,6 +202,11 @@ export declare const localizations: Readonly<{
196
202
  moreOptions: string;
197
203
  productTypeAll: string;
198
204
  };
205
+ help: {
206
+ collectionDescriptionOverride: string;
207
+ makerProductUrl: string;
208
+ markdownDescription: string;
209
+ };
199
210
  images: {
200
211
  aspectRatioGuideLink: string;
201
212
  aspectRatioWarning: string;
@@ -286,6 +297,58 @@ export declare const localizations: Readonly<{
286
297
  settingsSaveFailed: string;
287
298
  userSettingsObject: string;
288
299
  };
300
+ feedback: {
301
+ title: string;
302
+ new: {
303
+ title: string;
304
+ description: string;
305
+ titleLabel: string;
306
+ titleHelp: string;
307
+ descriptionHelp: string;
308
+ categoryLabel: string;
309
+ categoryPlaceholder: string;
310
+ submit: string;
311
+ submitting: string;
312
+ success: string;
313
+ failure: string;
314
+ limit: string;
315
+ };
316
+ myRequests: {
317
+ title: string;
318
+ empty: string;
319
+ };
320
+ admin: {
321
+ requests: {
322
+ title: string;
323
+ empty: string;
324
+ approve: string;
325
+ deny: string;
326
+ categoryRequired: string;
327
+ approved: string;
328
+ denied: string;
329
+ updated: string;
330
+ actionFailed: string;
331
+ previousPage: string;
332
+ nextPage: string;
333
+ };
334
+ };
335
+ status: {
336
+ pending: string;
337
+ requested: string;
338
+ };
339
+ category: {
340
+ productType: string;
341
+ feature: string;
342
+ improvement: string;
343
+ bug: string;
344
+ unset: string;
345
+ };
346
+ metadata: {
347
+ submittedOn: string;
348
+ submittedBy: string;
349
+ votes: string;
350
+ };
351
+ };
289
352
  help: {
290
353
  comingSoon: string;
291
354
  contact: string;
@@ -714,9 +777,11 @@ export declare const localizations: Readonly<{
714
777
  };
715
778
  defaultButton: string;
716
779
  error: {
780
+ bearingLength: string;
717
781
  colorHex: string;
718
782
  colorEffectRequired: string;
719
783
  colorEffectWithoutColors: string;
784
+ descriptionLength: string;
720
785
  duplicate: string;
721
786
  duplicateComponent: string;
722
787
  duplicateFinishOption: string;
@@ -731,19 +796,23 @@ export declare const localizations: Readonly<{
731
796
  url: string;
732
797
  };
733
798
  field: {
799
+ bearing: string;
734
800
  button: string;
735
801
  buttonDiameter: string;
736
802
  colorEffect: string;
737
803
  colorValue: string;
738
804
  colors: string;
805
+ description: string;
739
806
  finishes: string;
740
807
  finishOptions: string;
741
808
  maker: string;
809
+ makerProductUrl: string;
742
810
  materials: string;
743
811
  name: string;
744
812
  productType: string;
745
813
  rootUrl: string;
746
814
  slug: string;
815
+ spinDiameter: string;
747
816
  thickness: string;
748
817
  thicknessWithButton: string;
749
818
  width: string;
@@ -754,6 +823,11 @@ export declare const localizations: Readonly<{
754
823
  moreOptions: string;
755
824
  productTypeAll: string;
756
825
  };
826
+ help: {
827
+ collectionDescriptionOverride: string;
828
+ makerProductUrl: string;
829
+ markdownDescription: string;
830
+ };
757
831
  images: {
758
832
  aspectRatioGuideLink: string;
759
833
  aspectRatioWarning: string;
@@ -844,6 +918,58 @@ export declare const localizations: Readonly<{
844
918
  settingsSaveFailed: string;
845
919
  userSettingsObject: string;
846
920
  };
921
+ feedback: {
922
+ title: string;
923
+ new: {
924
+ title: string;
925
+ description: string;
926
+ titleLabel: string;
927
+ titleHelp: string;
928
+ descriptionHelp: string;
929
+ categoryLabel: string;
930
+ categoryPlaceholder: string;
931
+ submit: string;
932
+ submitting: string;
933
+ success: string;
934
+ failure: string;
935
+ limit: string;
936
+ };
937
+ myRequests: {
938
+ title: string;
939
+ empty: string;
940
+ };
941
+ admin: {
942
+ requests: {
943
+ title: string;
944
+ empty: string;
945
+ approve: string;
946
+ deny: string;
947
+ categoryRequired: string;
948
+ approved: string;
949
+ denied: string;
950
+ updated: string;
951
+ actionFailed: string;
952
+ previousPage: string;
953
+ nextPage: string;
954
+ };
955
+ };
956
+ status: {
957
+ pending: string;
958
+ requested: string;
959
+ };
960
+ category: {
961
+ productType: string;
962
+ feature: string;
963
+ improvement: string;
964
+ bug: string;
965
+ unset: string;
966
+ };
967
+ metadata: {
968
+ submittedOn: string;
969
+ submittedBy: string;
970
+ votes: string;
971
+ };
972
+ };
847
973
  help: {
848
974
  comingSoon: string;
849
975
  contact: string;
@@ -154,9 +154,11 @@ export declare const enUS: {
154
154
  };
155
155
  defaultButton: string;
156
156
  error: {
157
+ bearingLength: string;
157
158
  colorHex: string;
158
159
  colorEffectRequired: string;
159
160
  colorEffectWithoutColors: string;
161
+ descriptionLength: string;
160
162
  duplicate: string;
161
163
  duplicateComponent: string;
162
164
  duplicateFinishOption: string;
@@ -171,19 +173,23 @@ export declare const enUS: {
171
173
  url: string;
172
174
  };
173
175
  field: {
176
+ bearing: string;
174
177
  button: string;
175
178
  buttonDiameter: string;
176
179
  colorEffect: string;
177
180
  colorValue: string;
178
181
  colors: string;
182
+ description: string;
179
183
  finishes: string;
180
184
  finishOptions: string;
181
185
  maker: string;
186
+ makerProductUrl: string;
182
187
  materials: string;
183
188
  name: string;
184
189
  productType: string;
185
190
  rootUrl: string;
186
191
  slug: string;
192
+ spinDiameter: string;
187
193
  thickness: string;
188
194
  thicknessWithButton: string;
189
195
  width: string;
@@ -194,6 +200,11 @@ export declare const enUS: {
194
200
  moreOptions: string;
195
201
  productTypeAll: string;
196
202
  };
203
+ help: {
204
+ collectionDescriptionOverride: string;
205
+ makerProductUrl: string;
206
+ markdownDescription: string;
207
+ };
197
208
  images: {
198
209
  aspectRatioGuideLink: string;
199
210
  aspectRatioWarning: string;
@@ -284,6 +295,58 @@ export declare const enUS: {
284
295
  settingsSaveFailed: string;
285
296
  userSettingsObject: string;
286
297
  };
298
+ feedback: {
299
+ title: string;
300
+ new: {
301
+ title: string;
302
+ description: string;
303
+ titleLabel: string;
304
+ titleHelp: string;
305
+ descriptionHelp: string;
306
+ categoryLabel: string;
307
+ categoryPlaceholder: string;
308
+ submit: string;
309
+ submitting: string;
310
+ success: string;
311
+ failure: string;
312
+ limit: string;
313
+ };
314
+ myRequests: {
315
+ title: string;
316
+ empty: string;
317
+ };
318
+ admin: {
319
+ requests: {
320
+ title: string;
321
+ empty: string;
322
+ approve: string;
323
+ deny: string;
324
+ categoryRequired: string;
325
+ approved: string;
326
+ denied: string;
327
+ updated: string;
328
+ actionFailed: string;
329
+ previousPage: string;
330
+ nextPage: string;
331
+ };
332
+ };
333
+ status: {
334
+ pending: string;
335
+ requested: string;
336
+ };
337
+ category: {
338
+ productType: string;
339
+ feature: string;
340
+ improvement: string;
341
+ bug: string;
342
+ unset: string;
343
+ };
344
+ metadata: {
345
+ submittedOn: string;
346
+ submittedBy: string;
347
+ votes: string;
348
+ };
349
+ };
287
350
  help: {
288
351
  comingSoon: string;
289
352
  contact: string;
@@ -154,9 +154,11 @@ export const enUS = {
154
154
  },
155
155
  defaultButton: "Default Button",
156
156
  error: {
157
+ bearingLength: "Enter 200 characters or fewer.",
157
158
  colorHex: "Choose a valid colour.",
158
159
  colorEffectRequired: "Select a colour effect.",
159
160
  colorEffectWithoutColors: "Add a colour or remove the colour effect.",
161
+ descriptionLength: "Enter 5,000 characters or fewer.",
160
162
  duplicate: "That name already exists.",
161
163
  duplicateComponent: "Each finish or colour can only be selected once.",
162
164
  duplicateFinishOption: "That finish option is already listed.",
@@ -171,19 +173,23 @@ export const enUS = {
171
173
  url: "Enter a valid URL.",
172
174
  },
173
175
  field: {
176
+ bearing: "Bearing",
174
177
  button: "Button",
175
178
  buttonDiameter: "Button diameter",
176
179
  colorEffect: "Colour effect",
177
180
  colorValue: "Colour value",
178
181
  colors: "Colours",
182
+ description: "Description",
179
183
  finishes: "Finishes",
180
184
  finishOptions: "Finish options",
181
185
  maker: "Maker",
186
+ makerProductUrl: "Maker product URL",
182
187
  materials: "Materials",
183
188
  name: "Name",
184
189
  productType: "Product type",
185
190
  rootUrl: "Maker URL",
186
191
  slug: "Slug",
192
+ spinDiameter: "Spin diameter",
187
193
  thickness: "Thickness",
188
194
  thicknessWithButton: "Thickness with button",
189
195
  width: "Width",
@@ -194,6 +200,11 @@ export const enUS = {
194
200
  moreOptions: "More {label}",
195
201
  productTypeAll: "All product types",
196
202
  },
203
+ help: {
204
+ collectionDescriptionOverride: "Leave blank to use the product description. Markdown supported. 5,000 characters maximum.",
205
+ makerProductUrl: "Direct link to the product on the maker's website.",
206
+ markdownDescription: "Markdown supported. 5,000 characters maximum.",
207
+ },
197
208
  images: {
198
209
  aspectRatioGuideLink: "Read the image size and resolution guide",
199
210
  aspectRatioWarning: "This image is not 4:3 and will be cropped when displayed.",
@@ -284,6 +295,58 @@ export const enUS = {
284
295
  settingsSaveFailed: "We couldn't save your settings. Please try again.",
285
296
  userSettingsObject: "Expected a user settings object.",
286
297
  },
298
+ feedback: {
299
+ title: "Feedback",
300
+ new: {
301
+ title: "Submit feedback",
302
+ description: "Share an idea or report a problem.",
303
+ titleLabel: "Title",
304
+ titleHelp: "120 characters maximum.",
305
+ descriptionHelp: "5,000 characters maximum.",
306
+ categoryLabel: "Category (optional)",
307
+ categoryPlaceholder: "Select a category",
308
+ submit: "Submit request",
309
+ submitting: "Submitting...",
310
+ success: "Feedback submitted.",
311
+ failure: "We couldn't submit this request.",
312
+ limit: "You can have up to 60 active requests.",
313
+ },
314
+ myRequests: {
315
+ title: "My requests",
316
+ empty: "You haven't submitted any requests yet.",
317
+ },
318
+ admin: {
319
+ requests: {
320
+ title: "Feedback requests",
321
+ empty: "There are no pending requests.",
322
+ approve: "Approve",
323
+ deny: "Deny",
324
+ categoryRequired: "Select a category before approval.",
325
+ approved: "Request approved.",
326
+ denied: "Request denied.",
327
+ updated: "Request updated.",
328
+ actionFailed: "We couldn't update this request.",
329
+ previousPage: "Previous page",
330
+ nextPage: "Next page",
331
+ },
332
+ },
333
+ status: {
334
+ pending: "Pending",
335
+ requested: "Requested",
336
+ },
337
+ category: {
338
+ productType: "Product type",
339
+ feature: "Feature",
340
+ improvement: "Improvement",
341
+ bug: "Bug",
342
+ unset: "Not set",
343
+ },
344
+ metadata: {
345
+ submittedOn: "Submitted {date}",
346
+ submittedBy: "Submitted by {submitter}",
347
+ votes: "{count} votes",
348
+ },
349
+ },
287
350
  help: {
288
351
  comingSoon: "Coming soon.",
289
352
  contact: "Contact",
@@ -154,9 +154,11 @@ export declare const esMX: {
154
154
  };
155
155
  defaultButton: string;
156
156
  error: {
157
+ bearingLength: string;
157
158
  colorHex: string;
158
159
  colorEffectRequired: string;
159
160
  colorEffectWithoutColors: string;
161
+ descriptionLength: string;
160
162
  duplicate: string;
161
163
  duplicateComponent: string;
162
164
  duplicateFinishOption: string;
@@ -171,19 +173,23 @@ export declare const esMX: {
171
173
  url: string;
172
174
  };
173
175
  field: {
176
+ bearing: string;
174
177
  button: string;
175
178
  buttonDiameter: string;
176
179
  colorEffect: string;
177
180
  colorValue: string;
178
181
  colors: string;
182
+ description: string;
179
183
  finishes: string;
180
184
  finishOptions: string;
181
185
  maker: string;
186
+ makerProductUrl: string;
182
187
  materials: string;
183
188
  name: string;
184
189
  productType: string;
185
190
  rootUrl: string;
186
191
  slug: string;
192
+ spinDiameter: string;
187
193
  thickness: string;
188
194
  thicknessWithButton: string;
189
195
  width: string;
@@ -194,6 +200,11 @@ export declare const esMX: {
194
200
  moreOptions: string;
195
201
  productTypeAll: string;
196
202
  };
203
+ help: {
204
+ collectionDescriptionOverride: string;
205
+ makerProductUrl: string;
206
+ markdownDescription: string;
207
+ };
197
208
  images: {
198
209
  aspectRatioGuideLink: string;
199
210
  aspectRatioWarning: string;
@@ -284,6 +295,58 @@ export declare const esMX: {
284
295
  settingsSaveFailed: string;
285
296
  userSettingsObject: string;
286
297
  };
298
+ feedback: {
299
+ title: string;
300
+ new: {
301
+ title: string;
302
+ description: string;
303
+ titleLabel: string;
304
+ titleHelp: string;
305
+ descriptionHelp: string;
306
+ categoryLabel: string;
307
+ categoryPlaceholder: string;
308
+ submit: string;
309
+ submitting: string;
310
+ success: string;
311
+ failure: string;
312
+ limit: string;
313
+ };
314
+ myRequests: {
315
+ title: string;
316
+ empty: string;
317
+ };
318
+ admin: {
319
+ requests: {
320
+ title: string;
321
+ empty: string;
322
+ approve: string;
323
+ deny: string;
324
+ categoryRequired: string;
325
+ approved: string;
326
+ denied: string;
327
+ updated: string;
328
+ actionFailed: string;
329
+ previousPage: string;
330
+ nextPage: string;
331
+ };
332
+ };
333
+ status: {
334
+ pending: string;
335
+ requested: string;
336
+ };
337
+ category: {
338
+ productType: string;
339
+ feature: string;
340
+ improvement: string;
341
+ bug: string;
342
+ unset: string;
343
+ };
344
+ metadata: {
345
+ submittedOn: string;
346
+ submittedBy: string;
347
+ votes: string;
348
+ };
349
+ };
287
350
  help: {
288
351
  comingSoon: string;
289
352
  contact: string;
@@ -154,9 +154,11 @@ export const esMX = {
154
154
  },
155
155
  defaultButton: "",
156
156
  error: {
157
+ bearingLength: "",
157
158
  colorHex: "Elige un color válido.",
158
159
  colorEffectRequired: "Selecciona un efecto de color.",
159
160
  colorEffectWithoutColors: "Agrega un color o quita el efecto de color.",
161
+ descriptionLength: "",
160
162
  duplicate: "",
161
163
  duplicateComponent: "Cada acabado o color solo puede seleccionarse una vez.",
162
164
  duplicateFinishOption: "Esa opción de acabado ya está en la lista.",
@@ -171,19 +173,23 @@ export const esMX = {
171
173
  url: "",
172
174
  },
173
175
  field: {
176
+ bearing: "",
174
177
  button: "",
175
178
  buttonDiameter: "",
176
179
  colorEffect: "Efecto de color",
177
180
  colorValue: "Valor del color",
178
181
  colors: "Colores",
182
+ description: "",
179
183
  finishes: "Acabados",
180
184
  finishOptions: "Opciones de acabado",
181
185
  maker: "",
186
+ makerProductUrl: "",
182
187
  materials: "",
183
188
  name: "",
184
189
  productType: "",
185
190
  rootUrl: "",
186
191
  slug: "",
192
+ spinDiameter: "",
187
193
  thickness: "",
188
194
  thicknessWithButton: "",
189
195
  width: "",
@@ -194,6 +200,11 @@ export const esMX = {
194
200
  moreOptions: "Más opciones de {label}",
195
201
  productTypeAll: "Todos los tipos de producto",
196
202
  },
203
+ help: {
204
+ collectionDescriptionOverride: "",
205
+ makerProductUrl: "",
206
+ markdownDescription: "",
207
+ },
197
208
  images: {
198
209
  aspectRatioGuideLink: "Leer la guía de tamaño y resolución de imágenes",
199
210
  aspectRatioWarning: "Esta imagen no tiene una relación de aspecto de 4:3 y se recortará al mostrarse.",
@@ -284,6 +295,58 @@ export const esMX = {
284
295
  settingsSaveFailed: "",
285
296
  userSettingsObject: "",
286
297
  },
298
+ feedback: {
299
+ title: "Sugerencias",
300
+ new: {
301
+ title: "Enviar sugerencia",
302
+ description: "Comparte una idea o reporta un problema.",
303
+ titleLabel: "Título",
304
+ titleHelp: "Máximo 120 caracteres.",
305
+ descriptionHelp: "Máximo 5,000 caracteres.",
306
+ categoryLabel: "Categoría (opcional)",
307
+ categoryPlaceholder: "Selecciona una categoría",
308
+ submit: "Enviar solicitud",
309
+ submitting: "Enviando...",
310
+ success: "Sugerencia enviada.",
311
+ failure: "No pudimos enviar esta solicitud.",
312
+ limit: "Puedes tener hasta 60 solicitudes activas.",
313
+ },
314
+ myRequests: {
315
+ title: "Mis solicitudes",
316
+ empty: "Aún no has enviado ninguna solicitud.",
317
+ },
318
+ admin: {
319
+ requests: {
320
+ title: "Solicitudes de sugerencias",
321
+ empty: "No hay solicitudes pendientes.",
322
+ approve: "Aprobar",
323
+ deny: "Rechazar",
324
+ categoryRequired: "Selecciona una categoría antes de aprobar.",
325
+ approved: "Solicitud aprobada.",
326
+ denied: "Solicitud rechazada.",
327
+ updated: "Solicitud actualizada.",
328
+ actionFailed: "No pudimos actualizar esta solicitud.",
329
+ previousPage: "Página anterior",
330
+ nextPage: "Página siguiente",
331
+ },
332
+ },
333
+ status: {
334
+ pending: "Pendiente",
335
+ requested: "Solicitada",
336
+ },
337
+ category: {
338
+ productType: "Tipo de producto",
339
+ feature: "Funcionalidad",
340
+ improvement: "Mejora",
341
+ bug: "Error",
342
+ unset: "Sin definir",
343
+ },
344
+ metadata: {
345
+ submittedOn: "Enviada el {date}",
346
+ submittedBy: "Enviada por {submitter}",
347
+ votes: "{count} votos",
348
+ },
349
+ },
287
350
  help: {
288
351
  comingSoon: "Próximamente.",
289
352
  contact: "Contacto",
@@ -151,9 +151,11 @@ export type CompleteLocalizationResource = Readonly<{
151
151
  };
152
152
  defaultButton: string;
153
153
  error: {
154
+ bearingLength: string;
154
155
  colorHex: string;
155
156
  colorEffectRequired: string;
156
157
  colorEffectWithoutColors: string;
158
+ descriptionLength: string;
157
159
  duplicate: string;
158
160
  duplicateComponent: string;
159
161
  duplicateFinishOption: string;
@@ -168,19 +170,23 @@ export type CompleteLocalizationResource = Readonly<{
168
170
  url: string;
169
171
  };
170
172
  field: {
173
+ bearing: string;
171
174
  button: string;
172
175
  buttonDiameter: string;
173
176
  colorEffect: string;
174
177
  colorValue: string;
175
178
  colors: string;
179
+ description: string;
176
180
  finishes: string;
177
181
  finishOptions: string;
178
182
  maker: string;
183
+ makerProductUrl: string;
179
184
  materials: string;
180
185
  name: string;
181
186
  productType: string;
182
187
  rootUrl: string;
183
188
  slug: string;
189
+ spinDiameter: string;
184
190
  thickness: string;
185
191
  thicknessWithButton: string;
186
192
  width: string;
@@ -191,6 +197,11 @@ export type CompleteLocalizationResource = Readonly<{
191
197
  moreOptions: string;
192
198
  productTypeAll: string;
193
199
  };
200
+ help: {
201
+ collectionDescriptionOverride: string;
202
+ makerProductUrl: string;
203
+ markdownDescription: string;
204
+ };
194
205
  images: {
195
206
  aspectRatioGuideLink: string;
196
207
  aspectRatioWarning: string;
@@ -281,6 +292,58 @@ export type CompleteLocalizationResource = Readonly<{
281
292
  settingsSaveFailed: string;
282
293
  userSettingsObject: string;
283
294
  };
295
+ feedback: {
296
+ title: string;
297
+ new: {
298
+ title: string;
299
+ description: string;
300
+ titleLabel: string;
301
+ titleHelp: string;
302
+ descriptionHelp: string;
303
+ categoryLabel: string;
304
+ categoryPlaceholder: string;
305
+ submit: string;
306
+ submitting: string;
307
+ success: string;
308
+ failure: string;
309
+ limit: string;
310
+ };
311
+ myRequests: {
312
+ title: string;
313
+ empty: string;
314
+ };
315
+ admin: {
316
+ requests: {
317
+ title: string;
318
+ empty: string;
319
+ approve: string;
320
+ deny: string;
321
+ categoryRequired: string;
322
+ approved: string;
323
+ denied: string;
324
+ updated: string;
325
+ actionFailed: string;
326
+ previousPage: string;
327
+ nextPage: string;
328
+ };
329
+ };
330
+ status: {
331
+ pending: string;
332
+ requested: string;
333
+ };
334
+ category: {
335
+ productType: string;
336
+ feature: string;
337
+ improvement: string;
338
+ bug: string;
339
+ unset: string;
340
+ };
341
+ metadata: {
342
+ submittedOn: string;
343
+ submittedBy: string;
344
+ votes: string;
345
+ };
346
+ };
284
347
  help: {
285
348
  comingSoon: string;
286
349
  contact: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-trash/localizations",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "Shared localization utilities and message catalogs for Pocket Trash.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",