summaryrefslogtreecommitdiffstats
path: root/src/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-08-28 15:43:51 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-08-28 16:56:52 +0200
commit2db2a93cb4a938b0019042a2b91fc1910b572097 (patch)
tree715e68b6fc1041efe723a8b09e8be04b3fb0b89c /src/CMakeL10n.txt
parent6493cf19d99f6b955982aa0488610feb77a8aad0 (diff)
downloadtdepowersave-2db2a93c.tar.gz
tdepowersave-2db2a93c.zip
Copy translations to a new directory layout.
Use common rules for build and install translations. Use common rules for build and install documentation. Added translation of .desktop files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 28593cba62cd7639c6a0e3cbb4fd8508f6c9ea96)
Diffstat (limited to 'src/CMakeL10n.txt')
-rw-r--r--src/CMakeL10n.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index b401afd..5f00ced 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,13 @@
##### create translation templates ##############
-tde_l10n_create_template( "tdepowersave" )
+tde_l10n_create_template( "messages/tdepowersave" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tdepowersave-desktops"
+ SOURCES *.desktop
+)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/eventsrc/"
+ SOURCES eventsrc
+)