summaryrefslogtreecommitdiffstats
path: root/buildtools/ant
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-29 22:43:34 +0200
committerSlávek Banko <[email protected]>2020-07-30 16:00:07 +0200
commitfe44776673b28ca94338f23d8e7ac71593fa88ba (patch)
treeb900146c853acbd44900bfb77a35a1af3c77aa5d /buildtools/ant
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 <[email protected]>
Diffstat (limited to 'buildtools/ant')
-rw-r--r--buildtools/ant/CMakeLists.txt7
-rw-r--r--buildtools/ant/kdevantproject.desktop95
2 files changed, 12 insertions, 90 deletions
diff --git a/buildtools/ant/CMakeLists.txt b/buildtools/ant/CMakeLists.txt
index 1b7cfd98..6c8a178c 100644
--- a/buildtools/ant/CMakeLists.txt
+++ b/buildtools/ant/CMakeLists.txt
@@ -26,7 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevantproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevantproject )
diff --git a/buildtools/ant/kdevantproject.desktop b/buildtools/ant/kdevantproject.desktop
index ad223c50..e75a6994 100644
--- a/buildtools/ant/kdevantproject.desktop
+++ b/buildtools/ant/kdevantproject.desktop
@@ -1,95 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Ant Project
-Comment[br]=Raktres Ant
-Comment[ca]=Projecte Ant
-Comment[cs]=Ant projekt
-Comment[da]=Ant-projekt
-Comment[de]=Ant-Projekt für TDevelop
-Comment[el]=Έργο Ant
-Comment[es]=Proyecto Ant
-Comment[et]=Ant projekt
-Comment[eu]=Ant proiektua
-Comment[fa]=پروژۀ Ant
-Comment[fr]=Projet avec Ant
-Comment[ga]=Comhad tionscadail Ant
-Comment[gl]=Proxecto Ant
-Comment[hi]=एएनटी परियोजना
-Comment[hu]=Ant-projekt
-Comment[is]=Ant verkefni
-Comment[it]=Progetto Ant
-Comment[ja]=Ant プロジェクト
-Comment[ms]=Projek Ant
-Comment[nds]=Ant-Projekt
-Comment[ne]=एन्ट परियोजना
-Comment[nl]=Ant-project
-Comment[pa]=Ant ਪ੍ਰੋਜੈਕਟ
-Comment[pl]=Projekt: Ant
-Comment[pt]=Projecto Ant
-Comment[pt_BR]=Projeto Ant
-Comment[ru]=Проект Ant
-Comment[sk]=Ant projekt
-Comment[sl]=Projekt Ant
-Comment[sr]=Ant пројекат
-Comment[sr@Latn]=Ant projekat
-Comment[sv]=Ant-projekt
-Comment[ta]=ஆன்ட்பிராஜக்ட்
-Comment[tg]=Лоиҳаи Ant
-Comment[tr]=Ant Projesi
-Comment[uz]=Ant loyihasi
-Comment[uz@cyrillic]=Ant лойиҳаси
-Comment[zh_CN]=Ant 工程
-Comment[zh_TW]=Ant 專案
Name=KDevAntProject
-Name[da]=TDevelop Ant-projekt
-Name[de]=Ant-Projekt (TDevelop)
-Name[hi]=के-डेव-एएनटी-परियोजना
-Name[nds]=Ant-Projekt (TDevelop)
-Name[ne]=केडीई विकास एन्ट परियोजना
-Name[pl]=KDevProjektAnt
-Name[sk]=KDevAntProjekt
-Name[sv]=TDevelop Ant-projekt
-Name[ta]=கெடெவ்ஆன்ட் பிராஜக்ட்
-Name[tg]=Лоиҳаи KDevAnt
-Name[zh_TW]=TDevelop Ant 專案
+
GenericName=Ant Project
-GenericName[br]=Raktres Ant
-GenericName[ca]=Projecte Ant
-GenericName[da]=Ant-projekt
-GenericName[de]=Ant-Projekt
-GenericName[el]=Έργο Ant
-GenericName[es]=Proyecto Ant
-GenericName[et]=Ant projekt
-GenericName[eu]=Ant proiektua
-GenericName[fa]=پروژۀ Ant
-GenericName[fr]=Projet avec Ant
-GenericName[ga]=Comhad tionscadail Ant
-GenericName[gl]=Proxecto Ant
-GenericName[hi]=एएनटी परियोजना
-GenericName[hu]=Ant-projekt
-GenericName[it]=Project con Ant
-GenericName[ja]=Ant プロジェクト
-GenericName[ms]=Projek Ant
-GenericName[nds]=Ant-Projekt
-GenericName[ne]=एन्ट परियोजना
-GenericName[nl]=Ant-project
-GenericName[pl]=Projekt: Ant
-GenericName[pt]=Projecto Ant
-GenericName[pt_BR]=Projeto Ant
-GenericName[ru]=Проект Ant
-GenericName[sk]=Ant projekt
-GenericName[sl]=Projekt Ant
-GenericName[sr]=Ant пројекат
-GenericName[sr@Latn]=Ant projekat
-GenericName[sv]=Ant-projekt
-GenericName[ta]=ஆன்ட்பிராஜக்ட்
-GenericName[tg]=Лоиҳаи Ant
-GenericName[tr]=Ant Projesi
-GenericName[uz]=Ant loyihasi
-GenericName[uz@cyrillic]=Ant лойиҳаси
-GenericName[zh_CN]=Ant 工程
-GenericName[zh_TW]=Ant 專案
+
+Comment=Ant Project
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevantproject
X-TDevelop-Version=5