X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2FHVAC.qml;h=be16e3fc0a8d10ee921c8268f5c80ddec5ac4caa;hb=refs%2Fheads%2Fsandbox%2Fharunobu.kurokawa%2Fals2018;hp=7710589484873793d24c248efc05336c01aea956;hpb=8363df0356c20c92f6dae175b3c8b83b1032e6ff;p=apps%2Fhvac.git diff --git a/app/HVAC.qml b/app/HVAC.qml index 7710589..be16e3f 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 { @@ -137,6 +138,8 @@ ApplicationWindow { binding.rightTemperature = degree } } + + } }