summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-27 20:34:03 +0900
committerLoïc Collignon <loic.collignon@iot.bzh>2018-01-04 14:20:15 +0100
commit8363df0356c20c92f6dae175b3c8b83b1032e6ff (patch)
treec15dba596f92dd4d5440c0b798255d64251342c3 /app/app.pro
parentb7cfcddf4b89d73a4d5e5e854421219c50bf1f9e (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..93fc2ad 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 en_US
+include(translations.pri)