From c3b488060589273466a1723ad7cd51416cfba84c Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Thu, 29 Jul 2021 22:43:01 +0000
Subject: [PATCH] [map] Allow zero-prefixed stop identifiers (fix for bus stops)

---
 lang_en.js |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/lang_en.js b/lang_en.js
index d97716f..8b94490 100644
--- a/lang_en.js
+++ b/lang_en.js
@@ -9,6 +9,7 @@
 	action_expand: 'Expand',
 	action_collapse: 'Collapse',
 	
+	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_type: {
@@ -20,6 +21,7 @@
 	refresh_button: '\u27f3 Refresh',
 	last_refreshed: 'Last refreshed: $time',
 	loading: 'Loading...',
+	no_data: 'Data unavailable',
 	
 	line_alert_pattern: 'Line $line: $alert',
 	
@@ -48,8 +50,8 @@
 	
 	types: {
 		v: 'Vehicle',
-		b: 'Bus',
-		t: 'Tram',
+		vb: 'Bus',
+		vt: 'Tram',
 		s: 'Stop',
 		sb: 'Bus stop',
 		st: 'Tram stop',
@@ -59,10 +61,15 @@
 		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.',
+	trip_previous: '\u00AB previous',
+	trip_current: 'current',
+	trip_next: 'next \u00BB',
 	
 	tram_type_pattern: '$num $type ($floor)',
 	high_floor: 'high floor',
@@ -87,10 +94,13 @@
 	help_hover_for_more: 'Hover the icon for more details.',
 	help_source: 'Source',
 	help_license: 'License',
+	help_data_attribution: 'Data: <a href="copyrights.html">ZTP w Krakowie</a>',
+	help_website_attribution: 'Strona: <a href="copyrights.html">Jacek Kowalski</a>',
 	
 	error_title: 'Error occured!',
 	error_request_failed: 'Internet request failed.',
 	error_request_failed_status: 'Internet request failed with error: $status.',
+	error_request_failed_no_data: 'No data on the server.',
 	error_request_failed_connectivity: 'Request failed - please check your network connectivity.',
 	error_new_version: 'Website has been updated, reloading...',
 	error_refresh: 'Error! Refresh the page to update information.',

--
Gitblit v1.9.1