summaryrefslogtreecommitdiffstats
path: root/kdf/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
commit296306a273438f476ab2266d1c03616de1fd5ef7 (patch)
tree7788ff1608858031d0b9816452591f2c62f42bc0 /kdf/CMakeL10n.txt
parent5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff)
downloadtdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz
tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kdf/CMakeL10n.txt')
-rw-r--r--kdf/CMakeL10n.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdf/CMakeL10n.txt b/kdf/CMakeL10n.txt
index 93aabe2..7e06503 100644
--- a/kdf/CMakeL10n.txt
+++ b/kdf/CMakeL10n.txt
@@ -4,3 +4,9 @@ tde_l10n_create_template(
CATALOG "kdf"
EXCLUDES "tdeconftest.cpp"
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kdf-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)