From 83bc8d9e86c008472717ccc0f11cbff5861b21c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Walenciak?= Date: Fri, 3 Nov 2023 20:42:53 +0100 Subject: [PATCH] Select target language --- cmake/Translations.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 72ca8e63..581f965d 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -59,7 +59,7 @@ macro(add_po outfiles po_prefix) # Convert the .po files to .qm files add_custom_command( OUTPUT ${_qm_filepath} - COMMAND ${QT_LCONVERT_EXECUTABLE} ARGS ${_po_filepath} -o ${_qm_filepath} -of qm + COMMAND ${QT_LCONVERT_EXECUTABLE} ARGS ${_po_filepath} -o ${_qm_filepath} -of qm -target-language ${_lang} DEPENDS ${_po_filepath} ${_po_filepath} )