From 7ec815dc3c5ada144e1ce50c12b16ffaa224668f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 22 Nov 2020 18:25:15 +0100 Subject: Add translation of entry.desktop files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 2d9b0ded005bad305657fdc3aa2d85f8dd189ca1) --- template/commonCMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'template') diff --git a/template/commonCMakeLists.txt b/template/commonCMakeLists.txt index e5c97d8d9ab..36a72a15395 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 ) -- cgit v1.2.1