From 17a1833c0f9fdd5034c5d7a649f6bf4f79cf41e5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 13 May 2022 19:38:31 +0900 Subject: Added translation of messages and desktop files. Signed-off-by: Michele Calgaro --- src/CMakeL10n.txt | 8 ++++++++ src/CMakeLists.txt | 5 ++++- src/appinfo.protocol | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 src/CMakeL10n.txt (limited to 'src') diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..6b25bf3 --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( "messages/tdeio-appinfo" ) + +tde_l10n_create_template( + CATALOG "desktop_files/tdeio-appinfo-desktops" + SOURCES *.protocol +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ff123d5..9b847b4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,7 +24,10 @@ link_directories( ##### other data ################################ -install( FILES appinfo.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE appinfo.protocol + DESTINATION ${SERVICES_INSTALL_DIR} +) ##### tdeio_appinfo (module) ####################### diff --git a/src/appinfo.protocol b/src/appinfo.protocol index ba02b44..dceedff 100644 --- a/src/appinfo.protocol +++ b/src/appinfo.protocol @@ -12,7 +12,7 @@ linking=true moving=true Icon=computer maxInstances=4 -#TODO DocPath=tdeioslave/file.html Class=:local +Description=A TDEIO slave that combines an application's configuration, data, manual and temp files and folders into a single view. deleteRecursive=true fileNameUsedForCopying=Name -- cgit v1.2.1