Skip to content

Commit

Permalink
improve message
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bonani committed Nov 26, 2021
1 parent 77c67a2 commit 3df9f0a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions aseba/launcher/src/qml/ApplicationSelectionView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ Item {

Text {
id: version
text: qsTr("<a href=\"https://thymio.org\">Thymio Suite</a> - %1 %2")
text: qsTr("<a href=\"https://thymio.org\">Thymio Suite</a> - %1 %2 %3")
.arg(Qt.application.version)
.arg(client.localEndpoint && client.localEndpoint.password?
qsTr("<br/> Local endpoint connected with password") : "")
.arg(client.localEndpoint?
qsTr("<br/> Connect locally ") : "<br/>")
.arg(Utils.isZeroconfRunning?
qsTr("Discovery service enable") : "")
onLinkActivated: Qt.openUrlExternally(link)
font.family: "Roboto Light"
anchors.bottom: parent.bottom
Expand Down

0 comments on commit 3df9f0a

Please sign in to comment.