Just fixes

This commit is contained in:
2025-06-05 07:12:18 +02:00
parent bf83fc2c24
commit 3370a11f00
15 changed files with 205 additions and 30 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ ListItem {
anchors.rightMargin: Theme.paddingMedium
elide: Text.ElideRight
width: parent.width - (favIcon.width + (Theme.paddingLarge * 2))
text: lastcheckok == "1" ? name : " [DOWN] "+name
text: lastcheckok == "1" ? name : " ["+qsTr("DOWN")+"] "+name
color: lastcheckok == "1" ? Theme.primaryColor : Theme.secondaryColor
font.strikeout: lastcheckok == "1" ? false : true
font.pixelSize: Theme.fontSizeSmall
+1 -1
View File
@@ -75,7 +75,7 @@ Column {
elide: Text.ElideRight
width: parent.width - (parent.border.width * 2)
height: width
text: stationLabel ? stationLabel : "AllRadio"//lastcheckok == "1" ? name : " [DOWN] "+name
text: stationLabel ? stationLabel : "AllRadio2"//lastcheckok == "1" ? name : " [DOWN] "+name
color: Theme.primaryColor//stationlabel === "1" ? Theme.lightPrimaryColor : Theme.secondaryColor
wrapMode: Text.WordWrap
maximumLineCount: 4
+1 -1
View File
@@ -23,7 +23,7 @@ ListItem {
elide: Text.ElideRight
width: stationimage.width
height: Theme.itemSizeExtraSmall
text: lastcheckok === "1" ? name : " [DOWN] "+name
text: lastcheckok === "1" ? name : " "+qsTr([DOWN])+" "+name
color: lastcheckok === "1" ? Theme.primaryColor : Theme.secondaryColor
wrapMode: Text.WordWrap
maximumLineCount: 2
+1 -1
View File
@@ -23,7 +23,7 @@ ListItem {
elide: Text.ElideRight
width: stationimage.width
height: Theme.itemSizeExtraSmall
text: tag ? tag : "No Tag"
text: tag ? tag : qsTr("No Tag")
color: Theme.primaryColor
wrapMode: Text.WordWrap
maximumLineCount: 2
+3 -3
View File
@@ -84,7 +84,7 @@ ListItem {
anchors.rightMargin: Theme.paddingMedium
elide: Text.ElideRight
width: parent.width - (favIcon.width + (Theme.paddingLarge * 2))
text: lastcheckok == "1" ? name : " [DOWN] "+name
text: lastcheckok == "1" ? name : " "+qsTr([DOWN])+" "+name
color: lastcheckok == "1" ? Theme.primaryColor : Theme.secondaryColor
font.strikeout: lastcheckok == "1" ? false : true
font.pixelSize: Theme.fontSizeSmall
@@ -107,7 +107,7 @@ ListItem {
anchors.leftMargin: Theme.paddingMedium
font.pixelSize: Theme.fontSizeExtraSmall
text: countrycode ? radioBrowser.getCountryName(countrycode) : "No country"//"Country name"//getAll(hls,codec,bitrate)
text: countrycode ? radioBrowser.getCountryName(countrycode) : qsTr("No country")//"Country name"//getAll(hls,codec,bitrate)
color: delegate.highlighted ? Theme.highlightColor : Theme.secondaryColor
}
Label {
@@ -117,7 +117,7 @@ ListItem {
anchors.leftMargin: Theme.paddingLarge
anchors.rightMargin: Theme.paddingSmall
font.pixelSize: Theme.fontSizeExtraSmall
text: lastcheckok ? JSfunctions.getAll(hls,codec,bitrate) : "[OFFLINES]"
text: lastcheckok ? JSfunctions.getAll(hls,codec,bitrate) : qsTr("[OFFLINE]")
color: delegate.highlighted ? Theme.highlightColor : Theme.secondaryColor
}
Label {
+3 -3
View File
@@ -16,7 +16,7 @@ Item {
down: tab === 0
width: parent.width / 3
// icon: "image://theme/icon-m-home" //"image://theme/icon-m-video"
text: "Favorites"
text: qsTr("Favorites")
onButtonClick: {showP=0.0;tab = 0}
}
TabButton {
@@ -24,7 +24,7 @@ Item {
down: tab === 1
width: parent.width / 3
// icon: "image://theme/icon-m-search"
text: "History"
text: qsTr("History")
onButtonClick: {showP=0.0;tab = 1}
}
TabButton {
@@ -32,7 +32,7 @@ Item {
down: tab === 2
width: parent.width / 3
// icon: "image://theme/icon-m-favorite"
text: "Search"
text: qsTr("Search")
onButtonClick: {showP=0.0;tab = 2;console.log("CLICK")}
}
}
+1 -1
View File
@@ -69,7 +69,7 @@ Column {
elide: Text.ElideRight
width: parent.width - (parent.border.width * 2)
height: width
text: stationLabel ? stationLabel : "No Tag"//lastcheckok == "1" ? name : " [DOWN] "+name
text: stationLabel ? stationLabel : qsTr("No Tag")//lastcheckok == "1" ? name : " [DOWN] "+name
color: stationlabel === "1" ? Theme.lightPrimaryColor : Theme.secondaryColor
wrapMode: Text.WordWrap
maximumLineCount: 4