Added translation context

This commit is contained in:
Jo Vuit 2019-02-28 18:15:37 +01:00
parent c4da7b8ae4
commit 004fa8f81a
3 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ export default Vue.extend({
computed: { computed: {
labels() { labels() {
return { return {
musicbrainz: this.$gettext("View on MusicBrainz") musicbrainz: this.$pgettext('Content/*/Link.Tooltip/Verb', "View on MusicBrainz")
} }
}, },
type() { type() {

View File

@ -50,7 +50,7 @@ export default Vue.extend({
computed: { computed: {
labels () { labels () {
return { return {
musicbrainz: this.$gettext('View on MusicBrainz') musicbrainz: this.$pgettext('Content/*/Link.Tooltip/Verb', 'View on MusicBrainz')
} }
}, },
type () { type () {

View File

@ -111,7 +111,7 @@ export default {
computed: { computed: {
labels () { labels () {
return { return {
placeholder: this.$gettext('Enter your search query…') placeholder: this.$pgettext('Content/Library/Input.Placeholder/Verb', 'Enter your search query…')
} }
}, },
currentTypeObject: function () { currentTypeObject: function () {
@ -127,15 +127,15 @@ export default {
return [ return [
{ {
value: 'artist', value: 'artist',
label: this.$gettext('Artist') label: this.$pgettext('*/*/Noun', 'Artist')
}, },
{ {
value: 'release', value: 'release',
label: this.$gettext('Album') label: this.$pgettext('*/*/Noun', 'Album')
}, },
{ {
value: 'recording', value: 'recording',
label: this.$gettext('Track') label: this.$pgettext('*/*/*', 'Track')
} }
] ]
} }