Merge branch '662-metadata' into 'develop'

Added translation context

See merge request funkwhale/funkwhale!633
This commit is contained in:
Eliot Berriot 2019-03-01 09:33:40 +01:00
commit 84688b91c9
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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