diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 14:56:12 +0200 |
commit | e604ddcc4c22f4baa33b3ac7737271346c5b33c8 (patch) | |
tree | 5801d6f9c361d087b54fff6d554d02c91befcb57 /konq-plugins/rsync | |
parent | 02e3da597ed8db74f0a8e8866682d4549da9fbd0 (diff) | |
download | tdeaddons-e604ddcc4c22f4baa33b3ac7737271346c5b33c8.tar.gz tdeaddons-e604ddcc4c22f4baa33b3ac7737271346c5b33c8.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>
(cherry picked from commit cb8cda7bca532df21c02bc4d2bfd03387df7f852)
Diffstat (limited to 'konq-plugins/rsync')
-rw-r--r-- | konq-plugins/rsync/CMakeLists.txt | 22 | ||||
-rw-r--r-- | konq-plugins/rsync/rsync_plugin.desktop | 15 | ||||
-rw-r--r-- | konq-plugins/rsync/rsyncplugin.desktop | 13 |
3 files changed, 30 insertions, 20 deletions
diff --git a/konq-plugins/rsync/CMakeLists.txt b/konq-plugins/rsync/CMakeLists.txt index 697fd75..444e5a4 100644 --- a/konq-plugins/rsync/CMakeLists.txt +++ b/konq-plugins/rsync/CMakeLists.txt @@ -38,14 +38,30 @@ tde_install_icons( ) ##### other data ################################ -install( FILES rsyncplugin.rc rsync_plugin.desktop +install( + FILES rsyncplugin.rc DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins ) -install( FILES rsyncplugin.rc rsync_plugin.desktop +tde_create_translated_desktop( + SOURCE rsync_plugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins + PO_DIR konq-plugins-desktops +) + +install( + FILES rsyncplugin.rc + DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins +) + +tde_create_translated_desktop( + SOURCE rsync_plugin.desktop DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins + PO_DIR konq-plugins-desktops ) -install( FILES rsyncplugin.desktop +tde_create_translated_desktop( + SOURCE rsyncplugin.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden + PO_DIR konq-plugins-desktops ) diff --git a/konq-plugins/rsync/rsync_plugin.desktop b/konq-plugins/rsync/rsync_plugin.desktop index a8c9717..ab6745b 100644 --- a/konq-plugins/rsync/rsync_plugin.desktop +++ b/konq-plugins/rsync/rsync_plugin.desktop @@ -1,6 +1,11 @@ [Desktop Entry] -Encoding=UTF-8 +Name=Remote Folder Synchronization + +Comment=Synchronization of remote folders in both directions using the programs SSH, RSync and Unison + +Icon=remotesync Type=Service +Encoding=UTF-8 X-TDE-PluginInfo-Author=Timothy Pearson X-TDE-PluginInfo-Email=kb9vqf@pearsoncomputing.net X-TDE-PluginInfo-Name=Rsync @@ -10,13 +15,5 @@ X-TDE-PluginInfo-Category=Tools X-TDE-PluginInfo-Depends= X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true - -Name=Remote Folder Synchronization -Name[de]=Abgleich von entfernten Ordnern - -Comment=Synchronization of remote folders in both directions using the programs SSH, RSync and Unison -Comment[de]=Synchronisation von entfernten Ordnern in beide Richtungen mit Hilfe der Programme SSH, RSync und Unison - -Icon=remotesync X-TDE-ParentApp=konqueror X-DocPath=konq-plugins/rsync/index.html diff --git a/konq-plugins/rsync/rsyncplugin.desktop b/konq-plugins/rsync/rsyncplugin.desktop index 8f2ecfe..788ec77 100644 --- a/konq-plugins/rsync/rsyncplugin.desktop +++ b/konq-plugins/rsync/rsyncplugin.desktop @@ -1,4 +1,9 @@ [Desktop Entry] +Name=Remote Folder Synchronization + +Comment=Synchronization of remote folders in both directions using the programs SSH, RSync and Unison + +Icon=remotesync X-TDE-PluginInfo-Author=Timothy Pearson X-TDE-PluginInfo-Email=kb9vqf@pearsoncomputing.net X-TDE-PluginInfo-Name=Rsync @@ -6,13 +11,5 @@ X-TDE-PluginInfo-Version=3.4 X-TDE-PluginInfo-Category=Tools X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=true - -Name=Remote Folder Synchronization -Name[de]=Abgleich von entfernten Ordnern - -Comment=Synchronization of remote folders in both directions using the programs SSH, RSync and Unison -Comment[de]=Synchronisation von entfernten Ordnern in beide Richtungen mit Hilfe der Programme SSH, RSync und Unison - -Icon=remotesync X-TDE-ParentApp=konqueror X-DocPath=konq-plugins/rsync/index.html |