mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Add better description for search filters.
This commit is contained in:
parent
f75f7f87d2
commit
483617bd33
2 changed files with 10 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
class="select w-auto"
|
class="select w-auto"
|
||||||
@change="updateResults()"
|
@change="updateResults()"
|
||||||
>
|
>
|
||||||
<option v-for="filter in availableFilters" :key="filter" :value="filter" v-text="filter.replace('_', ' ')" />
|
<option v-for="filter in availableFilters" :key="filter" :value="filter" v-t="`search.${filter}`" />
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
|
@ -95,6 +95,14 @@
|
||||||
"live": "{0} Live"
|
"live": "{0} Live"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"did_you_mean": "Did you mean: {0}?"
|
"did_you_mean": "Did you mean: {0}?",
|
||||||
|
"all": "YouTube: All",
|
||||||
|
"videos": "YouTube: Videos",
|
||||||
|
"channels": "YouTube: Channels",
|
||||||
|
"playlists": "YouTube: Playlists",
|
||||||
|
"music_songs": "YT Music: Songs",
|
||||||
|
"music_videos": "YT Music: Videos",
|
||||||
|
"music_albums": "YT Music: Albums",
|
||||||
|
"music_playlists": "YT Music: Playlists"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue