share/hedgewars/Data/Locale/CMakeLists.txt
author jose1711
Thu, 30 Dec 2010 19:36:40 +0100
changeset 4787 e353f2211cea
parent 4502 759c1a3bb156
child 6059 ddf020d0941a
permissions -rw-r--r--
Merge
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)
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     5
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     6
QT4_ADD_TRANSLATION(QM ${tsfiles})
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     7
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     8
add_custom_target (release-translation ALL 
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
     9
		DEPENDS ${QM}
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    10
		COMMENT "Compiling ts files"
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    11
)
1026
a415f436fe3a Add German translation
unc0rr
parents: 932
diff changeset
    12
184
f97a7a3dc8f6 - Update more headers
unc0rr
parents: 98
diff changeset
    13
install(FILES
1993
66ac34be63d1 Fix some locale files installation
unc0rr
parents: 1523
diff changeset
    14
	${txttrans2}
66ac34be63d1 Fix some locale files installation
unc0rr
parents: 1523
diff changeset
    15
	${txttrans5}
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    16
	${QM}
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
    17
	${luafiles}
3822
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    18
	DESTINATION ${SHAREPATH}Data/Locale
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    19
)
ee85a9c73ece *patch by arrom: fix installation of fort images
koda
parents: 3683
diff changeset
    20