fix: tłumaczenia filtrów

This commit is contained in:
2023-03-09 14:35:03 +01:00
parent c64112c86a
commit 6af67ec741
5 changed files with 13 additions and 4 deletions
@@ -29,7 +29,7 @@
<h1 class="option-title">{{ $t('options.search-title') }}</h1>
<div class="search_content">
<div class="search" v-for="(_, propName) in searchersValues" :key="propName">
<label v-if="propName == 'search-date'" for="date">{{ $t('options.search-date') }}</label>
<label v-if="propName == 'search-date'" for="date">{{ $t(`options.search-${optionsType}-date`) }}</label>
<div class="search-box">
<input
@@ -129,6 +129,11 @@ export default defineComponent({
type: Boolean,
default: false,
},
optionsType: {
type: String,
required: true
}
},
data() {
+2 -1
View File
@@ -94,7 +94,8 @@
"search-dispatcher": "Dispatcher name",
"search-station": "Scenery name",
"search-author": "Timetable author name",
"search-date": "Timetable date (CEST / GMT+2)",
"search-timetables-date": "Timetable date (CEST / GMT+2)",
"search-dispatchers-date": "Service date (CEST / GMT+2)",
"sort-mass": "mass",
"sort-speed": "speed",
+3 -2
View File
@@ -96,7 +96,8 @@
"search-dispatcher": "Nick dyżurnego",
"search-station": "Nazwa scenerii",
"search-author": "Nick autora rozkładu jazdy",
"search-date": "Data rozkładu jazdy (czas polski)",
"search-timetables-date": "Data rozkładu jazdy (czas polski)",
"search-dispatchers-date": "Data służby (czas polski)",
"sort-distance": "kilometraż",
"sort-total-stops": "stacje",
@@ -105,7 +106,7 @@
"sort-timestampFrom": "data",
"sort-duration": "czas dyżuru",
"sort-id": "id rozkładu",
"sort-mass": "masa",
"sort-speed": "prędkość",
"sort-length": "długość",
+1
View File
@@ -10,6 +10,7 @@
:sorter-option-ids="['timestampFrom', 'duration']"
:data-status="dataStatus"
:current-options-active="currentOptionsActive"
optionsType="dispatchers"
/>
<div class="list_wrapper" @scroll="handleScroll">
+1
View File
@@ -11,6 +11,7 @@
:filters="journalTimetableFilters"
:currentOptionsActive="currentOptionsActive"
:data-status="dataStatus"
optionsType="timetables"
/>
<JournalStats />