From 48c35f37ac8782e1f4a8e325879483f98257b5ba Mon Sep 17 00:00:00 2001 From: Jo Vuit Date: Thu, 7 Feb 2019 17:58:11 +0100 Subject: [PATCH] Added i18n string context --- front/src/views/playlists/Detail.vue | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/front/src/views/playlists/Detail.vue b/front/src/views/playlists/Detail.vue index 8b4dcc4c6..e6b81e551 100644 --- a/front/src/views/playlists/Detail.vue +++ b/front/src/views/playlists/Detail.vue @@ -13,7 +13,8 @@ + :translate-params="{count: playlist.tracks_count, username: playlist.user.username}" + :translate-context="'Content/Playlist/Header.Subtitle'"> Playlist containing %{ count } track, by %{ username }
@@ -21,22 +22,22 @@ - Play all + Play all - Delete + Delete

- Do you want to delete the playlist "%{ playlist }"? + Do you want to delete the playlist "%{ playlist }"?

-

This will completely delete this playlist and cannot be undone.

-

Delete playlist

+

This will completely delete this playlist and cannot be undone.

+

Delete playlist

@@ -48,7 +49,7 @@ :playlist="playlist" :playlist-tracks="playlistTracks"> @@ -87,7 +88,7 @@ export default { computed: { labels() { return { - playlist: this.$gettext("Playlist") + playlist: this.$gettext('"Playlist") } } },