14 lines
724 B
Diff
14 lines
724 B
Diff
--- a/CMakeLists.txt 2021-03-21 18:56:07.000000000 +0100
|
|
+++ b/CMakeLists.txt 2021-11-30 20:55:48.000000000 +0100
|
|
@@ -219,8 +219,8 @@
|
|
OUTPUT ${QmOutput}
|
|
COMMAND cmake -E make_directory ${GCOMPRIS_TRANSLATIONS_DIR}
|
|
COMMAND cmake -E make_directory ${CMAKE_BINARY_DIR}/tmp
|
|
- # Remove the obsolete translations and set po in the ts output file
|
|
- COMMAND msgattrib --no-obsolete ${CMAKE_CURRENT_SOURCE_DIR}/${PoSource} -o ${OutTsFile}
|
|
+ # Copy po to the ts output file
|
|
+ COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/${PoSource} ${OutTsFile}
|
|
# Convert the po into ts
|
|
COMMAND Qt5::lconvert -if po -of ts -i ${OutTsFile} -o ${OutTsFile}
|
|
# Convert the ts in qm removing non finished translations
|