summaryrefslogtreecommitdiffstats
path: root/src/themes/MoodinKDE
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-03 02:39:22 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-03 02:39:22 +0200
commit460b0273772f313ff533ba655ccaa11cf7acef5c (patch)
tree9ee16960767f394dd426921f86ae1a710301772d /src/themes/MoodinKDE
parent51efb685369b4126eeb67225b7a775f9bc2ad66d (diff)
downloadksplash-engine-moodin-460b0273772f313ff533ba655ccaa11cf7acef5c.tar.gz
ksplash-engine-moodin-460b0273772f313ff533ba655ccaa11cf7acef5c.zip
Add the ability to translate:
+ Catalog for strings in the plugin. + Desktop file translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/themes/MoodinKDE')
-rw-r--r--src/themes/MoodinKDE/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
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
+)