From 460b0273772f313ff533ba655ccaa11cf7acef5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 3 May 2020 02:39:22 +0200 Subject: Add the ability to translate: + Catalog for strings in the plugin. + Desktop file translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/themes/MoodinKDE/CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/themes/MoodinKDE') diff --git a/src/themes/MoodinKDE/CMakeLists.txt b/src/themes/MoodinKDE/CMakeLists.txt index d0fbb88..68afed2 100644 --- a/src/themes/MoodinKDE/CMakeLists.txt +++ b/src/themes/MoodinKDE/CMakeLists.txt @@ -1,4 +1,13 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png *.jpg ) + install( - FILES Background.jpg Preview.png Theme.rc + FILES ${_pics} DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/MoodinKDE ) + +tde_create_translated_desktop( + SOURCE Theme.rc + KEYWORDS Label1 Label2 Label3 Label4 Label5 + DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/MoodinKDE + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/themes +) -- cgit v1.2.1