π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Improve public like/comment modal copy and layout
Anand Baburajan5c99fbc077be
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex f6fbfaed79..9675263bf4 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -134,15 +134,13 @@"no_activity_yet": "No activity yet","no_comments_yet": "No comments yet","no_likes_yet": "No likes yet",- "add_your_name": "Add your name",- "add_your_name_subtitle": "Add your name so your friends know it's you",+ "set_your_name": "Set your name",+ "set_your_name_subtitle": "Pick any name you'd like","like_photo": "Like photo","select_album_to_like": "Select the album to like the photo","say_something_nice": "Say something nice","say_something_nice_placeholder": "Say something nice!",- "share_who_said_it": "Share who said it, or keep it as a private memory.","give_it_a_like": "Give it a like",- "let_them_know_who_liked": "Let them know who liked it","set_name": "Set name","set_name_and_like": "Set name and like","anonymous": "Anonymous",@@ -161,7 +159,7 @@"days_ago": "{{count}}d ago","like_anonymously": "Like anonymously","join_album_and_like": "Join album and like",- "keep_it_private": "Or keep it just between you and the memory.",+ "public_reaction_subtitle": "Stay anonymous, or join and let them know it's you.","comment_anonymously": "Comment anonymously","join_album_and_comment": "Join album and comment","like_all": "Like all",diff --git a/web/packages/gallery/components/viewer/AddNameModal.tsx b/web/packages/gallery/components/viewer/AddNameModal.tsxindex 45a855e351..a67c3d5844 100644--- a/web/packages/gallery/components/viewer/AddNameModal.tsx+++ b/web/packages/gallery/components/viewer/AddNameModal.tsx@@ -220,8 +220,8 @@ export const AddNameModal: React.FC<AddNameModalProps> = ({</IllustrationWrapper><TitleSection>- <Title>{t("add_your_name")}</Title>- <Subtitle>{t("add_your_name_subtitle")}</Subtitle>+ <Title>{t("set_your_name")}</Title>+ <Subtitle>{t("set_your_name_subtitle")}</Subtitle></TitleSection><StyledTextFielddiff --git a/web/packages/gallery/components/viewer/PublicCommentModal.tsx b/web/packages/gallery/components/viewer/PublicCommentModal.tsxindex 988b910804..3df7c4ec77 100644--- a/web/packages/gallery/components/viewer/PublicCommentModal.tsx+++ b/web/packages/gallery/components/viewer/PublicCommentModal.tsx@@ -135,10 +135,12 @@ export const PublicCommentModal: React.FC<PublicCommentModalProps> = ({<TitleSection><Title>{t("say_something_nice")}</Title>- <Subtitle>{t("share_who_said_it")}</Subtitle>+ {enableJoin && (+ <Subtitle>{t("public_reaction_subtitle")}</Subtitle>+ )}</TitleSection>- <ButtonsSection>+ <ButtonsSection sx={!enableJoin ? { mt: 4 } : undefined}><AnonymousButtonvariant="outlined"fullWidth@@ -242,7 +244,7 @@ const Subtitle = styled(Typography)(({ theme }) => ({fontSize: 14,lineHeight: "20px",color: "#666666",- maxWidth: 295,+ maxWidth: 240,...theme.applyStyles("dark", { color: "rgba(255, 255, 255, 0.7)" }),}));diff --git a/web/packages/gallery/components/viewer/PublicLikeModal.tsx b/web/packages/gallery/components/viewer/PublicLikeModal.tsxindex 1ca4776324..46f55cf748 100644--- a/web/packages/gallery/components/viewer/PublicLikeModal.tsx+++ b/web/packages/gallery/components/viewer/PublicLikeModal.tsx@@ -123,14 +123,12 @@ export const PublicLikeModal: React.FC<PublicLikeModalProps> = ({<TitleSection><Title>{t("give_it_a_like")}</Title>- <Subtitle>- {t("let_them_know_who_liked")}- <br />- {t("keep_it_private")}- </Subtitle>+ {enableJoin && (+ <Subtitle>{t("public_reaction_subtitle")}</Subtitle>+ )}</TitleSection>- <ButtonsSection>+ <ButtonsSection sx={!enableJoin ? { mt: 4 } : undefined}><AnonymousButtonvariant="outlined"fullWidth@@ -234,7 +232,7 @@ const Subtitle = styled(Typography)(({ theme }) => ({fontSize: 14,lineHeight: "20px",color: "#666666",- maxWidth: 295,+ maxWidth: 240,...theme.applyStyles("dark", { color: "rgba(255, 255, 255, 0.7)" }),}));