chore: added missing translations; minor style fixes

This commit is contained in:
2025-05-07 19:07:01 +02:00
parent d9dc44063f
commit 02d234a21b
4 changed files with 25 additions and 8 deletions
+18 -3
View File
@@ -6,8 +6,19 @@
<SceneryInfoRoutes v-if="station" :station="station" />
<SceneryInfoAuthors :station="station" />
<!-- Link to GeneraTOR app -->
<section class="generator-app" v-if="onlineScenery">
<a
class="a-button btn--action btn--image"
:href="`https://generator-td2.web.app/?sceneryId=${onlineScenery.name}|${onlineScenery.region}`"
target="_blank"
>
<img src="/public/images/icon-gnr.svg" alt="GeneraTOR app icon" />
{{ $t('scenery.gnr-link-content') }}
</a>
</section>
<div style="margin: 2em 0; height: 2px; background-color: white"></div>
<div style="margin: 1em 0; height: 2px; background-color: white"></div>
<!-- info dispatcher -->
<SceneryInfoDispatcher :onlineScenery="onlineScenery" />
@@ -32,7 +43,7 @@ import SceneryInfoUserList from './SceneryInfo/SceneryInfoUserList.vue';
import SceneryInfoSpawnList from './SceneryInfo/SceneryInfoSpawnList.vue';
import SceneryInfoRoutes from './SceneryInfo/SceneryInfoRoutes.vue';
import SceneryInfoGeneral from './SceneryInfo/SceneryInfoGeneral.vue';
import SceneryInfoAuthors from "./SceneryInfo/SceneryInfoAuthors.vue";
import SceneryInfoAuthors from './SceneryInfo/SceneryInfoAuthors.vue';
import { ActiveScenery, Station } from '../../typings/common';
@@ -44,7 +55,7 @@ export default defineComponent({
SceneryInfoAuthors,
SceneryInfoUserList,
SceneryInfoSpawnList,
SceneryInfoRoutes,
SceneryInfoRoutes
},
props: {
station: {
@@ -84,4 +95,8 @@ h3.section-header {
.scenery-topic a {
font-weight: bold;
}
.generator-app {
margin-top: 2em;
}
</style>
+3 -2
View File
@@ -52,7 +52,7 @@
"tooltip-driver-offline": "Driver is offline",
"tooltip-scenery-offline": "Scenery is offline",
"pojazdownik-link-content": "POJAZDOWNIK",
"gnr-link-content": "WRITTEN ORDERS"
"gnr-link-content": "TRAIN ORDERS <br> GENERATOR"
},
"footer": {
"discord": "Stacjownik Discord server"
@@ -548,7 +548,8 @@
"tablice-link": "Timetable summary board (by Thundo)",
"bottom-info": "Show full history in the Journal tab",
"btn-show-internal-routes": "Show internal routes",
"btn-hide-internal-routes": "Hide internal routes"
"btn-hide-internal-routes": "Hide internal routes",
"gnr-link-content": "OPEN TRAIN ORDERS GENERATOR FOR THIS SCENERY"
},
"availability": {
"title": "Availability",
+3 -2
View File
@@ -49,7 +49,7 @@
"tooltip-driver-offline": "Maszynista offline",
"tooltip-scenery-offline": "Sceneria offline",
"pojazdownik-link-content": "POJAZDOWNIK",
"gnr-link-content": "ROZKAZY PISEMNE"
"gnr-link-content": "GENERATOR <br> ROZKAZÓW PISEMNYCH"
},
"footer": {
"discord": "Serwer Discord Stacjownika"
@@ -534,7 +534,8 @@
"tablice-link": "Tablica informacyjna zbiorcza (autorstwa Thundo)",
"bottom-info": "Pokaż pełną historię w zakładce Dziennika",
"btn-show-internal-routes": "Pokazuj szlaki wewnętrzne",
"btn-hide-internal-routes": "Ukrywaj szlaki wewnętrzne"
"btn-hide-internal-routes": "Ukrywaj szlaki wewnętrzne",
"gnr-link-content": "OTWÓRZ GENERATOR ROZKAZÓW PISEMNYCH DLA TEJ SCENERII"
},
"availability": {
"title": "Dostępność",
+1 -1
View File
@@ -271,7 +271,7 @@ a.a-button {
padding: 0.35em 0.75em;
img {
width: 1.35em;
height: 1.35em;
vertical-align: middle;
}
}