diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 47d745e6c..d42c7f208 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -432,7 +432,7 @@ This hierarchical structure is made of several parts: - ``Content`` - ``Footer`` - ``Menu`` - - ``Modal`` + - ``Popup`` - ``Sidebar`` - ``Head`` - ``Popup`` @@ -492,7 +492,7 @@ Here are a few examples of valid context hierarchies: - ``Content/Home/Button/Call to action`` - ``Footer/*/Help text`` - ``*/*/*/Verb, Short`` -- ``Modal/Playlist/Button`` +- ``Popup/Playlist/Button`` It's possible to nest multiple component parts to reach a higher level of detail. The component parts are then separated by a dot: diff --git a/front/src/views/playlists/Detail.vue b/front/src/views/playlists/Detail.vue index 8b4dcc4c6..5ed79ceef 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') } } },