From 75c9e412287ace0801d752ce731824243d7c8b53 Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Sun, 14 Sep 2025 18:12:53 +0200
Subject: feat: small changes

---
 src/lib/Timetable.svelte | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/lib/Timetable.svelte')

diff --git a/src/lib/Timetable.svelte b/src/lib/Timetable.svelte
index c805d6d..f6f4a4e 100644
--- a/src/lib/Timetable.svelte
+++ b/src/lib/Timetable.svelte
@@ -2,7 +2,7 @@
   import { browser, building, dev } from '$app/environment';
   import { page } from '$app/state';
   import { S } from '$lib';
-  import { operators } from './aliases';
+  import { normalisePlaceName, operators } from './aliases';
   import LineGlyph from './assets/LineGlyph.svelte';
   import Pictogram from './assets/Pictogram.svelte';
   import { Mode, type StoptimesResponse } from './motis-types';
@@ -284,7 +284,9 @@
           <span class="ml-1 -mr-0.5 md:mt-0.5 font-sbb-typo">
             <!-- {isArrivals ? m.from() : m.to()} -->
             {m.to()}
-            <span class="font-semibold">{departure.headsign}</span>
+            <span class="font-semibold"
+              >{normalisePlaceName(departure.headsign)}</span
+            >
           </span>
         </div>
         <div class="flex-1"></div>
@@ -378,7 +380,7 @@
         <h2 class="text-2xl opacity-90">{m.no_results_title()}</h2>
         <p>
           {#each m
-            .no_results_body({ stationName })
+            .no_results_body({ stationName: placeName ?? placeId })
             .split('*') as part, idx}{#if idx % 2 === 0}{part}{:else}<b
                 >{part}</b
               >{/if}{/each}
-- 
cgit v1.2.3

