summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ark/CMakeLists.txt4
-rw-r--r--kdf/CMakeLists.txt10
-rw-r--r--kfloppy/CMakeLists.txt4
-rw-r--r--kgpg/CMakeLists.txt14
-rw-r--r--khexedit/CMakeLists.txt2
-rw-r--r--khexedit/parts/kbytesedit/CMakeLists.txt2
-rw-r--r--khexedit/parts/kpart/CMakeLists.txt2
-rw-r--r--klaptopdaemon/applnk/CMakeLists.txt12
-rw-r--r--kmilo/asus/CMakeLists.txt2
-rw-r--r--kmilo/delli8k/CMakeLists.txt2
-rw-r--r--kmilo/demo/CMakeLists.txt2
-rw-r--r--kmilo/generic/CMakeLists.txt2
-rw-r--r--kmilo/kmilo_kvaio/CMakeLists.txt2
-rw-r--r--kmilo/kmilo_kvaio/kcmkvaio/CMakeLists.txt2
-rw-r--r--kmilo/kmilod/CMakeLists.txt4
-rw-r--r--kmilo/powerbook/CMakeLists.txt2
-rw-r--r--kmilo/powerbook2/CMakeLists.txt2
-rw-r--r--kmilo/thinkpad/CMakeLists.txt2
-rw-r--r--kmilo/thinkpad/kcmthinkpad/CMakeLists.txt2
-rw-r--r--kregexpeditor/CMakeLists.txt4
-rw-r--r--ksim/CMakeLists.txt2
-rw-r--r--ksim/monitors/cpu/CMakeLists.txt2
-rw-r--r--ksim/monitors/disk/CMakeLists.txt2
-rw-r--r--ksim/monitors/filesystem/CMakeLists.txt2
-rw-r--r--ksim/monitors/i8k/CMakeLists.txt2
-rw-r--r--ksim/monitors/lm_sensors/CMakeLists.txt2
-rw-r--r--ksim/monitors/mail/CMakeLists.txt2
-rw-r--r--ksim/monitors/net/CMakeLists.txt2
-rw-r--r--ksim/monitors/snmp/CMakeLists.txt2
-rw-r--r--superkaramba/mimetypes/CMakeLists.txt2
-rw-r--r--superkaramba/src/CMakeLists.txt2
-rw-r--r--tdefilereplace/CMakeLists.txt4
-rw-r--r--tdelirc/irkick/CMakeLists.txt2
-rw-r--r--tdelirc/kcmlirc/CMakeLists.txt2
-rw-r--r--tdewallet/CMakeLists.txt10
-rw-r--r--tdewallet/konfigurator/CMakeLists.txt14
36 files changed, 61 insertions, 71 deletions
diff --git a/ark/CMakeLists.txt b/ark/CMakeLists.txt
index 987ab1c..e275373 100644
--- a/ark/CMakeLists.txt
+++ b/ark/CMakeLists.txt
@@ -69,13 +69,13 @@ install( FILES arkui.rc ark_part.rc
tde_create_translated_desktop(
SOURCE ark.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ark-desktops
+ PO_DIR ark-desktops
)
tde_create_translated_desktop(
SOURCE ark_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ark-desktops
+ PO_DIR ark-desktops
)
install( FILES ark.kcfg
diff --git a/kdf/CMakeLists.txt b/kdf/CMakeLists.txt
index 723b9d8..dc67af4 100644
--- a/kdf/CMakeLists.txt
+++ b/kdf/CMakeLists.txt
@@ -67,9 +67,7 @@ install( FILES kdfui.rc
DESTINATION ${DATA_INSTALL_DIR}/kdf
)
-foreach( _desktop kdf.desktop kwikdisk.desktop kcmdf.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kdf-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kdf.desktop kwikdisk.desktop kcmdf.desktop
+ PO_DIR kdf-desktops
+)
diff --git a/kfloppy/CMakeLists.txt b/kfloppy/CMakeLists.txt
index 8100afc..f9c0209 100644
--- a/kfloppy/CMakeLists.txt
+++ b/kfloppy/CMakeLists.txt
@@ -40,11 +40,11 @@ tde_install_icons( kfloppy)
tde_create_translated_desktop(
SOURCE KFloppy.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfloppy-desktops
+ PO_DIR kfloppy-desktops
)
tde_create_translated_desktop(
SOURCE floppy_format.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfloppy-desktops
+ PO_DIR kfloppy-desktops
)
diff --git a/kgpg/CMakeLists.txt b/kgpg/CMakeLists.txt
index ef72aab..7f6540b 100644
--- a/kgpg/CMakeLists.txt
+++ b/kgpg/CMakeLists.txt
@@ -59,7 +59,7 @@ install( FILES kgpg_anim.gif kgpg_docked.png
tde_create_translated_desktop(
SOURCE kgpg.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops
+ PO_DIR kgpg-desktops
)
install(
@@ -71,13 +71,11 @@ install( FILES kgpg.rc listkeys.rc tips
DESTINATION ${DATA_INSTALL_DIR}/kgpg
)
-foreach( _desktop encryptfile.desktop encryptfolder.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE encryptfile.desktop encryptfolder.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR kgpg-desktops
+)
install( FILES kgpg.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
diff --git a/khexedit/CMakeLists.txt b/khexedit/CMakeLists.txt
index 661218b..12d3b46 100644
--- a/khexedit/CMakeLists.txt
+++ b/khexedit/CMakeLists.txt
@@ -57,5 +57,5 @@ install( FILES khexeditui.rc
tde_create_translated_desktop(
SOURCE khexedit.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/khexedit-desktops
+ PO_DIR khexedit-desktops
)
diff --git a/khexedit/parts/kbytesedit/CMakeLists.txt b/khexedit/parts/kbytesedit/CMakeLists.txt
index 82ef357..fcc5b61 100644
--- a/khexedit/parts/kbytesedit/CMakeLists.txt
+++ b/khexedit/parts/kbytesedit/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( libkbyteseditwidget AUTOMOC
tde_create_translated_desktop(
SOURCE kbyteseditwidget.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/khexdedit-desktops
+ PO_DIR khexdedit-desktops
)
diff --git a/khexedit/parts/kpart/CMakeLists.txt b/khexedit/parts/kpart/CMakeLists.txt
index 11217e4..e82a98d 100644
--- a/khexedit/parts/kpart/CMakeLists.txt
+++ b/khexedit/parts/kpart/CMakeLists.txt
@@ -39,7 +39,7 @@ tde_add_kpart( libkhexedit2part AUTOMOC
tde_create_translated_desktop(
SOURCE khexedit2part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/khexedit-desktops
+ PO_DIR khexedit-desktops
)
install( FILES khexedit2partui.rc
diff --git a/klaptopdaemon/applnk/CMakeLists.txt b/klaptopdaemon/applnk/CMakeLists.txt
index 095cd06..e5c8003 100644
--- a/klaptopdaemon/applnk/CMakeLists.txt
+++ b/klaptopdaemon/applnk/CMakeLists.txt
@@ -9,15 +9,13 @@
#
#################################################
-foreach( _desktop laptop.desktop pcmcia.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE laptop.desktop pcmcia.desktop
+ PO_DIR klaptopdaemon-desktops
+)
tde_create_translated_desktop(
SOURCE klaptopdaemon.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops
+ PO_DIR klaptopdaemon-desktops
)
diff --git a/kmilo/asus/CMakeLists.txt b/kmilo/asus/CMakeLists.txt
index a0c0dfa..6c4bc70 100644
--- a/kmilo/asus/CMakeLists.txt
+++ b/kmilo/asus/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kmilo_asus AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_asus.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/delli8k/CMakeLists.txt b/kmilo/delli8k/CMakeLists.txt
index e8655e7..29cd516 100644
--- a/kmilo/delli8k/CMakeLists.txt
+++ b/kmilo/delli8k/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kmilo_delli8k AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_delli8k.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/demo/CMakeLists.txt b/kmilo/demo/CMakeLists.txt
index a5ec42d..d5738c3 100644
--- a/kmilo/demo/CMakeLists.txt
+++ b/kmilo/demo/CMakeLists.txt
@@ -36,5 +36,5 @@ tde_add_kpart( kmilo_demo AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_demo.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/generic/CMakeLists.txt b/kmilo/generic/CMakeLists.txt
index 6ee0492..a515424 100644
--- a/kmilo/generic/CMakeLists.txt
+++ b/kmilo/generic/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kmilo_generic AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_generic.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/kmilo_kvaio/CMakeLists.txt b/kmilo/kmilo_kvaio/CMakeLists.txt
index 8a6c5b7..543fc4e 100644
--- a/kmilo/kmilo_kvaio/CMakeLists.txt
+++ b/kmilo/kmilo_kvaio/CMakeLists.txt
@@ -48,5 +48,5 @@ tde_add_kpart( kmilo_kvaio AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_kvaio.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/kmilo_kvaio/kcmkvaio/CMakeLists.txt b/kmilo/kmilo_kvaio/kcmkvaio/CMakeLists.txt
index 3291ede..ae71b8a 100644
--- a/kmilo/kmilo_kvaio/kcmkvaio/CMakeLists.txt
+++ b/kmilo/kmilo_kvaio/kcmkvaio/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kcm_kvaio AUTOMOC
tde_create_translated_desktop(
SOURCE kvaio.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/kmilod/CMakeLists.txt b/kmilo/kmilod/CMakeLists.txt
index 2bce8c2..f7a1921 100644
--- a/kmilo/kmilod/CMakeLists.txt
+++ b/kmilo/kmilod/CMakeLists.txt
@@ -47,11 +47,11 @@ tde_add_kpart( kded_kmilod AUTOMOC
tde_create_translated_desktop(
SOURCE kmilod.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
tde_create_translated_desktop(
SOURCE kmilopluginsvc.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/powerbook/CMakeLists.txt b/kmilo/powerbook/CMakeLists.txt
index 2cd68f5..b25a900 100644
--- a/kmilo/powerbook/CMakeLists.txt
+++ b/kmilo/powerbook/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kmilo_powerbook AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_powerbook.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/powerbook2/CMakeLists.txt b/kmilo/powerbook2/CMakeLists.txt
index 2cd68f5..b25a900 100644
--- a/kmilo/powerbook2/CMakeLists.txt
+++ b/kmilo/powerbook2/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kmilo_powerbook AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_powerbook.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/thinkpad/CMakeLists.txt b/kmilo/thinkpad/CMakeLists.txt
index 95c5927..148d03b 100644
--- a/kmilo/thinkpad/CMakeLists.txt
+++ b/kmilo/thinkpad/CMakeLists.txt
@@ -40,5 +40,5 @@ tde_add_kpart( kmilo_thinkpad AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_thinkpad.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt b/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
index c3568f2..d550a6c 100644
--- a/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
+++ b/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( kcm_thinkpad AUTOMOC
tde_create_translated_desktop(
SOURCE thinkpad.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kregexpeditor/CMakeLists.txt b/kregexpeditor/CMakeLists.txt
index a6aea36..944b6b0 100644
--- a/kregexpeditor/CMakeLists.txt
+++ b/kregexpeditor/CMakeLists.txt
@@ -102,11 +102,11 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE kregexpeditor.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kregexpeditor-desktops
+ PO_DIR kregexpeditor-desktops
)
tde_create_translated_desktop(
SOURCE kregexpeditorgui.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kregexpeditor-desktops
+ PO_DIR kregexpeditor-desktops
)
diff --git a/ksim/CMakeLists.txt b/ksim/CMakeLists.txt
index 20fc59e..e6dbfa7 100644
--- a/ksim/CMakeLists.txt
+++ b/ksim/CMakeLists.txt
@@ -53,7 +53,7 @@ tde_add_kpart( ksim_panelextension AUTOMOC
tde_create_translated_desktop(
SOURCE ksim.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
install( FILES ksim_panelextensionrc
diff --git a/ksim/monitors/cpu/CMakeLists.txt b/ksim/monitors/cpu/CMakeLists.txt
index 73b8b38..7cd6889 100644
--- a/ksim/monitors/cpu/CMakeLists.txt
+++ b/ksim/monitors/cpu/CMakeLists.txt
@@ -43,5 +43,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE cpu.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/disk/CMakeLists.txt b/ksim/monitors/disk/CMakeLists.txt
index d4c0f09..ebd30a8 100644
--- a/ksim/monitors/disk/CMakeLists.txt
+++ b/ksim/monitors/disk/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( ksim_disk AUTOMOC
tde_create_translated_desktop(
SOURCE disk.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/filesystem/CMakeLists.txt b/ksim/monitors/filesystem/CMakeLists.txt
index 994436d..bcb591e 100644
--- a/ksim/monitors/filesystem/CMakeLists.txt
+++ b/ksim/monitors/filesystem/CMakeLists.txt
@@ -40,5 +40,5 @@ tde_add_kpart( ksim_filesystem AUTOMOC
tde_create_translated_desktop(
SOURCE DFree.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/i8k/CMakeLists.txt b/ksim/monitors/i8k/CMakeLists.txt
index 5221ab7..1afc456 100644
--- a/ksim/monitors/i8k/CMakeLists.txt
+++ b/ksim/monitors/i8k/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( ksim_i8k AUTOMOC
tde_create_translated_desktop(
SOURCE i8k.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/lm_sensors/CMakeLists.txt b/ksim/monitors/lm_sensors/CMakeLists.txt
index b76716d..67b670e 100644
--- a/ksim/monitors/lm_sensors/CMakeLists.txt
+++ b/ksim/monitors/lm_sensors/CMakeLists.txt
@@ -46,5 +46,5 @@ tde_add_kpart( ksim_sensors AUTOMOC
tde_create_translated_desktop(
SOURCE Lm_sensors.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/mail/CMakeLists.txt b/ksim/monitors/mail/CMakeLists.txt
index d38a4f4..bfc9264 100644
--- a/ksim/monitors/mail/CMakeLists.txt
+++ b/ksim/monitors/mail/CMakeLists.txt
@@ -36,5 +36,5 @@ tde_add_kpart( ksim_mail AUTOMOC
tde_create_translated_desktop(
SOURCE mail.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/net/CMakeLists.txt b/ksim/monitors/net/CMakeLists.txt
index 06db8fd..807121a 100644
--- a/ksim/monitors/net/CMakeLists.txt
+++ b/ksim/monitors/net/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( ksim_net AUTOMOC
tde_create_translated_desktop(
SOURCE Net.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/snmp/CMakeLists.txt b/ksim/monitors/snmp/CMakeLists.txt
index 62fba63..82acc95 100644
--- a/ksim/monitors/snmp/CMakeLists.txt
+++ b/ksim/monitors/snmp/CMakeLists.txt
@@ -48,5 +48,5 @@ tde_add_kpart( ksim_snmp AUTOMOC
tde_create_translated_desktop(
SOURCE Snmp.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/superkaramba/mimetypes/CMakeLists.txt b/superkaramba/mimetypes/CMakeLists.txt
index ae80ae6..894cfb1 100644
--- a/superkaramba/mimetypes/CMakeLists.txt
+++ b/superkaramba/mimetypes/CMakeLists.txt
@@ -12,5 +12,5 @@
tde_create_translated_desktop(
SOURCE x-superkaramba.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/superkaramba-desktops
+ PO_DIR superkaramba-desktops
)
diff --git a/superkaramba/src/CMakeLists.txt b/superkaramba/src/CMakeLists.txt
index 150aaae..211ee0c 100644
--- a/superkaramba/src/CMakeLists.txt
+++ b/superkaramba/src/CMakeLists.txt
@@ -69,5 +69,5 @@ install( FILES superkarambaui.rc
tde_create_translated_desktop(
SOURCE superkaramba.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/superkaramba-desktops
+ PO_DIR superkaramba-desktops
)
diff --git a/tdefilereplace/CMakeLists.txt b/tdefilereplace/CMakeLists.txt
index 15c70a1..c608a3c 100644
--- a/tdefilereplace/CMakeLists.txt
+++ b/tdefilereplace/CMakeLists.txt
@@ -28,12 +28,12 @@ link_directories(
tde_install_icons( )
tde_create_translated_desktop(
SOURCE tdefilereplace.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefilereplace-desktops
+ PO_DIR tdefilereplace-desktops
)
tde_create_translated_desktop(
SOURCE tdefilereplacepart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefilereplace-desktops
+ PO_DIR tdefilereplace-desktops
)
install( FILES tdefilereplacepartui.rc DESTINATION ${DATA_INSTALL_DIR}/tdefilereplacepart )
install( FILES tdefilereplaceui.rc DESTINATION ${DATA_INSTALL_DIR}/tdefilereplace )
diff --git a/tdelirc/irkick/CMakeLists.txt b/tdelirc/irkick/CMakeLists.txt
index 79b74d2..81b4830 100644
--- a/tdelirc/irkick/CMakeLists.txt
+++ b/tdelirc/irkick/CMakeLists.txt
@@ -52,7 +52,7 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE irkick.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdelirc-desktops
+ PO_DIR tdelirc-desktops
)
install(
diff --git a/tdelirc/kcmlirc/CMakeLists.txt b/tdelirc/kcmlirc/CMakeLists.txt
index 4524bcc..2798fb1 100644
--- a/tdelirc/kcmlirc/CMakeLists.txt
+++ b/tdelirc/kcmlirc/CMakeLists.txt
@@ -44,5 +44,5 @@ tde_add_kpart( kcm_kcmlirc AUTOMOC
tde_create_translated_desktop(
SOURCE kcmlirc.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdelirc-desktops
+ PO_DIR tdelirc-desktops
)
diff --git a/tdewallet/CMakeLists.txt b/tdewallet/CMakeLists.txt
index 659d654..ed42c23 100644
--- a/tdewallet/CMakeLists.txt
+++ b/tdewallet/CMakeLists.txt
@@ -48,9 +48,7 @@ install( FILES tdewalletmanager.rc tdewalleteditor.rc
DESTINATION ${DATA_INSTALL_DIR}/tdewalletmanager
)
-foreach( _desktop tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop
+ PO_DIR tdewallet-desktops
+)
diff --git a/tdewallet/konfigurator/CMakeLists.txt b/tdewallet/konfigurator/CMakeLists.txt
index b640df8..53f6cb9 100644
--- a/tdewallet/konfigurator/CMakeLists.txt
+++ b/tdewallet/konfigurator/CMakeLists.txt
@@ -35,13 +35,11 @@ tde_add_kpart( kcm_tdewallet AUTOMOC
tde_create_translated_desktop(
SOURCE tdewalletconfig.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops
+ PO_DIR tdewallet-desktops
)
-foreach( _desktop tdewallet_config.desktop tdewalletmanager_show.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tdewallet_config.desktop tdewalletmanager_show.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdewallet-desktops
+)