summaryrefslogtreecommitdiffstats
path: root/colorscheme
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-10-03 21:07:54 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-10-03 21:12:20 +0300
commitd0a6c1e24fd4c4d60f555f9e78ba5171c104ca46 (patch)
tree6e5f2ffc7a61d5752698c84d681243e13325e51d /colorscheme
parentede092a04246412dbf766a71c1e34c120273c7c3 (diff)
downloadtwin-style-mallory-d0a6c1e24fd4c4d60f555f9e78ba5171c104ca46.tar.gz
twin-style-mallory-d0a6c1e24fd4c4d60f555f9e78ba5171c104ca46.zip
Add translations
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'colorscheme')
-rw-r--r--colorscheme/CMakeL10n.txt12
-rw-r--r--colorscheme/CMakeLists.txt23
2 files changed, 25 insertions, 10 deletions
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