Skip to content
Snippets Groups Projects
Commit 3573ae6c authored by Jo Vuit's avatar Jo Vuit
Browse files

Added context strings

parent bec267dc
Branches
Tags
No related merge requests found
...@@ -17,14 +17,14 @@ export default { ...@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment