src/platform/qt/ts.cmake (view raw)
1file(WRITE ${TRANSLATION_QRC} "<RCC>\n\t<qresource prefix=\"/translations/\">\n")
2foreach(TS ${TRANSLATION_FILES})
3 get_filename_component(TS_BASE "${TS}" NAME)
4 file(APPEND ${TRANSLATION_QRC} "\t\t<file>${TS_BASE}</file>\n")
5endforeach()
6file(APPEND ${TRANSLATION_QRC} "\t</qresource>\n</RCC>")