share/hedgewars/Data/Locale/CMakeLists.txt
author nemo
Wed, 07 Nov 2012 12:54:40 -0500
changeset 7998 c0c3f117ad1b
parent 6059 ddf020d0941a
child 8443 2debc9b9f917
permissions -rw-r--r--
Only a handful of ISO 639-3 languages are supported by Qt. Standard Malay is not one of them. Using the macrolanguage code seems fine. Not too sure what the numerusform is for a macrolanguage, but appears that wikipedia equates MS w/ "bahasa" too

file(GLOB txttrans2 ??.txt)
file(GLOB txttrans5 ?????.txt)
file(GLOB tsfiles *.ts)
file(GLOB luafiles *.lua)
file(GLOB missionfiles missions_*.txt)

QT4_ADD_TRANSLATION(QM ${tsfiles})

add_custom_target (release-translation ALL 
		DEPENDS ${QM}
		COMMENT "Compiling ts files"
)

install(FILES
	${txttrans2}
	${txttrans5}
	${QM}
	${luafiles}
	${missionfiles}
	DESTINATION ${SHAREPATH}Data/Locale
)