mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
fix: tłumaczenia; hotfixy
This commit is contained in:
@@ -2,19 +2,22 @@
|
||||
<section class="scenery-timetable">
|
||||
<div class="timetable-header">
|
||||
<h3>
|
||||
<img :src="getIcon('timetable')" alt="icon-timetable" />
|
||||
<img :src="getIcon('timetable')" alt="icon-timetable" />
|
||||
<span>{{ $t('scenery.timetables') }}</span>
|
||||
|
||||
<span class="text--primary">{{ station.onlineInfo?.scheduledTrains?.length || '0' }}</span>
|
||||
<span> / </span>
|
||||
<span class="text--grayed">
|
||||
{{ station.onlineInfo?.scheduledTrains?.filter((train) => train.stopInfo.confirmed).length || '0' }}
|
||||
|
||||
<span>
|
||||
<span class="text--primary">{{ station.onlineInfo?.scheduledTrains?.length || '0' }}</span>
|
||||
<span> / </span>
|
||||
<span class="text--grayed">
|
||||
{{ station.onlineInfo?.scheduledTrains?.filter((train) => train.stopInfo.confirmed).length || '0' }}
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<span class="header_links">
|
||||
<a
|
||||
:href="`https://pragotron-td2.web.app/board?name=${station.name}`"
|
||||
target="_blank"
|
||||
title="Otwórz w widoku pragotronu"
|
||||
:title="$t('scenery.pragotron-link')"
|
||||
>
|
||||
<img :src="getIcon('pragotron')" alt="icon-pragotron" />
|
||||
</a>
|
||||
@@ -22,14 +25,14 @@
|
||||
<a
|
||||
:href="`https://tablice-td2.web.app/?station=${station.name}`"
|
||||
target="_blank"
|
||||
title="Otwórz w widoku tablic stacyjnych (autorstwa Thundo)"
|
||||
:title="$t('scenery.tablice-link')"
|
||||
>
|
||||
<img :src="getIcon('tablice', 'ico')" alt="icon-tablice" />
|
||||
</a>
|
||||
</span>
|
||||
</h3>
|
||||
|
||||
<div class="timetable-checkpoints" v-if="station && station.generalInfo?.checkpoints">
|
||||
<div class="timetable-checkpoints" v-if="station?.generalInfo?.checkpoints">
|
||||
<span v-for="(cp, i) in station.generalInfo.checkpoints" :key="i">
|
||||
{{ (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;
|
||||
|
||||
+7
-4
@@ -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",
|
||||
|
||||
+7
-4
@@ -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ść",
|
||||
|
||||
Reference in New Issue
Block a user