From a92823aeb2ec7646a402231dbb2fa44911b848f6 Mon Sep 17 00:00:00 2001 From: Ananddubey01 Date: Wed, 11 Jan 2023 14:07:09 +0530 Subject: [PATCH] Shared Collection Options: Resolved changes --- .../Collections/CollectionOptions/SharedCollectionOption.tsx | 3 +-- src/utils/strings/englishConstants.tsx | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Collections/CollectionOptions/SharedCollectionOption.tsx b/src/components/Collections/CollectionOptions/SharedCollectionOption.tsx index 2573ec0e2..05e82ed2a 100644 --- a/src/components/Collections/CollectionOptions/SharedCollectionOption.tsx +++ b/src/components/Collections/CollectionOptions/SharedCollectionOption.tsx @@ -15,13 +15,12 @@ interface Iprops { export function SharedCollectionOption({ handleCollectionAction }: Iprops) { return ( } onClick={handleCollectionAction( CollectionActions.CONFIRM_LEAVE_SHARED_ALBUM, false )}> - {constants.LEAVE} + {constants.LEAVE_ALBUM} ); } diff --git a/src/utils/strings/englishConstants.tsx b/src/utils/strings/englishConstants.tsx index 39b0196a7..0b927c860 100644 --- a/src/utils/strings/englishConstants.tsx +++ b/src/utils/strings/englishConstants.tsx @@ -612,7 +612,8 @@ const englishConstants = { EMPTY_TRASH_MESSAGE: 'These files will be permanently deleted from your ente account.', LEAVE_SHARED_ALBUM: 'Yes, leave', - LEAVE_SHARED_ALBUM_TITLE: 'Leave shared Album?', + LEAVE_ALBUM: 'Leave album', + LEAVE_SHARED_ALBUM_TITLE: 'Leave shared album?', LEAVE_SHARED_ALBUM_FAILED: 'failed to leave the album, please try again', LEAVE_SHARED_ALBUM_MESSAGE: 'You will leave the album, and it will stop being visible to you.',