From c1ba2962dc2e612a9ef702d22f5aa25b96c700f2 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 26 Jan 2022 13:59:19 +0100 Subject: [PATCH] Tools: Using recursive option in lupdate script --- src/Tools/updatets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/updatets.py b/src/Tools/updatets.py index 97e14cff1f..f1b9c3e0dc 100755 --- a/src/Tools/updatets.py +++ b/src/Tools/updatets.py @@ -154,7 +154,7 @@ def update_translation(entry): execline = [] execline.append (f"touch dummy_cpp_file_for_lupdate.cpp") #lupdate requires at least one source file to process the UI files - execline.append (f"{QMAKE} -project -o {project_filename}") + execline.append (f"{QMAKE} -project -o {project_filename} -r") execline.append (f"sed 's/.*<\/translation>/<\/translation>/g' {tsBasename}.ts > {tsBasename}.ts.temp") execline.append (f"touch {tsBasename}.ts") # In case it didn't get created above execline.append (f"{LUPDATE} {project_filename} -ts {tsBasename}.ts {log_redirect}")