diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-11 14:54:26 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 14:21:08 +0200 |
commit | 7c7c238be19c9d17b1182d0b0fad31479aa7f59a (patch) | |
tree | dc86c967040e3d25bdabd4af40e606f2484930dc /IconThemes/CMakeL10n.txt | |
parent | 0dc9e3c5476898c5fd5308cbdd84755b7b6c1c23 (diff) | |
download | tdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.tar.gz tdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.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>
Diffstat (limited to 'IconThemes/CMakeL10n.txt')
-rw-r--r-- | IconThemes/CMakeL10n.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/IconThemes/CMakeL10n.txt b/IconThemes/CMakeL10n.txt new file mode 100644 index 00000000..96779f55 --- /dev/null +++ b/IconThemes/CMakeL10n.txt @@ -0,0 +1,12 @@ +##### create translation templates ############## + +file( GLOB_RECURSE _themes + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/*.theme ) +list( SORT _themes ) + +tde_l10n_create_template( + CATALOG "desktop_files/icon-themes/" + SOURCES_DESKTOP ${_themes} + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) |