summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-29 18:56:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-03-29 18:56:32 +0200
commit782fedd71db076f5f27e4d61ecf8ec49890883ed (patch)
tree492f4877277f8d07ac8092e93ca9c97ad389418b /src
parentb3947daa5d32366538f084b3dc928d6f408ae63b (diff)
downloadkcpuload-782fedd71db076f5f27e4d61ecf8ec49890883ed.tar.gz
kcpuload-782fedd71db076f5f27e4d61ecf8ec49890883ed.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 'src')
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 94931f2..023e43f 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kcpuload" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kcpuload.desktop/"
+ SOURCES kcpuload.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2166732..23e9fa5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,6 +40,4 @@ tde_install_icons( kcpuload )
##### other data
-install( FILES kcpuload.desktop
- DESTINATION ${APPS_INSTALL_DIR}/System
-)
+tde_create_translated_desktop( kcpuload.desktop )