1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-06 10:32:44 +00:00

Polish UI elements

This commit is contained in:
Chris Josten 2021-08-22 00:29:44 +02:00
parent 75474e1793
commit f028e38b7a
7 changed files with 101 additions and 42 deletions

View file

@ -11,7 +11,7 @@ SilicaListView {
section.property: "section"
section.delegate: SectionHeader {
text: {
switch(section) {
switch(Number(section)) {
case J.NowPlayingSection.Queue:
//: Now playing page queue section header
return qsTr("Queue")
@ -19,7 +19,7 @@ SilicaListView {
//: Now playing page playlist section header
return qsTr("Playlist")
default:
return qsTr("Unknown section")
return qsTr("Unknown section: %1").arg(ListView.section)
}
}
}