summaryrefslogtreecommitdiffstats
path: root/kalzium/src/CMakeL10n.txt
blob: fe0f9da5545e532995834acdb2cb5b4270e6563b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##### prepare xml files #########################

tde_l10n_prepare_xml(
    SOURCE data/data.xml
    TAGS name
)

tde_l10n_prepare_xml(
    SOURCE data/knowledge.xml
    TAGS name desc refitem
)

tde_l10n_prepare_xml(
    SOURCE data/tools.xml
    TAGS name desc
)


##### create translation templates ##############

tde_l10n_create_template(
    CATALOG "kalzium"
    SOURCES
        "."
        "data/data.xml.tde_l10n"
        "data/knowledge.xml.tde_l10n"
        "data/tools.xml.tde_l10n"
    ATTRIBUTES
        "data/data.xml:name,origin"
)

tde_l10n_create_template(
    CATALOG "desktop_files/kalzium.desktop/"
    SOURCES kalzium.desktop
    DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)