upadtes remove from collection messgae

This commit is contained in:
Abhinav 2021-10-26 11:35:26 +05:30
parent cf8a35f817
commit 2e5425a8e6
2 changed files with 12 additions and 3 deletions

View file

@ -95,7 +95,7 @@ const SelectedFileOptions = ({
const removeFromCollectionHandler = () =>
setDialogMessage({
title: constants.CONFIRM_REMOVE,
content: constants.CONFIRM_REMOVE_MESSAGE,
content: constants.CONFIRM_REMOVE_MESSAGE(),
staticBackdrop: true,
proceed: {
action: removeFromCollectionHelper,

View file

@ -554,8 +554,17 @@ const englishConstants = {
SORT_BY_COLLECTION_NAME: 'album title',
REMOVE: 'remove',
CONFIRM_REMOVE: 'confirm removal',
CONFIRM_REMOVE_MESSAGE:
'are you sure you want to remove these files from the collection',
CONFIRM_REMOVE_MESSAGE: () => (
<>
<p>
are you sure you want to remove these files from the collection?
</p>
<p>
all files that are unique to this album will be moved to trash
</p>
</>
),
};
export default englishConstants;