summaryrefslogtreecommitdiffstats
path: root/buildtools/pascal
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 /buildtools/pascal
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 'buildtools/pascal')
-rw-r--r--buildtools/pascal/CMakeLists.txt7
-rw-r--r--buildtools/pascal/kdevpascalproject.desktop93
2 files changed, 12 insertions, 88 deletions
diff --git a/buildtools/pascal/CMakeLists.txt b/buildtools/pascal/CMakeLists.txt
index b10a6bec..a2c85c2b 100644
--- a/buildtools/pascal/CMakeLists.txt
+++ b/buildtools/pascal/CMakeLists.txt
@@ -30,7 +30,12 @@ link_directories(
##### other data ################################
-install( FILES kdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevpascalproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalproject )
diff --git a/buildtools/pascal/kdevpascalproject.desktop b/buildtools/pascal/kdevpascalproject.desktop
index 2e96196f..9d81d4fd 100644
--- a/buildtools/pascal/kdevpascalproject.desktop
+++ b/buildtools/pascal/kdevpascalproject.desktop
@@ -1,93 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Pascal Project
-Comment[br]=Raktres Pascal
-Comment[ca]=Projecte Pascal
-Comment[da]=Pascal projekt
-Comment[de]=Pascal-Projekt für TDevelop
-Comment[el]=Έργο Pascal
-Comment[es]=Proyecto de Pascal
-Comment[et]=Pascali projekt
-Comment[eu]=Pascal proiektua
-Comment[fa]=پروژۀ پاسکال
-Comment[fr]=Projet en langage PASCAL
-Comment[ga]=Tionscadal Pascal
-Comment[gl]=Proxecto Pascal
-Comment[hi]=पास्कल परियोजना
-Comment[hu]=Pascal-projekt
-Comment[is]=Pascal verkefni
-Comment[it]=Progetto per Pascal
-Comment[ja]=Pascal プロジェクト
-Comment[ms]=Projek Pascal
-Comment[nds]=Pascal-Projekt
-Comment[ne]=पास्कल परियोजना
-Comment[nl]=Pascal-project
-Comment[pa]=ਪਾਸਕਲ ਪ੍ਰੋਜੈਕਟ
-Comment[pl]=Projekt: Pascal
-Comment[pt]=Projecto de Pascal
-Comment[pt_BR]=Projeto Pascal
-Comment[ru]=Проект Pascal
-Comment[sk]=Pascal projekt
-Comment[sl]=Projekt Pascal
-Comment[sr]=Pascal пројекат
-Comment[sr@Latn]=Pascal projekat
-Comment[sv]=Pascal-projekt
-Comment[ta]=பாஸ்கல் பிராஜக்ட்
-Comment[tg]=Лоиҳаи Pascal
-Comment[tr]=Pascal Projesi
-Comment[uz]=Pascal loyihasi
-Comment[uz@cyrillic]=Pascal лойиҳаси
-Comment[zh_CN]=Pascal 工程
-Comment[zh_TW]=Pascal 專案
Name=KDevPascalProject
-Name[da]=TDevelop Pascal-projekt
-Name[de]=Pascal-Projekt (TDevelop)
-Name[hi]=के-डेव-पास्कल-परियोजना
-Name[nds]=Pascal-Projekt (TDevelop)
-Name[ne]=केडीई विकास पास्कल परियोजना
-Name[pl]=KDevProjektPascal
-Name[sk]=KDevPascalProjekt
-Name[sv]=TDevelop Pascal-projekt
-Name[ta]=கெடெவ் பாஸ்கல் பிராஜக்ட்
-Name[tg]=Лоиҳаи ПаскалKDev
-Name[zh_TW]=TDevelop Pascal 專案
+
GenericName=Pascal Project
-GenericName[br]=Raktres Pascal
-GenericName[ca]=Projecte Pascal
-GenericName[da]=Pascal projekt
-GenericName[de]=Pascal-Projekt
-GenericName[el]=Έργο Pascal
-GenericName[es]=Proyecto de Pascal
-GenericName[et]=Pascali projekt
-GenericName[eu]=Pascal proiektua
-GenericName[fa]=پروژۀ پاسکال
-GenericName[fr]=Projet en langage PASCAL
-GenericName[ga]=Tionscadal Pascal
-GenericName[gl]=Proxecto Pascal
-GenericName[hi]=पास्कल परियोजना
-GenericName[hu]=Pascal-projekt
-GenericName[it]=Progetto in Pascal
-GenericName[ja]=Pascal プロジェクト
-GenericName[ms]=Projek Pascal
-GenericName[nds]=Pascal-Projekt
-GenericName[ne]=पास्कल परियोजना
-GenericName[nl]=Pascal-project
-GenericName[pl]=Projekt: Pascal
-GenericName[pt]=Projecto de Pascal
-GenericName[pt_BR]=Projeto Pascal
-GenericName[ru]=Проект Pascal
-GenericName[sk]=Pascal projekt
-GenericName[sl]=Projekt Pascal
-GenericName[sr]=Pascal пројекат
-GenericName[sr@Latn]=Pascal projekat
-GenericName[sv]=Pascal-projekt
-GenericName[ta]=பாஸ்கல் பிராஜக்ட்
-GenericName[tr]=Pascal Projesi
-GenericName[uz]=Pascal loyihasi
-GenericName[uz@cyrillic]=Pascal лойиҳаси
-GenericName[zh_CN]=Pascal 工程
-GenericName[zh_TW]=Pascal 專案
+
+Comment=Pascal Project
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevpascalproject
X-TDevelop-Version=5