Added context strings
This commit is contained in:
parent
bec267dc58
commit
3573ae6cc6
|
@ -17,14 +17,14 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
labels () {
|
labels () {
|
||||||
return {
|
return {
|
||||||
placeholder: this.$gettext('Search for artists, albums, tracks…')
|
placeholder: this.$pgettext('Sidebar/Search/Input.Placeholder', 'Search for artists, albums, tracks…')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
let artistLabel = this.$gettext('Artist')
|
let artistLabel = this.$pgettext('Sidebar/Search/Title', 'Artist')
|
||||||
let albumLabel = this.$gettext('Album')
|
let albumLabel = this.$pgettext('Sidebar/Search/Title', 'Album')
|
||||||
let trackLabel = this.$gettext('Track')
|
let trackLabel = this.$pgettext('Sidebar/Search/Title', 'Track')
|
||||||
let self = this
|
let self = this
|
||||||
jQuery(this.$el).search({
|
jQuery(this.$el).search({
|
||||||
type: 'category',
|
type: 'category',
|
||||||
|
|
Loading…
Reference in New Issue