diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-10 21:25:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 15:23:06 +0200 |
commit | 87f08539f4780f52819ddb9e7d291decbc14fa6f (patch) | |
tree | 902840117702b8d2c955b33f0402e0df6446a22c /knetwalk/src/CMakeL10n.txt | |
parent | bd46b20a12f3634ad167206c497bb9a050ac533c (diff) | |
download | tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.tar.gz tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.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 <slavek.banko@axis.cz>
(cherry picked from commit a25cdc59c6302046b3121276f5a33f6b1b55a538)
Diffstat (limited to 'knetwalk/src/CMakeL10n.txt')
-rw-r--r-- | knetwalk/src/CMakeL10n.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/knetwalk/src/CMakeL10n.txt b/knetwalk/src/CMakeL10n.txt index e81a925d..5e9dc710 100644 --- a/knetwalk/src/CMakeL10n.txt +++ b/knetwalk/src/CMakeL10n.txt @@ -1,3 +1,15 @@ ##### create translation templates ############## tde_l10n_create_template( "knetwalk" ) + +tde_l10n_create_template( + CATALOG "desktop_files/knetwalk.desktop/" + SOURCES knetwalk.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) + +tde_l10n_create_template( + CATALOG "desktop_files/knetwalk-eventsrc/" + SOURCES_DESKTOP eventsrc + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) |