author | antonc27 <antonc27@mail.ru> |
Fri, 14 Aug 2015 21:27:55 +0200 | |
branch | ios-revival |
changeset 11120 | 83c0d96f86ea |
parent 10388 | 665d8b699d35 |
child 11168 | e104e060911b |
child 12860 | 1b2b84315d27 |
permissions | -rw-r--r-- |
10388
665d8b699d35
part of patch in issue 803 (ty) - this hopefully should fix issues with cmake Makefiles trying to run "Qt4::lrelease" in the shell
sheepluva
parents:
9832
diff
changeset
|
1 |
find_package(Qt4 REQUIRED) |
665d8b699d35
part of patch in issue 803 (ty) - this hopefully should fix issues with cmake Makefiles trying to run "Qt4::lrelease" in the shell
sheepluva
parents:
9832
diff
changeset
|
2 |
include(${QT_USE_FILE}) |
665d8b699d35
part of patch in issue 803 (ty) - this hopefully should fix issues with cmake Makefiles trying to run "Qt4::lrelease" in the shell
sheepluva
parents:
9832
diff
changeset
|
3 |
|
1993 | 4 |
file(GLOB txttrans2 ??.txt) |
5 |
file(GLOB txttrans5 ?????.txt) |
|
3822 | 6 |
file(GLOB tsfiles *.ts) |
4502
759c1a3bb156
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.
Henek
parents:
3822
diff
changeset
|
7 |
file(GLOB luafiles *.lua) |
6059 | 8 |
file(GLOB missionfiles missions_*.txt) |
9237
b2f4bd758a0b
added campaign descriptions in CMakeList
Periklis Ntanasis <pntanasis@gmail.com>
parents:
8443
diff
changeset
|
9 |
file(GLOB campaignfiles campaigns_*.txt) |
9832
b1038b4373cc
Localise tips again. Including new german contribution from bug #738. We should look into the old .ts files and see if there are translations that can be recovered.
nemo
parents:
9237
diff
changeset
|
10 |
file(GLOB tipfiles tips_*.xml) |
3822 | 11 |
|
12 |
QT4_ADD_TRANSLATION(QM ${tsfiles}) |
|
13 |
||
8443 | 14 |
add_custom_target (release-translation ALL |
15 |
DEPENDS ${QM} |
|
16 |
COMMENT "Compiling ts files" |
|
3822 | 17 |
) |
1026 | 18 |
|
184 | 19 |
install(FILES |
8443 | 20 |
${txttrans2} |
21 |
${txttrans5} |
|
22 |
${QM} |
|
23 |
${luafiles} |
|
24 |
${missionfiles} |
|
9237
b2f4bd758a0b
added campaign descriptions in CMakeList
Periklis Ntanasis <pntanasis@gmail.com>
parents:
8443
diff
changeset
|
25 |
${campaignfiles} |
9832
b1038b4373cc
Localise tips again. Including new german contribution from bug #738. We should look into the old .ts files and see if there are translations that can be recovered.
nemo
parents:
9237
diff
changeset
|
26 |
${tipfiles} |
8443 | 27 |
DESTINATION ${SHAREPATH}Data/Locale |
3822 | 28 |
) |
29 |