summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-11-22 18:25:15 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-11-22 18:25:15 +0100
commit2d9b0ded005bad305657fdc3aa2d85f8dd189ca1 (patch)
tree5e36414e2962f5f30d06d5c961aa5ddcea689661 /template
parent852809107b028f5333c07fc1dec6faecddf67977 (diff)
downloadtde-i18n-2d9b0ded005bad305657fdc3aa2d85f8dd189ca1.tar.gz
tde-i18n-2d9b0ded005bad305657fdc3aa2d85f8dd189ca1.zip
Add translation of entry.desktop files.
Note: For systems and distributions where individual language directories are unpacked for building, you need to add an unpacking for the 'translations' directory in addition to other common directories. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'template')
-rw-r--r--template/commonCMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/commonCMakeLists.txt b/template/commonCMakeLists.txt
index b6d273ad114..6f4d4cc314f 100644
--- a/template/commonCMakeLists.txt
+++ b/template/commonCMakeLists.txt
@@ -145,6 +145,7 @@ if( BUILD_MESSAGES )
tde_create_translated_desktop(
SOURCE messages/entry.desktop
DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}
+ PO_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../translations/desktop_files/entry.desktop
)
endif()
if( locale_base_files )