From 6388e2fb7421eab1be63c3df070043bc1ab5b47e Mon Sep 17 00:00:00 2001 From: Jo Vuit <jo.vuitton@gmail.com> Date: Mon, 11 Feb 2019 16:47:56 +0100 Subject: [PATCH] Added context strings --- front/src/components/audio/artist/Card.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/front/src/components/audio/artist/Card.vue b/front/src/components/audio/artist/Card.vue index 1876c42c01..82af12524c 100644 --- a/front/src/components/audio/artist/Card.vue +++ b/front/src/components/audio/artist/Card.vue @@ -28,10 +28,10 @@ </table> <div class="center aligned segment" v-if="artist.albums.length > initialAlbums"> <em v-if="!showAllAlbums" @click="showAllAlbums = true" class="expand"> - <translate :translate-params="{count: artist.albums.length - initialAlbums}" :translate-n="artist.albums.length - initialAlbums" translate-plural="Show %{ count } more albums">Show 1 more album</translate> + <translate :translate-context="'Content/Artist/Card.Link'" :translate-params="{count: artist.albums.length - initialAlbums}" :translate-n="artist.albums.length - initialAlbums" translate-plural="Show %{ count } more albums">Show 1 more album</translate> </em> <em v-else @click="showAllAlbums = false" class="expand"> - <translate>Collapse</translate> + <translate :translate-context="'Content/Artist/Card.Link'">Collapse</translate> </em> </div> </div> @@ -39,10 +39,10 @@ <div class="extra content"> <span> <i class="sound icon"></i> - <translate :translate-params="{count: artist.albums.length}" :translate-n="artist.albums.length" translate-plural="%{ count } albums">1 album</translate> + <translate :translate-context="'Content/Artist/Card'" :translate-params="{count: artist.albums.length}" :translate-n="artist.albums.length" translate-plural="%{ count } albums">1 album</translate> </span> <play-button :is-playable="isPlayable" class="mini basic orange right floated" :artist="artist.id"> - <translate>Play all</translate> + <translate :translate-context="'Content/Queue/Button.Label/Short, Verb'">Play all</translate> </play-button> </div> </div> -- GitLab