summaryrefslogtreecommitdiffstats
path: root/buildtools/ada
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-30 16:00:07 +0200
commitfe44776673b28ca94338f23d8e7ac71593fa88ba (patch)
treeb900146c853acbd44900bfb77a35a1af3c77aa5d /buildtools/ada
parentc0b663c4c873df495743600b8f703744420eddfa (diff)
downloadtdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.tar.gz
tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.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 'buildtools/ada')
-rw-r--r--buildtools/ada/CMakeLists.txt7
-rw-r--r--buildtools/ada/kdevadaproject.desktop99
2 files changed, 12 insertions, 94 deletions
diff --git a/buildtools/ada/CMakeLists.txt b/buildtools/ada/CMakeLists.txt
index 8d0fd4ae..1fdfc3cb 100644
--- a/buildtools/ada/CMakeLists.txt
+++ b/buildtools/ada/CMakeLists.txt
@@ -28,7 +28,12 @@ link_directories(
##### other data ################################
-install( FILES kdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevadaproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevadaproject )
diff --git a/buildtools/ada/kdevadaproject.desktop b/buildtools/ada/kdevadaproject.desktop
index f28010ab..09fc310f 100644
--- a/buildtools/ada/kdevadaproject.desktop
+++ b/buildtools/ada/kdevadaproject.desktop
@@ -1,99 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Ada Project
-Comment[br]=Raktres Ada
-Comment[ca]=Projecte Ada
-Comment[cs]=Ada projekt
-Comment[da]=Ada-projekt
-Comment[de]=Ada-Projekt für TDevelop
-Comment[el]=Έργο Ada
-Comment[es]=Proyecto Ada
-Comment[et]=Ada projekt
-Comment[eu]=Ada proiektua
-Comment[fa]=پروژۀ آدا
-Comment[fr]=Projet en Ada
-Comment[ga]=Tionscadal Ada
-Comment[gl]=Proxecto Ada
-Comment[hi]=एडीए परियोजना
-Comment[hu]=Ada-projekt
-Comment[is]=Ada verkefni
-Comment[it]=Progetto Ada
-Comment[ja]=Ada プロジェクト
-Comment[ms]=Projek Ada
-Comment[nds]=Ada-Projekt
-Comment[ne]=एडा परियोजना
-Comment[nl]=Ada-project
-Comment[pa]=Ada ਪ੍ਰੋਜੈਕਟ
-Comment[pl]=Projekt: Ada
-Comment[pt]=Projecto Ada
-Comment[pt_BR]=Projeto Ada
-Comment[ro]=Proiect Ada
-Comment[ru]=Проект Ada
-Comment[sk]=Ada projekt
-Comment[sl]=Projekt Ada
-Comment[sr]=Ada пројекат
-Comment[sr@Latn]=Ada projekat
-Comment[sv]=Ada-projekt
-Comment[ta]=அடா பிராஜக்ட்
-Comment[tg]=Лоиҳаи Ada
-Comment[tr]=Ada Projesi
-Comment[uz]=Ada loyihasi
-Comment[uz@cyrillic]=Ada лойиҳаси
-Comment[zh_CN]=Ada 工程
-Comment[zh_TW]=Ada 專案
Name=KDevAdaProject
-Name[da]=TDevelop Ada-projekt
-Name[de]=Ada-Projekt (TDevelop)
-Name[fr]=Projet Ada pour TDevelop
-Name[hi]=के-डेव-एडीए-परियोजना
-Name[nds]=Ada-Projekt (TDevelop)
-Name[ne]=केडीई विकास एडा परियोजना
-Name[pl]=KDevProjektAda
-Name[sk]=KDevAdaProjekt
-Name[sv]=TDevelop Ada-projekt
-Name[ta]=கெடெவ் அடா பிராஜக்ட்
-Name[tg]=Лоиҳаи KDevAda
-Name[zh_TW]=TDevelop Ada 專案
+
GenericName=Ada Project
-GenericName[br]=Raktres Ada
-GenericName[ca]=Projecte Ada
-GenericName[da]=Ada-projekt
-GenericName[de]=Ada-Projekt
-GenericName[el]=Έργο Ada
-GenericName[es]=Proyecto Ada
-GenericName[et]=Ada projekt
-GenericName[eu]=Ada proiektua
-GenericName[fa]=پروژۀ آدا
-GenericName[fr]=Projet en Ada
-GenericName[ga]=Tionscadal Ada
-GenericName[gl]=Proxecto Ada
-GenericName[hi]=एडीए परियोजना
-GenericName[hu]=Ada-projekt
-GenericName[is]=Ada verkefni
-GenericName[it]=Project con Ada
-GenericName[ja]=Ada プロジェクト
-GenericName[ms]=Projek Ada
-GenericName[nds]=Ada-Projekt
-GenericName[ne]=एडा परियोजना
-GenericName[nl]=Ada-project
-GenericName[pa]=Ada ਪ੍ਰੋਜੈਕਟ
-GenericName[pl]=Projekt: Ada
-GenericName[pt]=Projecto Ada
-GenericName[pt_BR]=Projeto Ada
-GenericName[ru]=Проект Ada
-GenericName[sk]=Ada projekt
-GenericName[sl]=Projekt Ada
-GenericName[sr]=Ada пројекат
-GenericName[sr@Latn]=Ada projekat
-GenericName[sv]=Ada-projekt
-GenericName[ta]=அடா பிராஜக்ட்
-GenericName[tg]=Лоиҳаи Ada
-GenericName[tr]=Ada Projesi
-GenericName[uz]=Ada loyihasi
-GenericName[uz@cyrillic]=Ada лойиҳаси
-GenericName[zh_CN]=Ada 工程
-GenericName[zh_TW]=Ada 專案
+
+Comment=Ada Project
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevadaproject
X-TDevelop-Version=5