summaryrefslogtreecommitdiffstats
path: root/parts/vcsmanager
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-01 17:56:29 +0900
commit96fa25303818e6107b72ba624659004751d45ad1 (patch)
tree89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /parts/vcsmanager
parent3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff)
downloadtdevelop-96fa25303818e6107b72ba624659004751d45ad1.tar.gz
tdevelop-96fa25303818e6107b72ba624659004751d45ad1.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 fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'parts/vcsmanager')
-rw-r--r--parts/vcsmanager/CMakeLists.txt6
-rw-r--r--parts/vcsmanager/kdevvcsmanager.desktop52
2 files changed, 10 insertions, 48 deletions
diff --git a/parts/vcsmanager/CMakeLists.txt b/parts/vcsmanager/CMakeLists.txt
index de236f81..07b0bc11 100644
--- a/parts/vcsmanager/CMakeLists.txt
+++ b/parts/vcsmanager/CMakeLists.txt
@@ -26,7 +26,11 @@ link_directories(
##### other data ################################
-install( FILES kdevvcsmanager.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevvcsmanager.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### libkdevvcsmanager (module) ################
diff --git a/parts/vcsmanager/kdevvcsmanager.desktop b/parts/vcsmanager/kdevvcsmanager.desktop
index 6f8f88dc..3bcad5c9 100644
--- a/parts/vcsmanager/kdevvcsmanager.desktop
+++ b/parts/vcsmanager/kdevvcsmanager.desktop
@@ -1,54 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
Name=KDevVCSManager
-Name[da]=TDevelop VCS-håndtering
-Name[nds]=TDevelop-VKS-Pleger
-Name[sk]=KDev VCS manažér
-Name[sv]=TDevelop VCS-hantering
-Name[tg]=РоҳбариKDevVCS
-Name[zh_TW]=TDevelop VCS 管理器
+
GenericName=VCSManager
-GenericName[da]=VCS-håndtering
-GenericName[fa]=مدیر VCS
-GenericName[nds]=VKS-Pleger
-GenericName[ru]=Управление системами контроля версий
-GenericName[sk]=VCS manažér
-GenericName[sl]=Upravitelj VCS
-GenericName[sr]=VCS менаџер
-GenericName[sr@Latn]=VCS menadžer
-GenericName[sv]=VCS-hantering
-GenericName[tg]=РоҳбариVCS
-GenericName[zh_TW]=VCS 管理員
+
Comment=Version Control System Manager
-Comment[ca]=Gestor per al sistema de control de versions
-Comment[da]=Versionskontrolsystem-håndtering
-Comment[de]=Verwaltung für VCS
-Comment[el]=Διαχειριστής συστήματος ελέγχου εκδόσεων
-Comment[es]=Administrador de sistemas de control de versiones
-Comment[et]=Versioonikontrollisüsteemi haldur
-Comment[eu]=Version Control System (VCS) kudeatzailea
-Comment[fa]=مدیر سیستم کنترل نسخه
-Comment[fr]=Gestionnaire du système de contrôle de versions
-Comment[gl]=Xestor do Sistema de control de versións
-Comment[hu]=Kezelőfelület verziókövető rendszerekhez
-Comment[it]=Gestore Sistema Controllo Versione
-Comment[ms]=Pengurus Sistem Kawalan Versi
-Comment[nds]=VKS-Pleger
-Comment[ne]=संस्करण नियन्त्रण प्रणाली प्रबन्धक
-Comment[nl]=Versie Controle Systeem-beheerder
-Comment[pl]=Menedżer Systemu kontroli wersji
-Comment[pt]=Gestor de Sistema de Controlo de Versão
-Comment[pt_BR]=Gerenciador do Sistema de Controle de Versão
-Comment[ru]=Управление системами контроля версий
-Comment[sk]=Manažér systému riadenia verzií
-Comment[sl]=Upravitelj sistema za nadzor različic
-Comment[sr]=Менаџер система контроле верзија
-Comment[sr@Latn]=Menadžer sistema kontrole verzija
-Comment[sv]=Hantering av versionskontrollsystem
-Comment[tr]=Sürüm Kontrol Sistemi Yöneticisi
-Comment[zh_CN]=版本控制系统管理器
-Comment[zh_TW]=版本控制系統管理員
+
+Type=Service
+Exec=blubb
Icon=tdevelop
X-TDE-ServiceTypes=TDevelop/Plugin