summaryrefslogtreecommitdiffstats
path: root/cervisia/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-16 18:30:12 +0200
committerSlávek Banko <[email protected]>2020-07-17 02:50:29 +0200
commit7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch)
tree0192394f73f297cd56aa972df31bf8bfc07a71d3 /cervisia/CMakeL10n.txt
parent29e1ae5e34974950ff7965b1522db70b4ff273dc (diff)
downloadtdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz
tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'cervisia/CMakeL10n.txt')
-rw-r--r--cervisia/CMakeL10n.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/cervisia/CMakeL10n.txt b/cervisia/CMakeL10n.txt
index b914db0f..8c25f027 100644
--- a/cervisia/CMakeL10n.txt
+++ b/cervisia/CMakeL10n.txt
@@ -6,3 +6,15 @@ tde_l10n_create_template(
)
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/cervisia-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/cervisia-eventsrc/"
+ SOURCES eventsrc
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)