diff --git a/frontend/src/lib/components/ImageInfoModal.svelte b/frontend/src/lib/components/ImageInfoModal.svelte index c384143..e1462cd 100644 --- a/frontend/src/lib/components/ImageInfoModal.svelte +++ b/frontend/src/lib/components/ImageInfoModal.svelte @@ -5,6 +5,7 @@ import { onMount } from 'svelte'; let modal: HTMLDialogElement; export let background: Background; + import { t } from 'svelte-i18n'; onMount(() => { modal = document.getElementById('my_modal_1') as HTMLDialogElement; @@ -29,14 +30,14 @@
Photo by {background.author}
+{$t('settings.photo_by')} {background.author}
{/if} {#if background.location != ''} -Location: {background.location}
+{$t('adventures.location')}: {background.location}
{/if}- Join the Discord + {$t('settings.join_discord')} - to share your own photos. Post them in the #travel-share channel. + {$t('settings.join_discord_desc')}