π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Update consent prompts
Manav Rathidd74a0d6c3f2
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex 62a8016de0..9a5114934b 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -488,10 +488,10 @@"indexing_status_done": "Done","ml_search_disable": "Disable machine learning","ml_search_disable_confirm": "Do you want to disable machine learning on all your devices?",- "enable_face_search": "Enable face recognition",- "enable_face_search_title": "Enable face recognition?",- "enable_face_search_description": "<p>If you enable face recognition, Ente will extract face geometry from your photos. This will happen on your device, and any generated biometric data will be end-to-encrypted.</p><p><a>Please click here for more details about this feature in our privacy policy</a></p>",- "face_search_confirmation": "I understand, and wish to allow Ente to process face geometry",+ "ml_consent": "Enable machine learning",+ "ml_consent_title": "Enable machine learning?",+ "ml_consent_description": "<p>If you enable machine learning, Ente will extract information like face geometry from your photos. This will happen on your device, and any generated biometric information will be end-to-end encrypted.</p><p><a>Please click here for more details about this feature in our privacy policy</a></p>",+ "ml_consent_confirmation": "I understand, and wish to enable machine learning","labs": "Labs","YOURS": "yours","passphrase_strength_weak": "Password strength: Weak",diff --git a/web/packages/new/photos/components/MLSettings.tsx b/web/packages/new/photos/components/MLSettings.tsxindex 017422195a..2afeb351f1 100644--- a/web/packages/new/photos/components/MLSettings.tsx+++ b/web/packages/new/photos/components/MLSettings.tsx@@ -205,6 +205,18 @@ const FaceConsent: React.FC<FaceConsentProps> = ({else onClose();};+ const privacyPolicyLink = (+ <Link+ target="_blank"+ href="https://ente.io/privacy#8-biometric-information-privacy-policy"+ underline="always"+ sx={{+ color: "inherit",+ textDecorationColor: "inherit",+ }}+ />+ );+return (<EnteDrawertransitionDuration={0}@@ -217,26 +229,14 @@ const FaceConsent: React.FC<FaceConsentProps> = ({<Stack spacing={"4px"} py={"12px"}><TitlebaronClose={onClose}- title={t("enable_face_search_title")}+ title={t("ml_consent_title")}onRootClose={handleRootClose}/><Stack py={"20px"} px={"8px"} spacing={"32px"}><Typography component="div" color="text.muted" px={"8px"}><Trans- i18nKey={"enable_face_search_description"}- components={{- a: (- <Link- target="_blank"- href="https://ente.io/privacy#8-biometric-information-privacy-policy"- underline="always"- sx={{- color: "inherit",- textDecorationColor: "inherit",- }}- />- ),- }}+ i18nKey={"ml_consent_description"}+ components={{ a: privacyPolicyLink }}/></Typography><FormGroup sx={{ width: "100%" }}>@@ -255,7 +255,7 @@ const FaceConsent: React.FC<FaceConsentProps> = ({}/>}- label={t("face_search_confirmation")}+ label={t("ml_consent_confirmation")}/></FormGroup><Stack px={"8px"} spacing={"8px"}>@@ -265,7 +265,7 @@ const FaceConsent: React.FC<FaceConsentProps> = ({disabled={!acceptTerms}onClick={onConsent}>- {t("enable_face_search")}+ {t("ml_consent")}</Button><Buttoncolor={"secondary"}