From ee953eef09cc090dc98a09038ab97be55875a2a5 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 18 Dec 2023 22:22:11 +0000
Subject: [PATCH] Update stop names

---
 lang_en.js |   37 +++++++++++++++++++++++--------------
 1 files changed, 23 insertions(+), 14 deletions(-)

diff --git a/lang_en.js b/lang_en.js
index 22d74bf..db691a6 100644
--- a/lang_en.js
+++ b/lang_en.js
@@ -9,16 +9,19 @@
 	action_expand: 'Expand',
 	action_collapse: 'Collapse',
 	
-	jquery_not_loaded: 'Required JavaScript jQuery library failed to load. You may try refreshing the page.',
+	enter_query: 'Enter stop name or vehicle number:',
 	enter_stop_name_to_begin: 'Enter the stop name to begin.',
 	select_stop_click_go: 'Select the stop and click "Go".',
-	select_stop_tram: '$stop (tram)',
-	select_stop_bus: '$stop (bus)',
+	select_stop_type: {
+		'b': '$stop (bus)',
+		't': '$stop (tram)',
+	},
 	stop_name_placeholder: 'Stop name',
 	go_button: 'Go',
 	refresh_button: '\u27f3 Refresh',
 	last_refreshed: 'Last refreshed: $time',
 	loading: 'Loading...',
+	no_data: 'Data unavailable',
 	
 	line_alert_pattern: 'Line $line: $alert',
 	
@@ -45,19 +48,25 @@
 	time_minutes_ago_prefix: '',
 	time_minutes_ago_suffix: ' min ago',
 	
-	type_vehicle: 'Vehicle',
-	type_bus: 'Bus',
-	type_tram: 'Tram',
-	type_stop: 'Stop',
-	type_stop_bus: 'Bus stop',
-	type_stop_tram: 'Tram stop',
-	type_stoppoint: 'Stop point',
-	type_stoppoint_bus: 'Bus stop point',
-	type_stoppoint_tram: 'Tram stop point',
-	type_location: 'Your location',
+	types: {
+		v: 'Vehicle',
+		b: 'Bus',
+		t: 'Tram',
+		s: 'Stop',
+		sb: 'Bus stop',
+		st: 'Tram stop',
+		p: 'Stop point',
+		pb: 'Bus stop point',
+		pt: 'Tram stop point',
+		l: 'Your location',
+	},
 	
-	select_feature: 'There is more than one feature here. Select the proper one:',
+	show_on_map: 'Show on map',
+	select_feature: 'More than one feature was found. Select the proper one:',
+	no_results: 'Nothing was found.',
 	departures_for_stop: 'Click for stop departures (and not only this stop point).',
+	departures_for_trams: 'Switch to tram departures.',
+	departures_for_buses: 'Switch to bus departures.',
 	
 	tram_type_pattern: '$num $type ($floor)',
 	high_floor: 'high floor',

--
Gitblit v1.9.1