From 116c09d958891c52cf79bb9e7e46b3f3e7eaeaed Mon Sep 17 00:00:00 2001 From: httpjamesm Date: Sat, 16 Dec 2023 12:49:45 -0500 Subject: [PATCH] feat: explainers for manual cast --- apps/photos/public/locales/en/translation.json | 4 +++- .../Collections/CollectionOptions/AlbumCastDialog.tsx | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/photos/public/locales/en/translation.json b/apps/photos/public/locales/en/translation.json index e0f3b7a4c..0f47ef41e 100644 --- a/apps/photos/public/locales/en/translation.json +++ b/apps/photos/public/locales/en/translation.json @@ -630,5 +630,7 @@ "AUTO_CAST_PAIR": "Auto Pair", "AUTO_CAST_PAIR_REQUIRES_CONNECTION_TO_GOOGLE": "Auto Pair requires connecting to Google servers and only works with Chromecast supported devices. Google will not receive sensitive data, such as your photos.", "PAIR_WITH_PIN": "Pair with PIN", - "CHOOSE_DEVICE_FROM_BROWSER": "Choose a cast-compatible device from the browser popup." + "CHOOSE_DEVICE_FROM_BROWSER": "Choose a cast-compatible device from the browser popup.", + "PAIR_WITH_PIN_WORKS_FOR_ANY_LARGE_SCREEN_DEVICE": "Pair with PIN works for any large screen device you want to play your album on.", + "VISIT_CAST_ENTE_IO": "Visit cast.ente.io on the device you want to pair." } diff --git a/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx b/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx index 5649708fd..415c3d09f 100644 --- a/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx +++ b/apps/photos/src/components/Collections/CollectionOptions/AlbumCastDialog.tsx @@ -170,6 +170,9 @@ export default function AlbumCastDialog(props: Props) { }}> {t('PAIR_WITH_PIN')} + + {t('PAIR_WITH_PIN_WORKS_FOR_ANY_LARGE_SCREEN_DEVICE')} + )} {view === 'auto' && ( @@ -199,6 +202,7 @@ export default function AlbumCastDialog(props: Props) { )} {view === 'pin' && ( <> + {t('VISIT_CAST_ENTE_IO')} {t('ENTER_CAST_PIN_CODE')}