Improved www.ttss.krakow.pl
Jacek Kowalski
2021-07-31 95ecda6c51c197c3171c0784583d079b3ae5ff67
commit | author | age
9e6757 1 var lang = {
JK 2     page_name: 'TTSS Kraków',
3     page_title: 'TTSS Krak\u00F3w - Real-time tram departures',
4     page_title_stop_name: 'TTSS Krak\u00F3w - $stop - Real-time tram departures',
5     
57b8d3 6     map: 'Map',
JK 7     
d29c06 8     action_close: 'Close',
JK 9     action_expand: 'Expand',
10     action_collapse: 'Collapse',
11     
5be662 12     enter_query: 'Enter stop name or vehicle number:',
9e6757 13     enter_stop_name_to_begin: 'Enter the stop name to begin.',
JK 14     select_stop_click_go: 'Select the stop and click "Go".',
76f5c4 15     select_stop_type: {
JK 16         'b': '$stop (bus)',
17         't': '$stop (tram)',
18     },
9e6757 19     stop_name_placeholder: 'Stop name',
JK 20     go_button: 'Go',
21     refresh_button: '\u27f3 Refresh',
22     last_refreshed: 'Last refreshed: $time',
8b6250 23     loading: 'Loading...',
b6f8e3 24     no_data: 'Data unavailable',
9e6757 25     
JK 26     line_alert_pattern: 'Line $line: $alert',
27     
28     header_line: 'Line',
29     header_direction: 'Direction',
4b0eda 30     header_vehicle: 'Vehicle',
9e6757 31     header_time: 'Time',
JK 32     header_delay: 'Delay',
33     header_lines: 'Lines',
34     header_route: 'Route',
35     header_carrier: 'Carrier',
78b244 36     header_stop: 'Stop',
9e6757 37     
JK 38     boarding_sign: '>>>',
39     unknown_sign: '?',
40     
41     time_now: 'just now',
42     time_seconds_prefix: '',
43     time_seconds_suffix: ' s',
44     time_seconds_ago_prefix: '',
45     time_seconds_ago_suffix: ' s ago',
46     time_minutes_prefix: '',
47     time_minutes_suffix: ' min',
48     time_minutes_ago_prefix: '',
49     time_minutes_ago_suffix: ' min ago',
50     
76f5c4 51     types: {
JK 52         v: 'Vehicle',
c5a5c3 53         vb: 'Bus',
JK 54         vt: 'Tram',
76f5c4 55         s: 'Stop',
JK 56         sb: 'Bus stop',
57         st: 'Tram stop',
58         p: 'Stop point',
59         pb: 'Bus stop point',
60         pt: 'Tram stop point',
61         l: 'Your location',
62     },
07c714 63     
ae3207 64     show_on_map: 'Show on map',
5be662 65     select_feature: 'More than one feature was found. Select the proper one:',
JK 66     no_results: 'Nothing was found.',
8b6250 67     departures_for_stop: 'Click for stop departures (and not only this stop point).',
1b7c52 68     departures_for_trams: 'Switch to tram departures.',
JK 69     departures_for_buses: 'Switch to bus departures.',
cea602 70     trip_previous: '\u00AB previous',
JK 71     trip_current: 'current',
72     trip_next: 'next \u00BB',
8b6250 73     
2107d1 74     tram_type_pattern: '$num $type ($floor$ac)',
JK 75     tram_type_pattern_short: '$num $type',
76     tram_type_pattern_additional: '$floor$ac',
9e6757 77     high_floor: 'high floor',
JK 78     high_floor_sign: '\u2010\u00A0',
a0814e 79     high_floor_description: 'high-floor vehicle',
9e6757 80     partially_low_floor: 'partially low floor',
JK 81     partially_low_floor_sign: '*\u267F',
a0814e 82     partially_low_floor_description: 'partially low-floor vehicle',
9e6757 83     low_floor: 'low floor',
JK 84     low_floor_sign: '\u267F',
a0814e 85     low_floor_description: 'low-floor vehicle',
2107d1 86     air_conditioning: ', air conditioning',
JK 87     air_conditioning_sign: '\u2744',
88     air_conditioning_description: 'has air conditioning unit',
9e6757 89     
JK 90     status_departed: 'Departed',
91     status_stopped: 'At stop',
92     status_default: 'En route',
93     status_delayed_4: 'Delayed 4′+',
94     status_delayed_10: 'Delayed 10′+',
95     
a0814e 96     help_click_for_schedule: 'Click on an entry in the departures timetable to see the vehicle\'s schedule.',
9e6757 97     help_legend: 'Legend:',
a0814e 98     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.',
9e6757 99     help_hover_for_more: 'Hover the icon for more details.',
JK 100     help_source: 'Source',
101     help_license: 'License',
2bc9da 102     help_data_attribution: 'Data: <a href="copyrights.html">ZTP w Krakowie</a>',
JK 103     help_website_attribution: 'Strona: <a href="copyrights.html">Jacek Kowalski</a>',
9e6757 104     
JK 105     error_title: 'Error occured!',
106     error_request_failed: 'Internet request failed.',
107     error_request_failed_status: 'Internet request failed with error: $status.',
2bc9da 108     error_request_failed_no_data: 'No data on the server.',
9e6757 109     error_request_failed_connectivity: 'Request failed - please check your network connectivity.',
572390 110     error_new_version: 'Website has been updated, reloading...',
57b8d3 111     error_refresh: 'Error! Refresh the page to update information.',
a4d011 112     error_location: 'Location failed.',
9e6757 113 };