fix untranslated unknown string
This commit is contained in:
parent
5c0212226c
commit
9a71390466
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Page {
|
||||||
if ( battery.chargerConnected && !battery.acConnected) { return qsTr("USB") }
|
if ( battery.chargerConnected && !battery.acConnected) { return qsTr("USB") }
|
||||||
else if (!battery.chargerConnected && battery.acConnected) { return qsTr("AC") }
|
else if (!battery.chargerConnected && battery.acConnected) { return qsTr("AC") }
|
||||||
else if ( battery.chargerConnected && battery.acConnected) { return qsTr("USB") + "/" + qsTr("AC") }
|
else if ( battery.chargerConnected && battery.acConnected) { return qsTr("USB") + "/" + qsTr("AC") }
|
||||||
return "unknown power source"
|
return qsTr("unknown", "Charger not detected, or faulty, or something")
|
||||||
}
|
}
|
||||||
label: qsTr("Charger connected:")
|
label: qsTr("Charger connected:")
|
||||||
value: connected ? (qsTr("yes") + " (" + chargerType + ")") : qsTr("no")
|
value: connected ? (qsTr("yes") + " (" + chargerType + ")") : qsTr("no")
|
||||||
|
|
Loading…
Reference in a new issue