Fix some typos

This commit is contained in:
Michael Zanetti 2022-06-08 13:11:39 +02:00
parent d4b68485bd
commit e8995bda0d
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ ChartView {
color: Style.red
text: "%1 %2"
.arg((absValue / (absValue > 1000 ? 1000 : 1)).toFixed(1))
.arg(absValue > 1000 ? "kWh" : "W")
.arg(absValue > 1000 ? "kW" : "W")
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
font: Style.smallFont

View File

@ -275,7 +275,7 @@ SettingsPageBase {
Layout.fillWidth: true
text: node.model + " - " + node.manufacturer// nodeThing ? nodeThing.name : node.model
subText: node.state == ZigbeeNode.ZigbeeNodeStateInitializing ?
qsTr("Initialiazing...")
qsTr("Initializing...")
: nodeThings.count == 1 ? nodeThing.name :
nodeThings.count > 1 ? qsTr("%1 things").arg(nodeThings.count) : qsTr("Unrecognized device")
iconName: nodeThing ? app.interfacesToIcon(nodeThing.thingClass.interfaces) : "/ui/images/zigbee.svg"