summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-24 15:27:28 +0200
committerSlávek Banko <[email protected]>2020-05-24 15:27:46 +0200
commitde729001806736370b77747730c11d7da3a72ced (patch)
tree9a1713c8177bcddf5008a89f427bc0465034f04c /src
parent06e1d5974c69db975725588044a3adbe9673a24a (diff)
downloadkcmldap-de729001806736370b77747730c11d7da3a72ced.tar.gz
kcmldap-de729001806736370b77747730c11d7da3a72ced.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 <[email protected]> (cherry picked from commit 116937ea03e3a562da66dade385a11439babe7e5)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index fcf0eeb..5c62ffd 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kcmldap" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ldapbonding.desktop/"
+ SOURCES ldapbonding.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3c25e30..c70c23b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,7 +42,4 @@ tde_add_kpart( kcm_ldapbonding AUTOMOC
##### other data
-install(
- FILES ldapbonding.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ldapbonding.desktop )