share/hedgewars/Data/Locale/CMakeLists.txt
author unc0rr
Wed, 14 May 2014 01:12:21 +0400
changeset 10242 0ab0d7fa1c62
parent 9832 b1038b4373cc
child 10388 665d8b699d35
permissions -rw-r--r--
Oops, should stop coding at night
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1993
66ac34be63d1 Fix some locale files installation
unc0rr
parents: 1523
diff changeset
     1
file(GLOB txttrans2 ??.txt)
66ac34be63d1 Fix some locale files installation
unc0rr
parents: 1523
diff changeset
     2
file(GLOB txttrans5 ?????.txt)
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     3
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
     4
file(GLOB luafiles *.lua)
6059
ddf020d0941a training screen localization works now
sheepluva
parents: 4502
diff changeset
     5
file(GLOB missionfiles missions_*.txt)
9237
b2f4bd758a0b added campaign descriptions in CMakeList
Periklis Ntanasis <pntanasis@gmail.com>
parents: 8443
diff changeset
     6
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
     7
file(GLOB tipfiles tips_*.xml)
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     8
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     9
QT4_ADD_TRANSLATION(QM ${tsfiles})
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    10
8443
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    11
add_custom_target (release-translation ALL
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    12
        DEPENDS ${QM}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    13
        COMMENT "Compiling ts files"
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    14
)
1026
a415f436fe3a Add German translation
unc0rr
parents: 932
diff changeset
    15
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 98
diff changeset
    16
install(FILES
8443
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    17
    ${txttrans2}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    18
    ${txttrans5}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    19
    ${QM}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    20
    ${luafiles}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    21
    ${missionfiles}
9237
b2f4bd758a0b added campaign descriptions in CMakeList
Periklis Ntanasis <pntanasis@gmail.com>
parents: 8443
diff changeset
    22
    ${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
    23
    ${tipfiles}
8443
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 6059
diff changeset
    24
    DESTINATION ${SHAREPATH}Data/Locale
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    25
)
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    26