mirror of
https://github.com/strapi/strapi.git
synced 2025-09-16 12:02:41 +00:00
Fixed delete asset and/or folder message
This commit is contained in:
parent
f147e38cad
commit
080553d855
@ -688,7 +688,7 @@ describe('RemoveAssetDialog', () => {
|
||||
await waitFor(() =>
|
||||
expect(toggleNotificationSpy).toHaveBeenCalledWith({
|
||||
message: {
|
||||
defaultMessage: 'The asset has been successfully removed.',
|
||||
defaultMessage: 'Elements have been successfully deleted.',
|
||||
id: 'modal.remove.success-label',
|
||||
},
|
||||
type: 'success',
|
||||
|
@ -45,7 +45,7 @@ export const useBulkRemove = () => {
|
||||
type: 'success',
|
||||
message: {
|
||||
id: getTrad('modal.remove.success-label'),
|
||||
defaultMessage: 'Changes successfully saved',
|
||||
defaultMessage: 'Elements have been successfully deleted.',
|
||||
},
|
||||
});
|
||||
},
|
||||
|
@ -17,7 +17,7 @@ export const useRemoveAsset = onSuccess => {
|
||||
type: 'success',
|
||||
message: {
|
||||
id: 'modal.remove.success-label',
|
||||
defaultMessage: 'The asset has been successfully removed.',
|
||||
defaultMessage: 'Elements have been successfully deleted.',
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -68,7 +68,7 @@
|
||||
"modal.nav.computer": "From computer",
|
||||
"modal.nav.selected": "selected",
|
||||
"modal.nav.url": "From url",
|
||||
"modal.remove.success-label": "Changes successfully saved.",
|
||||
"modal.remove.success-label": "Elements have been successfully deleted.",
|
||||
"modal.selected-list.sub-header-subtitle": "Drag & drop to reorder the assets in the field",
|
||||
"modal.upload-list.footer.button": "Upload {number, plural, one {# asset} other {# assets}} to the library",
|
||||
"modal.upload-list.sub-header-subtitle": "Manage the assets before adding them to the Media Library",
|
||||
|
Loading…
x
Reference in New Issue
Block a user