Commit 9e24b85b authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Generating translation from a list.

Instead of adding another line for every new translation.
parent d9ac3bb6
......@@ -71,12 +71,11 @@ INCLUDEPATH += $$VLMC_DIRS \
TRANSLATIONS = ../ts/vlmc_cs.ts \
../ts/vlmc_es.ts \
../ts/vlmc_fr.ts \
../ts/vlmc_jp.ts \
../ts/vlmc_sv.ts \
# Add traduction here, it will be automatically build by the next line.
TRANSLATIONS_LIST = cs es fr jp sv pt_BR
# Add every translation in the TRANSLATION variable
for(lang, TRANSLATIONS_LIST):exists( ../ts/vlmc_$${lang}.ts ):TRANSLATIONS += ../ts/vlmc_$${lang}.ts
RESOURCES += ../ressources.qrc
exists( ../ts/*.qm ) {
Supports Markdown
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