summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-05-05 19:08:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-05-05 19:08:01 +0200
commit534dd67805952b297fae3e6f358eeeba1982a6b5 (patch)
treedf04ae66af67cf03fd9139b5736de3d14777cbe9
parent637b8632f44459d64a1e688205f68cd1f38ad587 (diff)
downloadtdeaccessibility-534dd67805952b297fae3e6f358eeeba1982a6b5.tar.gz
tdeaccessibility-534dd67805952b297fae3e6f358eeeba1982a6b5.zip
Add PO_DIR option to properly merge translations into desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--IconThemes/CMakeLists.txt5
-rw-r--r--kbstateapplet/CMakeLists.txt1
-rw-r--r--kmag/CMakeLists.txt5
-rw-r--r--kmousetool/kmousetool/CMakeLists.txt5
-rw-r--r--kmouth/CMakeLists.txt5
-rw-r--r--kmouth/books/CMakeLists.txt1
-rw-r--r--ksayit/Freeverb_plugin/CMakeLists.txt2
-rw-r--r--ksayit/src/CMakeLists.txt5
-rw-r--r--kttsd/app-plugins/kate/CMakeLists.txt1
-rw-r--r--kttsd/filters/CMakeLists.txt1
-rw-r--r--kttsd/filters/sbd/CMakeLists.txt1
-rw-r--r--kttsd/filters/stringreplacer/CMakeLists.txt1
-rw-r--r--kttsd/filters/talkerchooser/CMakeLists.txt1
-rw-r--r--kttsd/filters/xmltransformer/CMakeLists.txt1
-rw-r--r--kttsd/kcmkttsmgr/CMakeLists.txt6
-rw-r--r--kttsd/kttsd/CMakeLists.txt1
-rw-r--r--kttsd/kttsjobmgr/CMakeLists.txt1
-rw-r--r--kttsd/kttsmgr/CMakeLists.txt5
-rw-r--r--kttsd/libkttsd/CMakeLists.txt1
-rw-r--r--kttsd/players/CMakeLists.txt1
-rw-r--r--kttsd/players/akodeplayer/CMakeLists.txt1
-rw-r--r--kttsd/players/alsaplayer/CMakeLists.txt1
-rw-r--r--kttsd/players/artsplayer/CMakeLists.txt1
-rw-r--r--kttsd/players/gstplayer/CMakeLists.txt1
-rw-r--r--kttsd/plugins/command/CMakeLists.txt1
-rw-r--r--kttsd/plugins/epos/CMakeLists.txt1
-rw-r--r--kttsd/plugins/festivalint/CMakeLists.txt1
-rw-r--r--kttsd/plugins/flite/CMakeLists.txt1
-rw-r--r--kttsd/plugins/freetts/CMakeLists.txt1
-rw-r--r--kttsd/plugins/hadifix/CMakeLists.txt1
30 files changed, 52 insertions, 8 deletions
diff --git a/IconThemes/CMakeLists.txt b/IconThemes/CMakeLists.txt
index d61fe55..898d91b 100644
--- a/IconThemes/CMakeLists.txt
+++ b/IconThemes/CMakeLists.txt
@@ -1,8 +1,9 @@
##### index theme
-install(
- FILES mono/index.theme
+tde_create_translated_desktop(
+ SOURCE mono/index.theme
DESTINATION ${ICON_INSTALL_DIR}/mono
+ PO_DIR icon-themes
)
diff --git a/kbstateapplet/CMakeLists.txt b/kbstateapplet/CMakeLists.txt
index 75cde10..a0ba809 100644
--- a/kbstateapplet/CMakeLists.txt
+++ b/kbstateapplet/CMakeLists.txt
@@ -35,4 +35,5 @@ tde_add_kpart( kbstate_panelapplet MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE kbstateapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+ PO_DIR kbstateapplet-desktops
)
diff --git a/kmag/CMakeLists.txt b/kmag/CMakeLists.txt
index 70fccec..4203949 100644
--- a/kmag/CMakeLists.txt
+++ b/kmag/CMakeLists.txt
@@ -46,4 +46,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kmag
)
-tde_create_translated_desktop( kmag.desktop )
+tde_create_translated_desktop(
+ SOURCE kmag.desktop
+ PO_DIR kmag-desktops
+)
diff --git a/kmousetool/kmousetool/CMakeLists.txt b/kmousetool/kmousetool/CMakeLists.txt
index 7b7df2d..1b3ca41 100644
--- a/kmousetool/kmousetool/CMakeLists.txt
+++ b/kmousetool/kmousetool/CMakeLists.txt
@@ -39,7 +39,10 @@ tde_add_executable( kmousetool AUTOMOC
##### other data
-tde_create_translated_desktop( kmousetool.desktop )
+tde_create_translated_desktop(
+ SOURCE kmousetool.desktop
+ PO_DIR kmousetool-desktops
+)
install(
FILES mousetool_tap.wav
diff --git a/kmouth/CMakeLists.txt b/kmouth/CMakeLists.txt
index 9fec611..ad050ca 100644
--- a/kmouth/CMakeLists.txt
+++ b/kmouth/CMakeLists.txt
@@ -60,4 +60,7 @@ install(
DESTINATION ${CONFIG_INSTALL_DIR}
)
-tde_create_translated_desktop( kmouth.desktop )
+tde_create_translated_desktop(
+ SOURCE kmouth.desktop
+ PO_DIR kmouth-desktops
+)
diff --git a/kmouth/books/CMakeLists.txt b/kmouth/books/CMakeLists.txt
index 282dcb3..0b09e0f 100644
--- a/kmouth/books/CMakeLists.txt
+++ b/kmouth/books/CMakeLists.txt
@@ -14,5 +14,6 @@ foreach( _lang de en nl sv )
tde_create_translated_desktop(
SOURCE ${_lang}.desktop
DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/${_lang}
+ PO_DIR kmouth-desktops
)
endforeach()
diff --git a/ksayit/Freeverb_plugin/CMakeLists.txt b/ksayit/Freeverb_plugin/CMakeLists.txt
index c705217..ed4a7cd 100644
--- a/ksayit/Freeverb_plugin/CMakeLists.txt
+++ b/ksayit/Freeverb_plugin/CMakeLists.txt
@@ -36,9 +36,11 @@ tde_add_library( libFreeverb_plugin MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE ksayit_libFreeverb_service.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR ksayit-desktops
)
tde_create_translated_desktop(
SOURCE ksayit_libFreeverb.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ksayit-desktops
)
diff --git a/ksayit/src/CMakeLists.txt b/ksayit/src/CMakeLists.txt
index bcb44fb..ecbaca8 100644
--- a/ksayit/src/CMakeLists.txt
+++ b/ksayit/src/CMakeLists.txt
@@ -62,7 +62,10 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/ksayit
)
-tde_create_translated_desktop( ksayit.desktop )
+tde_create_translated_desktop(
+ SOURCE ksayit.desktop
+ PO_DIR ksayit-desktops
+)
install(
FILES ksayit_fxplugin.h
diff --git a/kttsd/app-plugins/kate/CMakeLists.txt b/kttsd/app-plugins/kate/CMakeLists.txt
index ac7f001..9ee1769 100644
--- a/kttsd/app-plugins/kate/CMakeLists.txt
+++ b/kttsd/app-plugins/kate/CMakeLists.txt
@@ -38,4 +38,5 @@ install(
tde_create_translated_desktop(
SOURCE tdetexteditor_kttsd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/filters/CMakeLists.txt b/kttsd/filters/CMakeLists.txt
index 719a243..e604c93 100644
--- a/kttsd/filters/CMakeLists.txt
+++ b/kttsd/filters/CMakeLists.txt
@@ -38,4 +38,5 @@ tde_add_check_executable( testfilter AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_filterplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/filters/sbd/CMakeLists.txt b/kttsd/filters/sbd/CMakeLists.txt
index d81162c..0132026 100644
--- a/kttsd/filters/sbd/CMakeLists.txt
+++ b/kttsd/filters/sbd/CMakeLists.txt
@@ -35,6 +35,7 @@ tde_add_kpart( libkttsd_sbdplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_sbdplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
install(
diff --git a/kttsd/filters/stringreplacer/CMakeLists.txt b/kttsd/filters/stringreplacer/CMakeLists.txt
index 1b9d5f9..e295940 100644
--- a/kttsd/filters/stringreplacer/CMakeLists.txt
+++ b/kttsd/filters/stringreplacer/CMakeLists.txt
@@ -36,6 +36,7 @@ tde_add_kpart( libkttsd_stringreplacerplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_stringreplacerplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/filters/talkerchooser/CMakeLists.txt b/kttsd/filters/talkerchooser/CMakeLists.txt
index 701efec..14b1130 100644
--- a/kttsd/filters/talkerchooser/CMakeLists.txt
+++ b/kttsd/filters/talkerchooser/CMakeLists.txt
@@ -36,6 +36,7 @@ tde_add_kpart( libkttsd_talkerchooserplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_talkerchooserplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
install(
diff --git a/kttsd/filters/xmltransformer/CMakeLists.txt b/kttsd/filters/xmltransformer/CMakeLists.txt
index 50eedce..bd9ba6d 100644
--- a/kttsd/filters/xmltransformer/CMakeLists.txt
+++ b/kttsd/filters/xmltransformer/CMakeLists.txt
@@ -35,6 +35,7 @@ tde_add_kpart( libkttsd_xmltransformerplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_xmltransformerplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
install(
diff --git a/kttsd/kcmkttsmgr/CMakeLists.txt b/kttsd/kcmkttsmgr/CMakeLists.txt
index 9a95476..6c52766 100644
--- a/kttsd/kcmkttsmgr/CMakeLists.txt
+++ b/kttsd/kcmkttsmgr/CMakeLists.txt
@@ -41,6 +41,10 @@ tde_add_kpart( kcm_kttsd MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE kcmkttsd_testmessage.desktop
DESTINATION ${DATA_INSTALL_DIR}/kttsd
+ PO_DIR kttsd-desktops
)
-tde_create_translated_desktop( kcmkttsd.desktop )
+tde_create_translated_desktop(
+ SOURCE kcmkttsd.desktop
+ PO_DIR kttsd-desktops
+)
diff --git a/kttsd/kttsd/CMakeLists.txt b/kttsd/kttsd/CMakeLists.txt
index 76695bf..a4d6a1c 100644
--- a/kttsd/kttsd/CMakeLists.txt
+++ b/kttsd/kttsd/CMakeLists.txt
@@ -49,4 +49,5 @@ install(
tde_create_translated_desktop(
SOURCE kttsd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/kttsjobmgr/CMakeLists.txt b/kttsd/kttsjobmgr/CMakeLists.txt
index b88a3a2..963fcb7 100644
--- a/kttsd/kttsjobmgr/CMakeLists.txt
+++ b/kttsd/kttsjobmgr/CMakeLists.txt
@@ -37,4 +37,5 @@ tde_add_kpart( libkttsjobmgrpart MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE kttsjobmgr.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/kttsmgr/CMakeLists.txt b/kttsd/kttsmgr/CMakeLists.txt
index 0700094..2376181 100644
--- a/kttsd/kttsmgr/CMakeLists.txt
+++ b/kttsd/kttsmgr/CMakeLists.txt
@@ -33,4 +33,7 @@ tde_add_executable( kttsmgr AUTOMOC
##### other data
-tde_create_translated_desktop( kttsmgr.desktop )
+tde_create_translated_desktop(
+ SOURCE kttsmgr.desktop
+ PO_DIR kttsd-desktops
+)
diff --git a/kttsd/libkttsd/CMakeLists.txt b/kttsd/libkttsd/CMakeLists.txt
index 106e2fd..ae5c19c 100644
--- a/kttsd/libkttsd/CMakeLists.txt
+++ b/kttsd/libkttsd/CMakeLists.txt
@@ -44,4 +44,5 @@ tde_add_library( kttsd SHARED AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_synthplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/players/CMakeLists.txt b/kttsd/players/CMakeLists.txt
index 12cabb0..4e19371 100644
--- a/kttsd/players/CMakeLists.txt
+++ b/kttsd/players/CMakeLists.txt
@@ -9,4 +9,5 @@ tde_conditional_add_subdirectory( WITH_GSTREAMER gstplayer )
tde_create_translated_desktop(
SOURCE kttsd_audioplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/players/akodeplayer/CMakeLists.txt b/kttsd/players/akodeplayer/CMakeLists.txt
index f8a03f7..b2de63c 100644
--- a/kttsd/players/akodeplayer/CMakeLists.txt
+++ b/kttsd/players/akodeplayer/CMakeLists.txt
@@ -34,4 +34,5 @@ tde_add_kpart( libkttsd_akodeplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_akodeplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/players/alsaplayer/CMakeLists.txt b/kttsd/players/alsaplayer/CMakeLists.txt
index 155024f..e81f2c6 100644
--- a/kttsd/players/alsaplayer/CMakeLists.txt
+++ b/kttsd/players/alsaplayer/CMakeLists.txt
@@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_alsaplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_alsaplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/players/artsplayer/CMakeLists.txt b/kttsd/players/artsplayer/CMakeLists.txt
index 427f970..2608042 100644
--- a/kttsd/players/artsplayer/CMakeLists.txt
+++ b/kttsd/players/artsplayer/CMakeLists.txt
@@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_artsplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_artsplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/players/gstplayer/CMakeLists.txt b/kttsd/players/gstplayer/CMakeLists.txt
index 1aa4e64..c516466 100644
--- a/kttsd/players/gstplayer/CMakeLists.txt
+++ b/kttsd/players/gstplayer/CMakeLists.txt
@@ -36,4 +36,5 @@ tde_add_kpart( libkttsd_gstplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_gstplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/plugins/command/CMakeLists.txt b/kttsd/plugins/command/CMakeLists.txt
index bb16d23..6ecb4a6 100644
--- a/kttsd/plugins/command/CMakeLists.txt
+++ b/kttsd/plugins/command/CMakeLists.txt
@@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_commandplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_commandplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/plugins/epos/CMakeLists.txt b/kttsd/plugins/epos/CMakeLists.txt
index 7111386..6e79bca 100644
--- a/kttsd/plugins/epos/CMakeLists.txt
+++ b/kttsd/plugins/epos/CMakeLists.txt
@@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_eposplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_eposplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/plugins/festivalint/CMakeLists.txt b/kttsd/plugins/festivalint/CMakeLists.txt
index 3243c05..3175fbe 100644
--- a/kttsd/plugins/festivalint/CMakeLists.txt
+++ b/kttsd/plugins/festivalint/CMakeLists.txt
@@ -35,6 +35,7 @@ tde_add_kpart( libkttsd_festivalintplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_festivalintplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
install(
diff --git a/kttsd/plugins/flite/CMakeLists.txt b/kttsd/plugins/flite/CMakeLists.txt
index 4c67af0..08c1573 100644
--- a/kttsd/plugins/flite/CMakeLists.txt
+++ b/kttsd/plugins/flite/CMakeLists.txt
@@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_fliteplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_fliteplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/plugins/freetts/CMakeLists.txt b/kttsd/plugins/freetts/CMakeLists.txt
index c98f2ec..eb17887 100644
--- a/kttsd/plugins/freetts/CMakeLists.txt
+++ b/kttsd/plugins/freetts/CMakeLists.txt
@@ -34,4 +34,5 @@ tde_add_kpart( libkttsd_freettsplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_freettsplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
diff --git a/kttsd/plugins/hadifix/CMakeLists.txt b/kttsd/plugins/hadifix/CMakeLists.txt
index 3372b5e..74398d5 100644
--- a/kttsd/plugins/hadifix/CMakeLists.txt
+++ b/kttsd/plugins/hadifix/CMakeLists.txt
@@ -37,6 +37,7 @@ tde_add_kpart( libkttsd_hadifixplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_hadifixplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
)
install(