Added translation context
This commit is contained in:
parent
c4da7b8ae4
commit
004fa8f81a
|
@ -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() {
|
||||||
|
|
|
@ -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 () {
|
||||||
|
|
|
@ -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')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue