Commit 1c47c5c8 authored by Ronan Abhamon's avatar Ronan Abhamon

chore(languages): remove automatically useless trads

parent 6574cc8b
# ====================================================================
# ==============================================================================
# assets/languages/CMakeLists.txt
# ====================================================================
# ==============================================================================
# This line prevent `.ts` files deletion.
# See: https://bugreports.qt.io/browse/QTBUG-31860
......@@ -25,7 +25,7 @@ set(I18N_CONTENT "${I18N_CONTENT} </qresource>\n</RCC>\n")
file(WRITE "${CMAKE_BINARY_DIR}/${LANGUAGES_DIRECTORY}/${I18N_FILENAME}" "${I18N_CONTENT}")
# Create `qm` files from `ts` files.
qt5_create_translation(QM_FILES ${TS_FILES} ${SOURCES} ${HEADERS} ${QML_SOURCES})
qt5_create_translation(QM_FILES ${TS_FILES} ${SOURCES} ${HEADERS} ${QML_SOURCES} OPTIONS -no-obsolete)
# Translations target must be called by `make`|`make all`.
add_custom_target(update_translations DEPENDS ${QM_FILES})
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment