From 074d1eb15501e40b14d47efcbd7893ee087ef41a Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 13 Apr 2023 18:50:00 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Hotfix=20t=C5=82umacze=C5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.json | 2 +- src/locales/pl.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 1a940bc..68fafad 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -383,7 +383,7 @@ "desc-next-arrival": "Leaves towards: {nextStationName} (szlak {nextArrivalLine})", "desc-departed": "The train is at the station and it's been departed. Leaves towards: {nextStationName} (szlak {nextArrivalLine})", "desc-departed-away": "The train has been departed to: {nextStationName} (szlak {nextArrivalLine})", - "desc-end": "The train terminates here" + "desc-terminated": "The train terminates here" }, "history": { "title": "TIMETABLE JOURNAL", diff --git a/src/locales/pl.json b/src/locales/pl.json index 496bddf..2dd5442 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -387,7 +387,7 @@ "desc-next-arrival": "Odjeżdża do: {nextStationName} (szlak {nextArrivalLine})", "desc-departed": "Pociąg jest na tej scenerii i został odprawiony. Odjeżdża do: {nextStationName} (szlak {nextArrivalLine})", "desc-departed-away": "Pociąg został odprawiony i odjechał do: {nextStationName} (szlak {nextArrivalLine})", - "desc-end": "Pociąg kończy bieg" + "desc-terminated": "Pociąg kończy bieg" }, "history": { "title": "DZIENNIK ROZKŁADÓW JAZDY" From 475bd2ff1028b84848552ec6d358c32bbe613e2d Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 13 Apr 2023 19:11:44 +0200 Subject: [PATCH 2/2] =?UTF-8?q?przeniesienie=20skr=C3=B3t=C3=B3w=20do=20wi?= =?UTF-8?q?doku=20scenerii?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SceneryView/SceneryHeader.vue | 12 +++++++++--- src/components/SceneryView/SceneryInfo.vue | 3 ++- src/components/StationsView/StationTable.vue | 4 ---- src/locales/en.json | 5 +++-- src/locales/pl.json | 4 +++- src/scripts/data/stationHeaderNames.ts | 1 - 6 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/components/SceneryView/SceneryHeader.vue b/src/components/SceneryView/SceneryHeader.vue index ab40750..58d11b0 100644 --- a/src/components/SceneryView/SceneryHeader.vue +++ b/src/components/SceneryView/SceneryHeader.vue @@ -4,6 +4,8 @@ {{ station.name }} +
{{ $t('scenery.abbrev') }} {{ station.generalInfo?.abbr }}
+
#{{ station.onlineInfo.hash }}
@@ -28,16 +30,20 @@ export default defineComponent({ .scenery-name { font-weight: bold; - - position: relative; - font-size: 3em; text-transform: uppercase; } +.scenery-abbrev { + font-size: 1.3em; + color: #aaa; +} + .scenery-hash { + margin-top: 0.5em; color: #aaa; font-size: 1.2em; } + diff --git a/src/components/SceneryView/SceneryInfo.vue b/src/components/SceneryView/SceneryInfo.vue index 82a9dc4..1e62113 100644 --- a/src/components/SceneryView/SceneryInfo.vue +++ b/src/components/SceneryView/SceneryInfo.vue @@ -30,8 +30,9 @@ style="color: salmon; text-decoration: underline; font-weight: bold" :href="station.generalInfo.projectUrl" target="_blank" - >{{ station.generalInfo.project }} + {{ station.generalInfo.project }} + diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 360483f..c7bf08d 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -53,10 +53,6 @@ {{ station.name }} - - {{ station.generalInfo?.abbr }} - -