From 7c7c238be19c9d17b1182d0b0fad31479aa7f59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Jun 2020 14:54:26 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- IconThemes/CMakeL10n.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 IconThemes/CMakeL10n.txt (limited to 'IconThemes/CMakeL10n.txt') diff --git a/IconThemes/CMakeL10n.txt b/IconThemes/CMakeL10n.txt new file mode 100644 index 00000000..96779f55 --- /dev/null +++ b/IconThemes/CMakeL10n.txt @@ -0,0 +1,12 @@ +##### create translation templates ############## + +file( GLOB_RECURSE _themes + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/*.theme ) +list( SORT _themes ) + +tde_l10n_create_template( + CATALOG "desktop_files/icon-themes/" + SOURCES_DESKTOP ${_themes} + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) -- cgit v1.2.1