author | Wuzzy <Wuzzy2@mail.ru> |
Thu, 25 Apr 2019 19:58:52 +0200 | |
changeset 14855 | cbc1216fdf39 |
parent 14838 | d3f72c73ed6d |
permissions | -rw-r--r-- |
12896 | 1 |
find_package(Qt5 COMPONENTS LinguistTools) |
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
|
2 |
|
1993 | 3 |
file(GLOB txttrans2 ??.txt) |
4 |
file(GLOB txttrans5 ?????.txt) |
|
14838
d3f72c73ed6d
Don't include Arabic in release (RTL support is broken)
Wuzzy <Wuzzy2@mail.ru>
parents:
12896
diff
changeset
|
5 |
file(GLOB tsfiles hedgewars_*.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
|
6 |
file(GLOB luafiles *.lua) |
6059 | 7 |
file(GLOB missionfiles missions_*.txt) |
9237
b2f4bd758a0b
added campaign descriptions in CMakeList
Periklis Ntanasis <pntanasis@gmail.com>
parents:
8443
diff
changeset
|
8 |
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
|
9 |
file(GLOB tipfiles tips_*.xml) |
3822 | 10 |
|
12896 | 11 |
QT5_ADD_TRANSLATION(QM ${tsfiles}) |
3822 | 12 |
|
8443 | 13 |
add_custom_target (release-translation ALL |
14 |
DEPENDS ${QM} |
|
15 |
COMMENT "Compiling ts files" |
|
3822 | 16 |
) |
1026 | 17 |
|
184 | 18 |
install(FILES |
8443 | 19 |
${txttrans2} |
20 |
${txttrans5} |
|
21 |
${QM} |
|
22 |
${luafiles} |
|
23 |
${missionfiles} |
|
9237
b2f4bd758a0b
added campaign descriptions in CMakeList
Periklis Ntanasis <pntanasis@gmail.com>
parents:
8443
diff
changeset
|
24 |
${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
|
25 |
${tipfiles} |
8443 | 26 |
DESTINATION ${SHAREPATH}Data/Locale |
3822 | 27 |
) |
28 |