Skip to content
Snippets Groups Projects
Commit 84688b91 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '662-metadata' into 'develop'

Added translation context

See merge request funkwhale/funkwhale!633
parents c4da7b8a 004fa8f8
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
......@@ -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 () {
......
......@@ -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')
}
]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment