Cleaning, fixing and translation
This commit is contained in:
@@ -82,16 +82,17 @@ DockedPanel {
|
||||
font.bold: true
|
||||
text: radioPlayer._name
|
||||
}
|
||||
Row {
|
||||
spacing: Theme.paddingMedium
|
||||
Image {
|
||||
// Row {
|
||||
// spacing: Theme.paddingMedium
|
||||
/* Image {
|
||||
id: headerLogo
|
||||
anchors.bottom: rcountry.bottom
|
||||
height: rcountry.height * 0.8
|
||||
fillMode: Image.PreserveAspectFit
|
||||
smooth: true
|
||||
source: radioPlayer._countrycode === "" ? radioPlayer._countrycode ? "../images/bycountry_t.png" : "" : "../flags/"+radioPlayer._countrycode.toLowerCase()+".png"
|
||||
}
|
||||
// source: radioPlayer._cc === "" ? radioPlayer._cc ? "../images/bycountry_t.png" : "" : "../flags/"+radioPlayer._cc.toLowerCase()+".png"
|
||||
source: "../flags/"+radioPlayer._cc.toLowerCase()+".png"
|
||||
} */
|
||||
Label {
|
||||
id: rcountry
|
||||
color: Theme.secondaryColor
|
||||
@@ -99,7 +100,7 @@ DockedPanel {
|
||||
width: parent.width
|
||||
elide: Text.ElideRight
|
||||
text: radioPlayer.radioCountryName
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,10 @@ Column {
|
||||
id: column
|
||||
spacing: Theme.paddingMedium
|
||||
anchors.centerIn: parent
|
||||
property QDtimer timer: QDtimer {
|
||||
id: spTimer
|
||||
interval: 5000; running: true; repeat: false
|
||||
}
|
||||
|
||||
Image {
|
||||
id: logo
|
||||
@@ -30,7 +34,7 @@ Column {
|
||||
BusyLabel {
|
||||
visible: radioBrowser.serversModel.count > 0
|
||||
running: visible
|
||||
text: qsTr("Connecting to:")
|
||||
text: qsTr("Connecting:")
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Label {
|
||||
@@ -41,9 +45,9 @@ Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Button {
|
||||
visible: radioBrowser.serversModel.count > 1
|
||||
visible: radioBrowser.serversModel.count > 1 && !spTimer.running
|
||||
anchors.topMargin: Theme.paddingLarge
|
||||
text: "Try another server"
|
||||
text: qsTr("Try another server")
|
||||
onClicked: radioBrowser.getRandom()
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user