summaryrefslogtreecommitdiffstats
path: root/src/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-21 14:24:49 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-03-23 20:16:00 +0100
commitfea7ebd27462042547048589a490a5fc87c7ef34 (patch)
tree7337264c528e9f2915ad46b3c488e9b9cb9703cc /src/CMakeL10n.txt
parenta52c922703f7aaaf12777ebd06ad2a25861552eb (diff)
downloadabakus-fea7ebd27462042547048589a490a5fc87c7ef34.tar.gz
abakus-fea7ebd27462042547048589a490a5fc87c7ef34.zip
Desktop file translations:
+ Creation of POT templates for desktop files added to CMakeL10n rules. + Added creation of translated desktop file during build. + The abakus.desktop will be installed to the XDG_APPS_INSTALL_DIR. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a1a48db571e6fa1c3ae94a22546548b87e497dd2)
Diffstat (limited to 'src/CMakeL10n.txt')
-rw-r--r--src/CMakeL10n.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 771410e..568a07f 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
-tde_l10n_create_template( "abakus" )
+tde_l10n_create_template( "messages/abakus/" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/abakus.desktop/"
+ SOURCES abakus.desktop
+)