From eb9f8021ae480fff4ab14d0c498fb18f2fc7a2de Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 13 Aug 2025 12:23:25 +0530 Subject: [PATCH] Integrate --- web/apps/photos/src/components/Sidebar.tsx | 101 ++++++++++----------- 1 file changed, 49 insertions(+), 52 deletions(-) diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsx index f163f04920..729b332ed3 100644 --- a/web/apps/photos/src/components/Sidebar.tsx +++ b/web/apps/photos/src/components/Sidebar.tsx @@ -15,6 +15,7 @@ import { DialogContent, Divider, IconButton, + Link, Skeleton, Stack, styled, @@ -825,50 +826,43 @@ const Preferences: React.FC = ({ /> )} - { - /* TODO: CD */ process.env.NEXT_PUBLIC_ENTE_WIP_CD && ( - - - - - - - } - onClick={showDomainSettings} - /> - ) - } + + + + + + + } + onClick={showDomainSettings} + /> } label={t("map")} @@ -1027,7 +1021,7 @@ const DomainSettings: React.FC = ({ onRootClose={handleRootClose} // TODO: CD: Translations title={pt("Custom domains")} - caption="Use your own domain when sharing" + caption={pt("Use your own domain when sharing")} > @@ -1064,8 +1058,6 @@ const DomainSettingsContents: React.FC = () => { const disableShare = !userDetails || !isSubscriptionActivePaid(userDetails.subscription); - // TODO: CD: help - return ( {disableShare && ( @@ -1089,7 +1081,7 @@ const DomainSettingsContents: React.FC = () => { formik.errors.domain ?? pt("Any domain or subdomain you own") } - label={t("Domain")} + label={pt("Domain")} placeholder={ut("photos.example.org")} sx={{ mb: 2 }} /> @@ -1116,10 +1108,15 @@ const DomainSettingsContents: React.FC = () => { - For more information, see - - {" help "} - + For more information, see{" "} + + {t("help").toLocaleLowerCase()} +