summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-13 19:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-05-13 19:38:31 +0900
commit17a1833c0f9fdd5034c5d7a649f6bf4f79cf41e5 (patch)
treee90fff406b1bbaeb086393b90538eca572c8494c /src
parent5b09473c522cff464d27ed567ff977d633820775 (diff)
downloadtdeio-appinfo-17a1833c0f9fdd5034c5d7a649f6bf4f79cf41e5.tar.gz
tdeio-appinfo-17a1833c0f9fdd5034c5d7a649f6bf4f79cf41e5.zip
Added translation of messages and desktop files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt8
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/appinfo.protocol2
3 files changed, 13 insertions, 2 deletions
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