Add better description for search filters.

This commit is contained in:
FireMasterK 2022-02-12 17:37:41 +00:00
parent f75f7f87d2
commit 483617bd33
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
2 changed files with 10 additions and 2 deletions

View file

@ -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 />

View file

@ -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"
} }
} }