Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-12-20 02:19:04 +0300
committerJanek Bevendorff <janek@jbev.net>2017-12-23 19:47:46 +0300
commitc57973615837c3d0c1a8574a204d3a1943bd1e48 (patch)
treeeebb0d9d91a76c16ab1505819104f0fed9b6e8c1 /share
parent5b525eb9ca0b80bae2497af5605da8473f8a6d4b (diff)
Bundle qtbase translations on Windows
Diffstat (limited to 'share')
-rw-r--r--share/translations/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/translations/CMakeLists.txt b/share/translations/CMakeLists.txt
index 7380750e4..a5d8882be 100644
--- a/share/translations/CMakeLists.txt
+++ b/share/translations/CMakeLists.txt
@@ -1,3 +1,4 @@
+# Copyright (C) 2017 KeePassXC Team <team@keepassxc.org>
# Copyright (C) 2014 Felix Geyer <debfx@fobos.de>
#
# This program is free software: you can redistribute it and/or modify
@@ -21,6 +22,11 @@ message(STATUS "${TRANSLATION_FILES}")
qt5_add_translation(QM_FILES ${TRANSLATION_FILES})
+if(MINGW)
+ file(GLOB QTBASE_TRANSLATIONS ${Qt5_DIR}/../../../share/qt5/translations/qtbase_*.qm)
+endif()
+set(QM_FILES ${QM_FILES} ${QTBASE_TRANSLATIONS})
+
install(FILES ${QM_FILES} DESTINATION ${DATA_INSTALL_DIR}/translations)
add_custom_target(translations DEPENDS ${QM_FILES})
add_dependencies(${PROGNAME} translations)