From 2b645413fc163863d000bddde5bc27a836321422 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 13 Apr 2019 23:06:48 +0000
Subject: [PATCH] Get rid of jQuery dependency - use XHR and Promise
---
lang_pl.js | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/lang_pl.js b/lang_pl.js
index 0212619..794f6db 100644
--- a/lang_pl.js
+++ b/lang_pl.js
@@ -9,11 +9,12 @@
action_expand: 'Rozwiń',
action_collapse: 'Zwiń',
- jquery_not_loaded: 'Wymagana biblioteka jQuery nie została poprawnie załadowana. Spróbuj odświeżyć stronę.',
enter_stop_name_to_begin: 'Zacznij wpisywać nazwę przystanku.',
select_stop_click_go: 'Wyierz przystanek i kliknij "Dalej".',
- select_stop_tram: '$stop (tramwaj)',
- select_stop_bus: '$stop (autobus)',
+ select_stop_type: {
+ 'b': '$stop (autobus)',
+ 't': '$stop (tramwaj)',
+ },
stop_name_placeholder: 'Nazwa przystanku',
go_button: 'Dalej',
refresh_button: '\u27f3 Odśwież',
@@ -25,8 +26,6 @@
header_line: 'Linia',
header_direction: 'Kierunek',
header_vehicle: 'Pojazd',
- header_bus: 'Autobus',
- header_tram: 'Tramwaj',
header_time: 'Odjazd',
header_delay: 'Opóźn.',
header_lines: 'Linie',
@@ -47,16 +46,18 @@
time_minutes_ago_prefix: '',
time_minutes_ago_suffix: ' min temu',
- type_vehicle: 'Pojazd',
- type_bus: 'Autobus',
- type_tram: 'Tramwaj',
- type_stop: 'Przystanek',
- type_stop_bus: 'Przystanek autobusowy',
- type_stop_tram: 'Przystanek tramwajowy',
- type_stoppoint: 'Peron',
- type_stoppoint_bus: 'Peron autobusowy',
- type_stoppoint_tram: 'Peron tramwajowy',
- type_location: 'Twoja lokalizacja',
+ types: {
+ 'v': 'Pojazd',
+ 'b': 'Autobus',
+ 't': 'Tramwaj',
+ 's': 'Przystanek',
+ 'sb': 'Przystanek autobusowy',
+ 'st': 'Przystanek tramwajowy',
+ 'p': 'Peron',
+ 'pb': 'Peron autobusowy',
+ 'pt': 'Peron tramwajowy',
+ 'l': 'Twoja lokalizacja',
+ },
select_feature: 'W tym miejscu znajduje się więcej niż jeden element. Wybierz właściwy z listy:',
departures_for_stop: 'Kliknij, by zobaczyć odjazdy dla całego przystanku (a nie tylko peronu).',
--
Gitblit v1.9.1