From 010ab087018c85be1c00acda8bd3807eff5affc5 Mon Sep 17 00:00:00 2001 From: Spythere Date: Tue, 15 Apr 2025 16:10:44 +0200 Subject: [PATCH] fix: missing icons & translations --- index.html | 5 +++++ src/components/TrainsView/TrainOptions.vue | 2 +- src/locales/en.json | 3 ++- src/locales/pl.json | 3 ++- src/styles/_badge.scss | 5 +++-- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index fa01a2b..5f383af 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,11 @@ + + + + + diff --git a/src/components/TrainsView/TrainOptions.vue b/src/components/TrainsView/TrainOptions.vue index 9474e1b..2a9822e 100644 --- a/src/components/TrainsView/TrainOptions.vue +++ b/src/components/TrainsView/TrainOptions.vue @@ -36,7 +36,7 @@ id="active-trains" v-model="searchedDriver" > - + diff --git a/src/locales/en.json b/src/locales/en.json index 0824002..279a4fa 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -158,7 +158,8 @@ "filter-title": "FILTER BY:", "search-title": "SEARCH:", "search-train": "Train no. / #", - "search-driver": "Choose a driver...", + "select-driver": "Choose a driver...", + "search-driver": "Driver name", "search-dispatcher": "Dispatcher name", "search-station": "Scenery name / #", "search-author": "Timetable author name", diff --git a/src/locales/pl.json b/src/locales/pl.json index 7ba777f..de80fb0 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -155,7 +155,8 @@ "filter-title": "FILTRUJ WG:", "search-title": "SZUKAJ:", "search-train": "Nr pociągu / #", - "search-driver": "Wybierz maszynistę...", + "search-driver": "Nick maszynisty", + "select-driver": "Wybierz maszynistę...", "search-dispatcher": "Nick dyżurnego", "search-station": "Nazwa scenerii / #", "search-author": "Nick autora rozkładu jazdy", diff --git a/src/styles/_badge.scss b/src/styles/_badge.scss index 5721c90..1aeb6eb 100644 --- a/src/styles/_badge.scss +++ b/src/styles/_badge.scss @@ -8,7 +8,8 @@ margin: 0.25em; - & > span { + & > span, + & > a > span { display: inline-block; background: #585858; padding: 0.2em 0.4em; @@ -22,7 +23,7 @@ text-align: center; - @include responsive.smallScreen{ + @include responsive.smallScreen { font-size: 1em; } }