diff --git a/src/lib/components/blocks/ImageGalleryBlock.svelte b/src/lib/components/blocks/ImageGalleryBlock.svelte
index 09566fb..3b35c89 100644
--- a/src/lib/components/blocks/ImageGalleryBlock.svelte
+++ b/src/lib/components/blocks/ImageGalleryBlock.svelte
@@ -167,6 +167,9 @@
{#if withUrl.length === 0}
{t(T.image_gallery_empty)}
{:else if block.variant === "grid"}
+ {#if block.title}
+ {block.title}
+ {/if}
{#each withUrl as item, i}
{@const label = imageLabel(item.img)}
@@ -175,7 +178,7 @@
type="button"
class="group relative block w-full aspect-square overflow-hidden rounded-sm bg-stein-100 cursor-zoom-in focus:outline-none focus:ring-2 focus:ring-wald-500"
onclick={() => openModal(i)}
- aria-label={label || `Bild ${i + 1}`}
+ aria-label={label || t(T.image_gallery_open_aria)}
>
@@ -216,7 +219,6 @@
onclick={(e) => e.stopPropagation()}
role="presentation"
>
-
-
- Download
+
{#if withUrl.length > 1}
@@ -263,7 +266,7 @@
type="button"
class="absolute -top-2 -right-2 inline-flex h-8 w-8 items-center justify-center rounded-full bg-white text-stein-900 shadow-md hover:bg-stein-100 focus:outline-none focus:ring-2 focus:ring-white/50"
onclick={closeModal}
- aria-label="Schließen"
+ aria-label={t(T.image_gallery_close)}
>
diff --git a/src/lib/translations.ts b/src/lib/translations.ts
index 48891e9..303dc2d 100644
--- a/src/lib/translations.ts
+++ b/src/lib/translations.ts
@@ -94,6 +94,10 @@ const TRANSLATION_KEYS = [
"image_gallery_position_aria",
"image_gallery_slide_aria",
"image_gallery_empty",
+ "image_gallery_download",
+ "image_gallery_close",
+ "image_gallery_open_aria",
+ "image_gallery_modal_aria",
"youtube_missing",
"youtube_title_fallback",
"calendar_prev_month",