feat(i18n): translation strings in Modal

This commit is contained in:
Gwendal Beaumont committed 2026-04-01 22:49:14 +02:00
1 parent a2c187b7b3
commit 6caa6a1f2c
1 file changed
+2 -1
+2 -1
View File
@@ -1,5 +1,6 @@
<script lang="ts">
import { X } from 'lucide-svelte';
import { t } from '$lib/i18n';
import type { Snippet } from 'svelte';
interface Props {
@@ -58,7 +59,7 @@
<div></div>
{/if}
{#if showCloseButton}
<button class="close-btn" onclick={onClose} title="Close">
<button class="close-btn" onclick={onClose} title={$t('actions.close')}>
<X size={20} />
</button>
{/if}