From 021474cfb0c416f6dcae2e5183801f1c1dfb7e71 Mon Sep 17 00:00:00 2001 From: Spythere Date: Tue, 14 Mar 2023 23:13:37 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20t=C5=82umaczenia;=20hotfixy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SceneryView/SceneryTimetable.vue | 38 ++++++++++--------- src/locales/en.json | 11 ++++-- src/locales/pl.json | 11 ++++-- 3 files changed, 35 insertions(+), 25 deletions(-) diff --git a/src/components/SceneryView/SceneryTimetable.vue b/src/components/SceneryView/SceneryTimetable.vue index ecebc6f..d4179e0 100644 --- a/src/components/SceneryView/SceneryTimetable.vue +++ b/src/components/SceneryView/SceneryTimetable.vue @@ -2,19 +2,22 @@

- icon-timetable  + icon-timetable {{ $t('scenery.timetables') }} -   - {{ station.onlineInfo?.scheduledTrains?.length || '0' }} -  /  - - {{ station.onlineInfo?.scheduledTrains?.filter((train) => train.stopInfo.confirmed).length || '0' }} + + + {{ station.onlineInfo?.scheduledTrains?.length || '0' }} + / + + {{ station.onlineInfo?.scheduledTrains?.filter((train) => train.stopInfo.confirmed).length || '0' }} + + icon-pragotron @@ -22,14 +25,14 @@ icon-tablice

-
+
{{ (i > 0 && '•') || '' }} @@ -297,26 +300,26 @@ export default defineComponent({ } .timetable-header { - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - margin-top: 0.5em; - position: sticky; top: 0; z-index: 99; background-color: #181818; + padding: 0.5em; + img { - width: 30px; + width: 25px; vertical-align: middle; } h3 { display: flex; + justify-content: center; + flex-wrap: wrap; align-items: center; + + gap: 0.5em; font-size: 1.3em; } } @@ -383,7 +386,8 @@ export default defineComponent({ flex-wrap: wrap; font-size: 1.1em; - padding: 0.75em 0; + + margin-top: 0.5em; button.checkpoint_item { color: #aaa; diff --git a/src/locales/en.json b/src/locales/en.json index 5b5dac2..2d6e1c8 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -168,7 +168,7 @@ "mechanical": "MECHANICAL", "SUP": "SUP (RASP-UZK)", - "noSUP": "NO SUP", + "noSUP": "WITHOUT SUP", "SBL": "AUTOMATIC (SBL)", "PBL": "SEMIAUTOMATIC (PBL)", @@ -331,8 +331,8 @@ "two-way-routes": "Two way routes", "option-active-timetables": "Active timetables", - "option-timetables-history": "Scenery timetables history", - "option-dispatchers-history": "Scenery dispatchers history", + "option-timetables-history": "Timetables history", + "option-dispatchers-history": "Dispatchers history", "timetable-author-title": "Issued by", "timetable-author-unknown": "Author unknown", @@ -347,7 +347,10 @@ "req-level": "all dispatcher levels | dispatcher level {lvl} required | dispatcher level {lvl} required", "history-list-empty": "No recorded scenery history!", - "forum-topic": "Official {name} forum topic" + "forum-topic": "Official {name} forum topic", + + "pragotron-link": "Pragotron view (beta)", + "tablice-link": "Departures board view (by Thundo)" }, "availability": { "title": "Availability", diff --git a/src/locales/pl.json b/src/locales/pl.json index 455c7e9..6d3247c 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -329,7 +329,7 @@ "no-scenery": "Ups! Ta sceneria nie istnieje!", "return-btn": "Wróć na stronę główną", "history-btn": "Przejdź do widoku historii dyżurnych ruchu", - "info-btn": "Wróc do widoku scenerii", + "info-btn": "Wróć do widoku scenerii", "authors-title": "Autor scenerii | Autorzy scenerii", "lines-title": "Rzeczywiste linie", "project-title": "Projekt", @@ -337,8 +337,8 @@ "two-way-routes": "Szlaki dwutorowe", "option-active-timetables": "Aktywne rozkłady jazdy", - "option-timetables-history": "Historia rozkładów scenerii", - "option-dispatchers-history": "Historia dyżurów scenerii", + "option-timetables-history": "Historia rozkładów", + "option-dispatchers-history": "Historia dyżurów", "timetable-author-title": "Wydany przez", "timetable-author-unknown": "Autor nieznany", @@ -353,7 +353,10 @@ "req-level": "ogólnodostępna | minimum {lvl} poziom dyżurnego | minimum {lvl} poziom dyżurnego", "history-list-empty": "Brak historii dla tej scenerii!", - "forum-topic": "Oficjalny wątek scenerii {name}" + "forum-topic": "Oficjalny wątek scenerii {name}", + + "pragotron-link": "Otwórz w widoku pragotronu (beta)", + "tablice-link": "Otwórz w widoku tablic stacyjnych (autorstwa Thundo)" }, "availability": { "title": "Dostępność",