Commit 86468666 authored by Nate Graham's avatar Nate Graham Committed by Matthieu Gallien
Browse files

Use Kirigami.PlaceholderMessage's explanation: property in playlist

The Playlist currently has a homemade version of this with a line break
between sentences, but PlaceholderMessage now has a property just for
this.

The frameworks dependency version is bumped to 5.80, which is the
version where Kirigami.PlaceholderMessage gained this feature.
parent 45ea00c7
Pipeline #62763 passed with stage
in 8 minutes and 26 seconds
......@@ -335,7 +335,8 @@ Kirigami.Page {
Kirigami.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (Kirigami.Units.largeSpacing * 4)
text: xi18nc("@info", "Your playlist is empty.<nl/><nl/>Add some songs to get started. You can browse your music using the views on the left.")
text: i18n("Playlist is empty")
explanation: i18n("Add some songs to get started. You can browse your music using the views on the left.")
visible: playListView.count === 0
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment