From 782fedd71db076f5f27e4d61ecf8ec49890883ed Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sun, 29 Mar 2020 18:56:32 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/CMakeL10n.txt | 5 +++++ src/CMakeLists.txt | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src') 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 ) -- cgit v1.2.3