summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-27 20:34:03 +0900
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-29 17:26:33 +0100
commit4b7d58e71e8864a90d3b567f21029968d6e8edef (patch)
tree9f25bb4a64713bef08b020d090075c5f06cc7924 /app/app.pro
parentd084bc1f764833566f3e8eafc9fc297c3fa9ee08 (diff)
Add basic translation support
Added French and Japanese translations Change-Id: I58eca5ffaad2367a4dd26b6472bdbcd45c957061 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/app.pro b/app/app.pro
index da4e8a4..edd08aa 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,10 +1,17 @@
TARGET = hvac
QT = quick qml
-SOURCES = main.cpp
+HEADERS += \
+ translator.h
+
+SOURCES = main.cpp \
+ translator.cpp
RESOURCES += \
hvac.qrc \
images/images.qrc
include(app.pri)
+
+LANGUAGES = ja_JP fr_FR
+include(translations.pri)