summaryrefslogtreecommitdiffstats
path: root/kpackage/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:29:08 +0200
commitbb5603da8b810eae9b8d3c5a322801db50cfe202 (patch)
treee2b55588a23ac2be22b9ee6b6dffd05576e808cf /kpackage/CMakeL10n.txt
parent68c56b1ea83c32a7d11a43a0d0f977a435614f71 (diff)
downloadtdeadmin-bb5603da8b810eae9b8d3c5a322801db50cfe202.tar.gz
tdeadmin-bb5603da8b810eae9b8d3c5a322801db50cfe202.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> (cherry picked from commit cfe279f15a6ca1dad65d63f289a6a6a8a91bb024)
Diffstat (limited to 'kpackage/CMakeL10n.txt')
-rw-r--r--kpackage/CMakeL10n.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/kpackage/CMakeL10n.txt b/kpackage/CMakeL10n.txt
index bbe9bc2..ff4d283 100644
--- a/kpackage/CMakeL10n.txt
+++ b/kpackage/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kpackage" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kpackage.desktop/"
+ SOURCES kpackage.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)