summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-24 08:19:42 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-02-24 12:30:32 +0100
commit9917377ef6416f707826134541f1b93032bdbed8 (patch)
treef9ec84554bd835f4c88166c2d835f38ce98201cc
parent144f84d3761208a66ae80adca58f2897a25d3d10 (diff)
Fix missing translations
Add missing suffixes to the filter to obtain messages from Objective C++ files, QML files and Qt Designer forms. Change-Id: I4a3b1ac2a30ebec0d6a0074cc45dda5b13271802 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
-rw-r--r--translations/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
index 469ca03..551261d 100644
--- a/translations/CMakeLists.txt
+++ b/translations/CMakeLists.txt
@@ -45,7 +45,7 @@ function(add_ts_targets catalog)
endif()
set(source_files_list_file "${CMAKE_CURRENT_BINARY_DIR}/${catalog}_file_list.txt")
- set(inclusion_regex "\\.h$|\\.cpp$|\\.hpp$|\\.cxx$|\\.cc$")
+ set(inclusion_regex "\\.h$|\\.cpp$|\\.hpp$|\\.cxx$|\\.cc$|\\.mm$|\\.qml$|\\.ui$")
file(GENERATE
OUTPUT "${source_files_list_file}"
CONTENT "$<JOIN:$<FILTER:${file_list},INCLUDE,${inclusion_regex}>,\n>"