From 4bfa367f643d1c644dada6776fda660df530b92b Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 13 Mar 2019 23:41:33 +0000
Subject: [PATCH] Use arrays to store vehicle data and TTSS URLs

---
 lang_en.js |   40 +++++++++++++++++++++++++++++++++++-----
 1 files changed, 35 insertions(+), 5 deletions(-)

diff --git a/lang_en.js b/lang_en.js
index b7e4467..0b767ca 100644
--- a/lang_en.js
+++ b/lang_en.js
@@ -3,23 +3,34 @@
 	page_title: 'TTSS Krak\u00F3w - Real-time tram departures',
 	page_title_stop_name: 'TTSS Krak\u00F3w - $stop - Real-time tram departures',
 	
+	map: 'Map',
+	
+	action_close: 'Close',
+	action_expand: 'Expand',
+	action_collapse: 'Collapse',
+	
 	jquery_not_loaded: 'Required JavaScript jQuery library failed to load. You may try refreshing the page.',
 	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)',
 	stop_name_placeholder: 'Stop name',
 	go_button: 'Go',
 	refresh_button: '\u27f3 Refresh',
 	last_refreshed: 'Last refreshed: $time',
+	loading: 'Loading...',
 	
 	line_alert_pattern: 'Line $line: $alert',
 	
 	header_line: 'Line',
 	header_direction: 'Direction',
+	header_vehicle: 'Vehicle',
 	header_time: 'Time',
 	header_delay: 'Delay',
 	header_lines: 'Lines',
 	header_route: 'Route',
 	header_carrier: 'Carrier',
+	header_stop: 'Stop',
 	
 	boarding_sign: '>>>',
 	unknown_sign: '?',
@@ -34,16 +45,32 @@
 	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',
+	
+	select_feature: 'There is more than one feature here. Select the proper one:',
+	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',
 	high_floor_sign: '\u2010\u00A0',
-	high_floor_description: 'high-floor tram',
+	high_floor_description: 'high-floor vehicle',
 	partially_low_floor: 'partially low floor',
 	partially_low_floor_sign: '*\u267F',
-	partially_low_floor_description: 'partially low-floor tram',
+	partially_low_floor_description: 'partially low-floor vehicle',
 	low_floor: 'low floor',
 	low_floor_sign: '\u267F',
-	low_floor_description: 'low-floor tram',
+	low_floor_description: 'low-floor vehicle',
 	
 	status_departed: 'Departed',
 	status_stopped: 'At stop',
@@ -51,9 +78,9 @@
 	status_delayed_4: 'Delayed 4′+',
 	status_delayed_10: 'Delayed 10′+',
 	
-	help_click_for_schedule: 'Click on an entry in the departures timetable to see the tram\'s schedule.',
+	help_click_for_schedule: 'Click on an entry in the departures timetable to see the vehicle\'s schedule.',
 	help_legend: 'Legend:',
-	help_text: 'Relative times (eg. 3 min) are real-time arrivals based on tram location data. Absolute times (eg. 8:01) are scheduled departures, shown when the tram cannot be located. "?" means unknown delay.',
+	help_text: 'Relative times (eg. 3 min) are real-time arrivals based on location data. Absolute times (eg. 8:01) are scheduled departures, shown when the vehicle cannot be located. "?" means unknown delay.',
 	help_hover_for_more: 'Hover the icon for more details.',
 	help_source: 'Source',
 	help_license: 'License',
@@ -62,4 +89,7 @@
 	error_request_failed: 'Internet request failed.',
 	error_request_failed_status: 'Internet request failed with error: $status.',
 	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.',
+	error_location: 'Location failed.',
 };

--
Gitblit v1.9.1