Merge branch 'remove-file-from-collection' into trash
This commit is contained in:
commit
393fb66141
|
@ -124,7 +124,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,
|
||||
|
|
|
@ -553,8 +553,6 @@ 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',
|
||||
TRASH: 'trash',
|
||||
MOVE_TO_TRASH: 'move to trash',
|
||||
TRASH_MESSAGE:
|
||||
|
@ -570,6 +568,17 @@ const englishConstants = {
|
|||
CONFIRM_EMPTY_TRASH: 'confirm empty trash',
|
||||
EMPTY_TRASH_MESSAGE:
|
||||
"all trash files will be permanently deleted and can't be restored",
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue