diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index 575f68736..5df3248bf 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -62,14 +62,14 @@
- We cannot load this track + The track cannot be loaded

- The next track will play automatically in a few seconds… + The next track will play automatically in a few seconds…

- You may have a connectivity issue. + You may have a connectivity issue.

@@ -280,7 +280,7 @@ export default { return } let self = this - let msg = this.$gettext("Queue shuffled!") + let msg = this.$pgettext('Content/Queue/Message', "Queue shuffled!") this.isShuffling = true setTimeout(() => { self.$store.dispatch("queue/shuffle", () => { @@ -346,24 +346,24 @@ export default { progress: "player/progress" }), labels() { - let audioPlayer = this.$gettext("Media player") - let previousTrack = this.$gettext("Previous track") - let play = this.$gettext("Play track") - let pause = this.$gettext("Pause track") - let next = this.$gettext("Next track") - let unmute = this.$gettext("Unmute") - let mute = this.$gettext("Mute") - let loopingDisabled = this.$gettext( + let audioPlayer = this.$pgettext('Sidebar/Player/Hidden text', "Media player") + let previousTrack = this.$pgettext('Sidebar/Player/Icon.Tooltip', "Previous track") + let play = this.$pgettext('Sidebar/Player/Icon.Tooltip/Verb', "Play track") + let pause = this.$pgettext('Sidebar/Player/Icon.Tooltip/Verb', "Pause track") + let next = this.$pgettext('Sidebar/Player/Icon.Tooltip', "Next track") + let unmute = this.$pgettext('Sidebar/Player/Icon.Tooltip/Verb', "Unmute") + let mute = this.$pgettext('Sidebar/Player/Icon.Tooltip/Verb', "Mute") + let loopingDisabled = this.$pgettext('Sidebar/Player/Icon.Tooltip', "Looping disabled. Click to switch to single-track looping." ) - let loopingSingle = this.$gettext( + let loopingSingle = this.$pgettext('Sidebar/Player/Icon.Tooltip', "Looping on a single track. Click to switch to whole queue looping." ) - let loopingWhole = this.$gettext( + let loopingWhole = this.$pgettext('Sidebar/Player/Icon.Tooltip', "Looping on whole queue. Click to disable looping." ) - let shuffle = this.$gettext("Shuffle your queue") - let clear = this.$gettext("Clear your queue") + let shuffle = this.$pgettext('Sidebar/Player/Icon.Tooltip/Verb', "Shuffle your queue") + let clear = this.$pgettext('Sidebar/Player/Icon.Tooltip/Verb', "Clear your queue") return { audioPlayer, previousTrack,