diff --git a/front/src/components/favorites/TrackFavoriteIcon.vue b/front/src/components/favorites/TrackFavoriteIcon.vue index 690dab21b67f0f2e742ed236564331dbfabfcfca..7ba3f7fe4746667ebf6d872529df1d4e9b16c758 100644 --- a/front/src/components/favorites/TrackFavoriteIcon.vue +++ b/front/src/components/favorites/TrackFavoriteIcon.vue @@ -1,8 +1,8 @@ <template> <button @click="$store.dispatch('favorites/toggle', track.id)" v-if="button" :class="['ui', 'pink', {'inverted': isFavorite}, {'favorited': isFavorite}, 'button']"> <i class="heart icon"></i> - <translate v-if="isFavorite">In favorites</translate> - <translate v-else>Add to favorites</translate> + <translate v-if="isFavorite" :translate-context="'Content/Track/Button.Message'">In favorites</translate> + <translate v-else :translate-context="'Content/Track/Button.Message'">Add to favorites</translate> </button> <button v-else @@ -23,9 +23,9 @@ export default { computed: { title () { if (this.isFavorite) { - return this.$gettext('Remove from favorites') + return this.$pgettext('*/Favorites/Icon.Tooltip/Verb', 'Remove from favorites') } else { - return this.$gettext('Add to favorites') + return this.$pgettext('*/Favorites/Icon.Tooltip/Verb', 'Add to favorites') } }, isFavorite () {