diff --git a/src/components/navigation/RouteModal.svelte b/src/components/navigation/RouteModal.svelte index 93ec4d9..2170c26 100644 --- a/src/components/navigation/RouteModal.svelte +++ b/src/components/navigation/RouteModal.svelte @@ -4,6 +4,7 @@ export let selectedRoute; export let stops; export let mapProvider; + import { t } from 'svelte-i18n'; function handleStopItemClick(event) { const { stop } = event.detail; @@ -18,7 +19,8 @@

- Route: {selectedRoute.shortName} + {$t('route').charAt(0).toUpperCase() + $t('route').slice(1)} + {selectedRoute.shortName}

{selectedRoute.description}