diff --git a/i18n/en.json b/i18n/en.json index 30dfc1d96..9077161f1 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1240,7 +1240,6 @@ "image_alt_text_date_place_3_people": "{isVideo, select, true {Video} other {Image}} taken in {city}, {country} with {person1}, {person2}, and {person3} on {date}", "image_alt_text_date_place_4_or_more_people": "{isVideo, select, true {Video} other {Image}} taken in {city}, {country} with {person1}, {person2}, and {additionalCount, number} others on {date}", "immich_logo": "Immich Logo", - "immich_web_interface": "Immich Web Interface", "import_from_json": "Import from JSON", "import_path": "Import path", "in_albums": "In {count, plural, one {# album} other {# albums}}", @@ -2077,7 +2076,6 @@ "shared_link_password_description": "Require a password to access this shared link", "shared_links": "Shared links", "shared_links_description": "Share photos and videos with a link", - "shared_photos_and_videos_count": "{assetCount, plural, other {# shared photos & videos.}}", "shared_with": "Shared with", "shared_with_count": "Shared ({count})", "shared_with_me": "Shared with me", diff --git a/web/src/app.d.ts b/web/src/app.d.ts index 644deae82..1a0c85be0 100644 --- a/web/src/app.d.ts +++ b/web/src/app.d.ts @@ -9,8 +9,6 @@ declare namespace App { interface PageData { meta: { title: string; - description?: string; - imageUrl?: string; }; } diff --git a/web/src/lib/components/pages/SharedLinkPage.svelte b/web/src/lib/components/pages/SharedLinkPage.svelte index 8cb4aadd7..266f7d6a2 100644 --- a/web/src/lib/components/pages/SharedLinkPage.svelte +++ b/web/src/lib/components/pages/SharedLinkPage.svelte @@ -17,8 +17,6 @@ data: { meta: { title: string; - description?: string; - imageUrl?: string; }; sharedLink?: SharedLinkResponseDto; @@ -32,7 +30,7 @@ const { data }: Props = $props(); let { sharedLink, passwordRequired, key, slug, meta } = $state(data); - let { title, description } = $state(meta); + let { title } = $state(meta); let isOwned = $derived(authManager.authenticated && authManager.user.id === sharedLink?.userId); let password = $state(''); @@ -46,9 +44,6 @@ setSharedLink(sharedLink); passwordRequired = false; title = (sharedLink.album ? sharedLink.album.albumName : $t('public_share')) + ' - Immich'; - description = - sharedLink.description || - $t('shared_photos_and_videos_count', { values: { assetCount: sharedLink.assets.length } }); await tick(); await navigate( { targetRoute: 'current', assetId: null, assetGridRouteSearchParams: assetViewerManager.gridScrollTarget }, @@ -71,7 +66,6 @@ {title} - {#if passwordRequired}
- - {#if page.data.meta} - - - - - - - {#if page.data.meta.imageUrl} - - {/if} - {/if} diff --git a/web/src/routes/+page.ts b/web/src/routes/+page.ts index 74b559466..9b171f6c4 100644 --- a/web/src/routes/+page.ts +++ b/web/src/routes/+page.ts @@ -39,7 +39,6 @@ export const load = (async ({ fetch }) => { return { meta: { title: $t('welcome') + ' 🎉', - description: $t('immich_web_interface'), }, }; }) satisfies PageLoad;