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 534dd67805)
r14.0.x
Slávek Banko 4 years ago
parent 075b57f178
commit e4f276276f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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
)

@ -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
)

@ -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
)

@ -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

@ -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
)

@ -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()

@ -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
)

@ -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

@ -38,4 +38,5 @@ install(
tde_create_translated_desktop(
SOURCE tdetexteditor_kttsd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

@ -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
)

@ -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(

@ -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
)

@ -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(

@ -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(

@ -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
)

@ -49,4 +49,5 @@ install(
tde_create_translated_desktop(
SOURCE kttsd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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(

@ -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
)

@ -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
)

@ -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(

Loading…
Cancel
Save