diff options
author | Slávek Banko <[email protected]> | 2020-06-10 21:25:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-12 14:19:33 +0200 |
commit | a25cdc59c6302046b3121276f5a33f6b1b55a538 (patch) | |
tree | 5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /kmines/CMakeL10n.txt | |
parent | dc556f3e9a46e749b36cf773f9211db4ce58d96b (diff) | |
download | tdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.tar.gz tdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.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 'kmines/CMakeL10n.txt')
-rw-r--r-- | kmines/CMakeL10n.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kmines/CMakeL10n.txt b/kmines/CMakeL10n.txt index 0fc268bb..59a7d1e5 100644 --- a/kmines/CMakeL10n.txt +++ b/kmines/CMakeL10n.txt @@ -1,3 +1,15 @@ ##### create translation templates ############## tde_l10n_create_template( "kmines" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kmines.desktop/" + SOURCES data/kmines.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) + +tde_l10n_create_template( + CATALOG "desktop_files/kmines-eventsrc/" + SOURCES_DESKTOP data/eventsrc + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) |