Added context strings
This commit is contained in:
parent
bec267dc58
commit
3573ae6cc6
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue