lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
file(GLOB txttrans2 ??.txt)
file(GLOB txttrans5 ?????.txt)
file(GLOB tsfiles *.ts)
file(GLOB luafiles *.lua)
QT4_ADD_TRANSLATION(QM ${tsfiles})
add_custom_target (release-translation ALL
DEPENDS ${QM}
COMMENT "Compiling ts files"
)
install(FILES
${txttrans2}
${txttrans5}
${QM}
${luafiles}
DESTINATION ${SHAREPATH}Data/Locale
)