From a3fce751364183000d1c0c326cf522c5cd11d4b0 Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Mon, 10 Oct 2022 23:31:36 +0200 Subject: Update Translations once more. --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d4d67f..8bcd2ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,13 @@ add_custom_command( ) add_custom_target(rust_target DEPENDS "${RUST_LIB}") +add_custom_command( + OUTPUT translations/harbour-passfish.qm translations/harbour-passfish-de.qm + COMMAND lrelease translations/harbour-passfish.ts translations/harbour-passfish-de.ts + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" +) +add_custom_target(translations_target DEPENDS translations/harbour-passfish.qm translations/harbour-passfish-de.qm) + add_executable( harbour-passfish src/PassFish.cpp @@ -77,7 +84,7 @@ add_executable( src/pwm_qhash.cpp src/GraphemeCountValidator.cpp ) -add_dependencies(harbour-passfish rust_target) +add_dependencies(harbour-passfish rust_target translations_target) target_compile_definitions(harbour-passfish PRIVATE $<$,$>:QT_QML_DEBUG> ) -- cgit v1.2.3