all repos — mgba @ f8eef19bd6b5357629e392955a149b7359a84c37

mGBA Game Boy Advance Emulator

src/platform/qt/ts.cmake (view raw)

1file(GLOB TRANSLATION_FILES "${QM_BASE}/*.qm")
2file(WRITE ${TRANSLATION_QRC} "<RCC>\n\t<qresource prefix=\"/translations/\">\n")
3foreach(TS ${TRANSLATION_FILES})
4	get_filename_component(TS_BASE "${TS}" NAME)
5	file(APPEND ${TRANSLATION_QRC} "\t\t<file>${TS_BASE}</file>\n")
6endforeach()
7file(APPEND ${TRANSLATION_QRC} "\t</qresource>\n</RCC>")