From b044de7cd16c902074b5eae142e8dde97e6f1bce Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 26 Jan 2022 15:23:04 +0100 Subject: [PATCH] Poprawki w select boxie --- src/components/Global/SelectBox.vue | 2 +- src/components/TrainsView/TrainOptions.vue | 1 + src/locales/en.json | 1 + src/locales/pl.json | 3 ++- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Global/SelectBox.vue b/src/components/Global/SelectBox.vue index b295655..b7e7a0c 100644 --- a/src/components/Global/SelectBox.vue +++ b/src/components/Global/SelectBox.vue @@ -181,7 +181,7 @@ button.selected { height: 100%; - min-width: 9em; + min-width: 12em; text-align: center; } diff --git a/src/components/TrainsView/TrainOptions.vue b/src/components/TrainsView/TrainOptions.vue index 0cd3fc6..7e3d795 100644 --- a/src/components/TrainsView/TrainOptions.vue +++ b/src/components/TrainsView/TrainOptions.vue @@ -5,6 +5,7 @@ :title="$t('trains.option-distance')" :itemList="translatedSorterOptions" :defaultItemIndex="3" + :prefix="$t('trains.sorter-prefix')" @selected="changeSorter" /> diff --git a/src/locales/en.json b/src/locales/en.json index 75ad2bd..23978ee 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -125,6 +125,7 @@ "option-length": "length", "option-distance": "distance", "option-timetable": "train no.", + "sorter-prefix": "Sort: ", "search-train": "Train no.", "search-driver": "Driver name", "detailed-timetable": "Detailed timetable for train no. ", diff --git a/src/locales/pl.json b/src/locales/pl.json index 6ca285c..5a88f2c 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -124,7 +124,8 @@ "option-speed": "prędkość", "option-length": "długość", "option-distance": "kilometraż", - "option-timetable": "numer pociągu", + "option-timetable": "nr pociągu", + "sorter-prefix": "Sortuj: ", "search-train": "Numer pociągu", "search-driver": "Nick maszynisty", "detailed-timetable": "Szczegółowy rozkład jazdy pociągu ",