Skip to content

Commit

Permalink
Add missing qsTr(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Montel authored and ahayzen-kdab committed Oct 26, 2023
1 parent 831c7c8 commit e19beb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/demo_threading/qml/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Window {

SideText {
id: powerusageT
text: "Total used Power: <i>%1 kW</i> Average: <i>%2 kW</i>".arg((energyUsage.totalUse / 1000.0).toPrecision(3)).arg((energyUsage.averageUse / 1000.0).toPrecision(3))
text: qsTr("Total used Power: <i>%1 kW</i> Average: <i>%2 kW</i>").arg((energyUsage.totalUse / 1000.0).toPrecision(3)).arg((energyUsage.averageUse / 1000.0).toPrecision(3))
color: "#a9deff"
font.pixelSize: 16
anchors.verticalCenter: wireless.verticalCenter
Expand All @@ -386,7 +386,7 @@ Window {
y: 22

SideText {
text: "nº Online Sensors: " + "<i><b>%1</i></b>".arg(energyUsage.sensors)
text: qsTr("nº Online Sensors: <i><b>%1</b></i>").arg(energyUsage.sensors)
color: "#a9deff"
font.pixelSize: 16
anchors.verticalCenter: parent.verticalCenter
Expand Down

0 comments on commit e19beb6

Please sign in to comment.