Fixed delete asset and/or folder message

This commit is contained in:
ronronscelestes 2022-06-13 17:50:44 +01:00
parent f147e38cad
commit 080553d855
4 changed files with 4 additions and 4 deletions

View File

@ -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',

View File

@ -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.',
},
});
},

View File

@ -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.',
},
});

View File

@ -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",