aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMCreateQmFromPoFiles.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ECMCreateQmFromPoFiles.cmake')
-rw-r--r--modules/ECMCreateQmFromPoFiles.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMCreateQmFromPoFiles.cmake b/modules/ECMCreateQmFromPoFiles.cmake
index 3da31940..f331460d 100644
--- a/modules/ECMCreateQmFromPoFiles.cmake
+++ b/modules/ECMCreateQmFromPoFiles.cmake
@@ -134,7 +134,7 @@ function(_ECM_QM_CREATE_TARGET install_destination catalog_name)
# strings. Finally run lrelease to create the .qm files.
add_custom_command(OUTPUT ${qmfile}
COMMAND ${lconvert_executable}
- ARGS -i ${it} -o ${tsfile}
+ ARGS -i ${it} -o ${tsfile} -target-language ${language}
COMMAND Qt5::lrelease
ARGS -compress -removeidentical -silent ${tsfile} -qm ${qmfile}
DEPENDS ${it}