Fix some typos
This commit is contained in:
parent
d4b68485bd
commit
e8995bda0d
@ -104,7 +104,7 @@ ChartView {
|
|||||||
color: Style.red
|
color: Style.red
|
||||||
text: "%1 %2"
|
text: "%1 %2"
|
||||||
.arg((absValue / (absValue > 1000 ? 1000 : 1)).toFixed(1))
|
.arg((absValue / (absValue > 1000 ? 1000 : 1)).toFixed(1))
|
||||||
.arg(absValue > 1000 ? "kWh" : "W")
|
.arg(absValue > 1000 ? "kW" : "W")
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
font: Style.smallFont
|
font: Style.smallFont
|
||||||
|
|||||||
@ -275,7 +275,7 @@ SettingsPageBase {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: node.model + " - " + node.manufacturer// nodeThing ? nodeThing.name : node.model
|
text: node.model + " - " + node.manufacturer// nodeThing ? nodeThing.name : node.model
|
||||||
subText: node.state == ZigbeeNode.ZigbeeNodeStateInitializing ?
|
subText: node.state == ZigbeeNode.ZigbeeNodeStateInitializing ?
|
||||||
qsTr("Initialiazing...")
|
qsTr("Initializing...")
|
||||||
: nodeThings.count == 1 ? nodeThing.name :
|
: nodeThings.count == 1 ? nodeThing.name :
|
||||||
nodeThings.count > 1 ? qsTr("%1 things").arg(nodeThings.count) : qsTr("Unrecognized device")
|
nodeThings.count > 1 ? qsTr("%1 things").arg(nodeThings.count) : qsTr("Unrecognized device")
|
||||||
iconName: nodeThing ? app.interfacesToIcon(nodeThing.thingClass.interfaces) : "/ui/images/zigbee.svg"
|
iconName: nodeThing ? app.interfacesToIcon(nodeThing.thingClass.interfaces) : "/ui/images/zigbee.svg"
|
||||||
|
|||||||
Reference in New Issue
Block a user