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:
parent
75474e1793
commit
f028e38b7a
7 changed files with 101 additions and 42 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue