summaryrefslogtreecommitdiffstats
path: root/arts/builder/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-30 00:57:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-30 00:57:05 +0200
commitff3f2006ce72b2edabc534188a4ad006e89b4f84 (patch)
treec81f41ffa6e329ddadd048e07b553af2154f5e16 /arts/builder/CMakeLists.txt
parent9817ad52c6376ae54f5e4e4d11a31d958cc85faa (diff)
downloadtdemultimedia-ff3f2006ce72b2edabc534188a4ad006e89b4f84.tar.gz
tdemultimedia-ff3f2006ce72b2edabc534188a4ad006e89b4f84.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 'arts/builder/CMakeLists.txt')
-rw-r--r--arts/builder/CMakeLists.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/arts/builder/CMakeLists.txt b/arts/builder/CMakeLists.txt
index 9cb93b4c..2e350faa 100644
--- a/arts/builder/CMakeLists.txt
+++ b/arts/builder/CMakeLists.txt
@@ -54,6 +54,15 @@ add_custom_target(
##### other data ################################
-install( FILES artsbuilder.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES x-artsbuilder.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+tde_create_translated_desktop(
+ SOURCE artsbuilder.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE x-artsbuilder.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+)
+
install( FILES artsbuilderui.rc DESTINATION ${DATA_INSTALL_DIR}/artsbuilder )