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 c375f2f..b1925dd 100644
--- a/app/HVAC.qml
+++ b/app/HVAC.qml
@@ -26,13 +26,14 @@ ApplicationWindow {
Translator {
id: translator
-// language: 'ja_JP'
+ language: binding.language
}
API.Binding {
id: binding
url: bindingAddress
onFanSpeedChanged: fanSpeedSlider.value = fanSpeed
+ onLanguageChanged: translator.language = language
}
ColumnLayout {