fix(web): more translations (#11167)

* item(s)

* search_by_filename

* filename example

* memory lane
This commit is contained in:
waclaw66 2024-07-17 13:37:39 +02:00 committed by GitHub
parent e3fd766e9b
commit a78365faab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 5 deletions

View file

@ -8,6 +8,7 @@
import { mdiChevronLeft, mdiChevronRight } from '@mdi/js';
import { onMount } from 'svelte';
import { fade } from 'svelte/transition';
import { t } from 'svelte-i18n';
$: shouldRender = $memoryStore?.length > 0;
@ -76,7 +77,7 @@
<img
class="h-full w-full rounded-xl object-cover"
src={getAssetThumbnailUrl(memory.assets[0].id)}
alt={`Memory Lane ${$getAltText(memory.assets[0])}`}
alt={$t('memory_lane_title', { values: { title: $getAltText(memory.assets[0]) } })}
draggable="false"
/>
<p class="absolute bottom-2 left-4 z-10 text-lg text-white">