summaryrefslogtreecommitdiffstats
path: root/app/HVAC.qml
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-01-09 22:27:12 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-01-09 22:27:12 +0000
commitafee2b7f2409d0394d9254c96dd30fd4c35f73e7 (patch)
treeed6923eb414fecccd84576faa11f5e0973b900e7 /app/HVAC.qml
parent997ff3705532f62bd5b8948b2d00ffc1fffe6b7c (diff)
parentbdc6eaee726a91301153c5e67b55f9324cacae85 (diff)
Merge "Languages changing depending on identity logged in"
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 {