feat(dashboard): Improve error messages during file upload (#13991)
* feat(dashboard): Update error message for large files Update error message for uploads of files that exceed their limit Related https://github.com/medusajs/medusa/pull/13981 * Added changeset
This commit is contained in:
@@ -513,7 +513,7 @@
|
||||
"uploadImagesLabel": "Upload images",
|
||||
"uploadImagesHint": "Drag and drop images here or click to upload.",
|
||||
"invalidFileType": "'{{name}}' is not a supported file type. Supported file types are: {{types}}.",
|
||||
"fileTooLarge": "'{{name}}' exceeds the maximum file size of {{size}}. Please upload a smaller file.",
|
||||
"fileTooLarge": "One or more files exceed the maximum file size of {{size}}: {{name}}",
|
||||
"failedToUpload": "Failed to upload the added media. Please try again.",
|
||||
"deleteWarning_one": "You are about to delete {{count}} image. This action cannot be undone.",
|
||||
"deleteWarning_other": "You are about to delete {{count}} images. This action cannot be undone.",
|
||||
|
||||
Reference in New Issue
Block a user