Added context strings

This commit is contained in:
Jo Vuit 2019-02-11 16:29:24 +01:00
parent bec267dc58
commit 3573ae6cc6
1 changed files with 4 additions and 4 deletions

View File

@ -17,14 +17,14 @@ export default {
computed: {
labels () {
return {
placeholder: this.$gettext('Search for artists, albums, tracks…')
placeholder: this.$pgettext('Sidebar/Search/Input.Placeholder', 'Search for artists, albums, tracks…')
}
}
},
mounted () {
let artistLabel = this.$gettext('Artist')
let albumLabel = this.$gettext('Album')
let trackLabel = this.$gettext('Track')
let artistLabel = this.$pgettext('Sidebar/Search/Title', 'Artist')
let albumLabel = this.$pgettext('Sidebar/Search/Title', 'Album')
let trackLabel = this.$pgettext('Sidebar/Search/Title', 'Track')
let self = this
jQuery(this.$el).search({
type: 'category',