From bc4d46912e315c50d409c407cc6a1feeeb9832d2 Mon Sep 17 00:00:00 2001 From: Vishnu Date: Sun, 29 Aug 2021 01:20:00 +0530 Subject: [PATCH 1/5] Update first screen --- src/components/PhotoFrame.tsx | 5 ++++- src/utils/strings/englishConstants.tsx | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/PhotoFrame.tsx b/src/components/PhotoFrame.tsx index 2ff375964..0c11c80cc 100644 --- a/src/components/PhotoFrame.tsx +++ b/src/components/PhotoFrame.tsx @@ -489,8 +489,11 @@ const PhotoFrame = ({ return ( <> {!isFirstLoad && files.length === 0 && !searchMode ? ( - + +
+ {constants.UPLOAD_FIRST_PHOTO_DESCRIPTION} +
{constants.OR}
@@ -56,8 +64,8 @@ function ChoiceModal({ }} style={{ padding: '12px 24px', - flex: 2, whiteSpace: 'nowrap', + fontWeight: 900, }}> {constants.UPLOAD_STRATEGY_COLLECTION_PER_FOLDER} diff --git a/src/utils/strings/englishConstants.tsx b/src/utils/strings/englishConstants.tsx index 348deda8d..cb2598b8a 100644 --- a/src/utils/strings/englishConstants.tsx +++ b/src/utils/strings/englishConstants.tsx @@ -86,7 +86,7 @@ const englishConstants = { CONSOLE_WARNING_DESC: "This is a browser feature intended for developers. Please don't copy-paste unverified code here.", SELECT_COLLECTION: 'select an album to upload to', - CREATE_COLLECTION: 'create album', + CREATE_COLLECTION: 'new album', ENTER_ALBUM_NAME: 'album name', CLOSE: 'close', NO: 'no', @@ -145,12 +145,11 @@ const englishConstants = { DELETE_FILE_MESSAGE: 'sure you want to delete selected files?', DELETE_FILE: 'delete files', DELETE: 'delete', - MULTI_FOLDER_UPLOAD: 'choose upload strategy', - UPLOAD_STRATEGY_CHOICE: - 'you are uploading multiple folders, would you like us to create', - UPLOAD_STRATEGY_SINGLE_COLLECTION: 'a single album for everything', + MULTI_FOLDER_UPLOAD: 'multiple folders detected', + UPLOAD_STRATEGY_CHOICE: 'would you like to upload them into', + UPLOAD_STRATEGY_SINGLE_COLLECTION: 'a single album', OR: 'or', - UPLOAD_STRATEGY_COLLECTION_PER_FOLDER: 'separate albums for every folder', + UPLOAD_STRATEGY_COLLECTION_PER_FOLDER: 'separate albums', SESSION_EXPIRED_MESSAGE: 'your session has expired, please login again to continue', SESSION_EXPIRED: 'session expired', @@ -519,7 +518,7 @@ const englishConstants = { INPROGRESS_UPLOADS: 'uploads in progress', FILE_TOO_LARGE: 'the file you are trying to upload is larger than the storage available, please upgrade your plan and try again', - UPLOAD_TO_COLLECTION: 'upload to collection', + UPLOAD_TO_COLLECTION: 'upload to album', }; export default englishConstants; From 05173f31206ac249ac0a635bcd813796e0ef7dbb Mon Sep 17 00:00:00 2001 From: Vishnu Date: Sun, 29 Aug 2021 02:20:45 +0530 Subject: [PATCH 4/5] Remove click handler --- src/components/PhotoFrame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PhotoFrame.tsx b/src/components/PhotoFrame.tsx index 0c11c80cc..49af19661 100644 --- a/src/components/PhotoFrame.tsx +++ b/src/components/PhotoFrame.tsx @@ -489,7 +489,7 @@ const PhotoFrame = ({ return ( <> {!isFirstLoad && files.length === 0 && !searchMode ? ( - +
{constants.UPLOAD_FIRST_PHOTO_DESCRIPTION} From 7e819bd9406d4a2efeb06da9a0092795fae6eb32 Mon Sep 17 00:00:00 2001 From: Vishnu Date: Sun, 29 Aug 2021 02:43:23 +0530 Subject: [PATCH 5/5] Update collection share dialog --- src/components/CollectionShare.tsx | 4 +++- src/utils/strings/englishConstants.tsx | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/CollectionShare.tsx b/src/components/CollectionShare.tsx index 4ff513bc2..25051f266 100644 --- a/src/components/CollectionShare.tsx +++ b/src/components/CollectionShare.tsx @@ -101,7 +101,9 @@ function CollectionShare(props: Props) { onHide={props.onHide} attributes={{ title: constants.SHARE_COLLECTION }}> -
{constants.SHARE_WITH_PEOPLE}
+
+ {constants.SHARE_WITH_PEOPLE} +

initialValues={{ email: '' }} diff --git a/src/utils/strings/englishConstants.tsx b/src/utils/strings/englishConstants.tsx index cb2598b8a..7b09420f4 100644 --- a/src/utils/strings/englishConstants.tsx +++ b/src/utils/strings/englishConstants.tsx @@ -353,7 +353,11 @@ const englishConstants = { ZERO_SHAREES: () => ( <>

currently shared with no one 😔
- "memories are fonder when shared" +
+ + memories are fonder when shared + +
), SHARE_WITH_SELF: 'oops, you cannot share with yourself',