From d0a6c1e24fd4c4d60f555f9e78ba5171c104ca46 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 3 Oct 2024 21:07:54 +0300 Subject: Add translations Signed-off-by: Mavridis Philippe --- colorscheme/CMakeL10n.txt | 12 ++++++++++++ colorscheme/CMakeLists.txt | 23 +++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 colorscheme/CMakeL10n.txt (limited to 'colorscheme') diff --git a/colorscheme/CMakeL10n.txt b/colorscheme/CMakeL10n.txt new file mode 100644 index 0000000..27a14e7 --- /dev/null +++ b/colorscheme/CMakeL10n.txt @@ -0,0 +1,12 @@ +################################################################################ +# twin-style-mallory # +# ------------------ # +# This file is licensed under the terms of GNU GPL v3 or later. # +# Improvements and feedback are welcome. # +################################################################################ + +### Translation templates ###################################################### +tde_l10n_create_template( + CATALOG "desktop_files/twin-style-mallory-colors" + SOURCES *.kcsrc +) \ No newline at end of file diff --git a/colorscheme/CMakeLists.txt b/colorscheme/CMakeLists.txt index d1988a9..2ff2531 100644 --- a/colorscheme/CMakeLists.txt +++ b/colorscheme/CMakeLists.txt @@ -6,13 +6,16 @@ ################################################################################ ### Data ####################################################################### -install( - FILES - Mallory-1.0-Caramel.kcsrc Mallory-1.0-Double.Blue.kcsrc - Mallory-1.0-Double.Grey.kcsrc Mallory-1.0-Flat.Blue.kcsrc - Mallory-1.0-Flat.Green.kcsrc Mallory-1.0-Flat.Grey.kcsrc - Mallory-1.0-Flat.Sands.kcsrc Mallory-1.0-Green.Halo.kcsrc - Mallory-1.0-It.s.A.Boy.kcsrc Mallory-1.0-It.s.A.Girl.kcsrc - Mallory-1.0-Nenuphars.kcsrc - DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes -) \ No newline at end of file +foreach(COLOR_SCHEME + Mallory-1.0-Caramel.kcsrc Mallory-1.0-Double.Blue.kcsrc + Mallory-1.0-Double.Grey.kcsrc Mallory-1.0-Flat.Blue.kcsrc + Mallory-1.0-Flat.Green.kcsrc Mallory-1.0-Flat.Grey.kcsrc + Mallory-1.0-Flat.Sands.kcsrc Mallory-1.0-Green.Halo.kcsrc + Mallory-1.0-It.s.A.Boy.kcsrc Mallory-1.0-It.s.A.Girl.kcsrc + Mallory-1.0-Nenuphars.kcsrc +) + tde_create_translated_desktop( + SOURCE ${COLOR_SCHEME}.kcsrc + DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes + ) +endforeach() \ No newline at end of file -- cgit v1.2.1