summaryrefslogtreecommitdiffstats
path: root/kttsd
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:24 +0200
commite4f276276f0a693abee462e0589d7bcdb70bd73e (patch)
tree2c05026872919204cd2f905d4b78bfbb7b143bde /kttsd
parent075b57f17891033ff43145c9be64370ef11d7437 (diff)
downloadtdeaccessibility-e4f276276f0a693abee462e0589d7bcdb70bd73e.tar.gz
tdeaccessibility-e4f276276f0a693abee462e0589d7bcdb70bd73e.zip
Add PO_DIR option to properly merge translations into desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 534dd67805952b297fae3e6f358eeeba1982a6b5)
Diffstat (limited to 'kttsd')
-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
22 files changed, 29 insertions, 2 deletions
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(