diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-03-29 18:56:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-03-29 18:56:32 +0200 |
commit | 782fedd71db076f5f27e4d61ecf8ec49890883ed (patch) | |
tree | 492f4877277f8d07ac8092e93ca9c97ad389418b /src | |
parent | b3947daa5d32366538f084b3dc928d6f408ae63b (diff) | |
download | kcpuload-782fedd71db076f5f27e4d61ecf8ec49890883ed.tar.gz kcpuload-782fedd71db076f5f27e4d61ecf8ec49890883ed.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 'src')
-rw-r--r-- | src/CMakeL10n.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 94931f2..023e43f 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/kcpuload" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kcpuload.desktop/" + SOURCES kcpuload.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2166732..23e9fa5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -40,6 +40,4 @@ tde_install_icons( kcpuload ) ##### other data -install( FILES kcpuload.desktop - DESTINATION ${APPS_INSTALL_DIR}/System -) +tde_create_translated_desktop( kcpuload.desktop ) |