summaryrefslogtreecommitdiffstats
path: root/app/HVAC.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/HVAC.qml')
-rw-r--r--app/HVAC.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/HVAC.qml b/app/HVAC.qml
index 7710589..b1925dd 100644
--- a/app/HVAC.qml
+++ b/app/HVAC.qml
@@ -26,13 +26,14 @@ ApplicationWindow {
Translator {
id: translator
- language: 'en_US'
+ language: binding.language
}
API.Binding {
id: binding
url: bindingAddress
onFanSpeedChanged: fanSpeedSlider.value = fanSpeed
+ onLanguageChanged: translator.language = language
}
ColumnLayout {