diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /tqt3integration/module | |
parent | 98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff) | |
download | tdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz tdebase-2f706891f32258c2b070471905f983e4585296d2.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 'tqt3integration/module')
-rw-r--r-- | tqt3integration/module/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | tqt3integration/module/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tqt3integration/module/tdeintegration.desktop | 1 |
3 files changed, 12 insertions, 1 deletions
diff --git a/tqt3integration/module/CMakeL10n.txt b/tqt3integration/module/CMakeL10n.txt new file mode 100644 index 000000000..cc69d32c7 --- /dev/null +++ b/tqt3integration/module/CMakeL10n.txt @@ -0,0 +1,7 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "desktop_files/tdeintegration.desktop/" + SOURCES tdeintegration.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/tqt3integration/module/CMakeLists.txt b/tqt3integration/module/CMakeLists.txt index 1457020af..017da7224 100644 --- a/tqt3integration/module/CMakeLists.txt +++ b/tqt3integration/module/CMakeLists.txt @@ -25,7 +25,10 @@ link_directories( ##### service desktop file(s) ########################## -install( FILES tdeintegration.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded ) +tde_create_translated_desktop( + SOURCE tdeintegration.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kded +) ##### kded_tdeintegration (module) ##################### diff --git a/tqt3integration/module/tdeintegration.desktop b/tqt3integration/module/tdeintegration.desktop index 9a9b940d1..13c278905 100644 --- a/tqt3integration/module/tdeintegration.desktop +++ b/tqt3integration/module/tdeintegration.desktop @@ -10,4 +10,5 @@ X-TDE-Kded-autoload=false X-TDE-Kded-load-on-demand=true Name=TDE Integration Module + Comment=Module for integrating UI of non-TDE applications |