updates confirmation messge
This commit is contained in:
parent
bda01914dc
commit
5ae24449f5
|
@ -331,7 +331,7 @@ export default function Sidebar(props: Props) {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
props.setDialogMessage({
|
props.setDialogMessage({
|
||||||
title: `${constants.DELETE_ACCOUNT}`,
|
title: `${constants.DELETE_ACCOUNT}`,
|
||||||
content: constants.DELETE_MESSAGE(),
|
content: constants.DELETE_ACCOUNT_MESSAGE(),
|
||||||
staticBackdrop: true,
|
staticBackdrop: true,
|
||||||
proceed: {
|
proceed: {
|
||||||
text: constants.DELETE_ACCOUNT,
|
text: constants.DELETE_ACCOUNT,
|
||||||
|
|
|
@ -79,12 +79,12 @@ const SelectedFileOptions = ({
|
||||||
|
|
||||||
const deleteHandler = () =>
|
const deleteHandler = () =>
|
||||||
setDialogMessage({
|
setDialogMessage({
|
||||||
title: constants.CONFIRM_DELETE_FILE,
|
title: constants.CONFIRM_DELETE,
|
||||||
content: constants.DELETE_FILE_MESSAGE,
|
content: constants.DELETE_MESSAGE,
|
||||||
staticBackdrop: true,
|
staticBackdrop: true,
|
||||||
proceed: {
|
proceed: {
|
||||||
action: deleteFileHelper,
|
action: deleteFileHelper,
|
||||||
text: constants.DELETE,
|
text: constants.MOVE_TO_TRASH,
|
||||||
variant: 'danger',
|
variant: 'danger',
|
||||||
},
|
},
|
||||||
close: { text: constants.CANCEL },
|
close: { text: constants.CANCEL },
|
||||||
|
|
|
@ -159,8 +159,9 @@ const englishConstants = {
|
||||||
UPLOAD_FIRST_PHOTO_DESCRIPTION: 'preserve your first memory with ente',
|
UPLOAD_FIRST_PHOTO_DESCRIPTION: 'preserve your first memory with ente',
|
||||||
UPLOAD_FIRST_PHOTO: 'preserve',
|
UPLOAD_FIRST_PHOTO: 'preserve',
|
||||||
UPLOAD_DROPZONE_MESSAGE: 'drop to backup your files',
|
UPLOAD_DROPZONE_MESSAGE: 'drop to backup your files',
|
||||||
CONFIRM_DELETE_FILE: 'confirm file deletion',
|
CONFIRM_DELETE: 'confirm deletion',
|
||||||
DELETE_FILE_MESSAGE: 'sure you want to delete selected files?',
|
DELETE_MESSAGE:
|
||||||
|
'the selected files will be removed from all collection and moved to trash ',
|
||||||
DELETE_FILE: 'delete files',
|
DELETE_FILE: 'delete files',
|
||||||
DELETE: 'delete',
|
DELETE: 'delete',
|
||||||
MULTI_FOLDER_UPLOAD: 'multiple folders detected',
|
MULTI_FOLDER_UPLOAD: 'multiple folders detected',
|
||||||
|
@ -210,7 +211,7 @@ const englishConstants = {
|
||||||
CANCEL: 'cancel',
|
CANCEL: 'cancel',
|
||||||
LOGOUT: 'logout',
|
LOGOUT: 'logout',
|
||||||
DELETE_ACCOUNT: 'delete account',
|
DELETE_ACCOUNT: 'delete account',
|
||||||
DELETE_MESSAGE: () => (
|
DELETE_ACCOUNT_MESSAGE: () => (
|
||||||
<>
|
<>
|
||||||
<p>
|
<p>
|
||||||
please send an email to{' '}
|
please send an email to{' '}
|
||||||
|
@ -557,6 +558,7 @@ const englishConstants = {
|
||||||
CONFIRM_REMOVE_MESSAGE:
|
CONFIRM_REMOVE_MESSAGE:
|
||||||
'are you sure you want to remove these files from the collection',
|
'are you sure you want to remove these files from the collection',
|
||||||
TRASH: 'trash',
|
TRASH: 'trash',
|
||||||
|
MOVE_TO_TRASH: 'move to trash',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default englishConstants;
|
export default englishConstants;
|
||||||
|
|
Loading…
Reference in a new issue