summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools
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/autotools
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/autotools')
-rw-r--r--buildtools/autotools/CMakeLists.txt7
-rw-r--r--buildtools/autotools/kdevautoproject.desktop97
-rw-r--r--buildtools/autotools/kdevtdeautoproject.desktop92
3 files changed, 20 insertions, 176 deletions
diff --git a/buildtools/autotools/CMakeLists.txt b/buildtools/autotools/CMakeLists.txt
index f7af5bc6..59a7ad3a 100644
--- a/buildtools/autotools/CMakeLists.txt
+++ b/buildtools/autotools/CMakeLists.txt
@@ -32,7 +32,12 @@ link_directories(
##### other data ################################
-install( FILES kdevautoproject.desktop kdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevautoproject.desktop kdevtdeautoproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject )
diff --git a/buildtools/autotools/kdevautoproject.desktop b/buildtools/autotools/kdevautoproject.desktop
index 35277c29..2afae277 100644
--- a/buildtools/autotools/kdevautoproject.desktop
+++ b/buildtools/autotools/kdevautoproject.desktop
@@ -1,97 +1,14 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Automake Project
-Comment[br]=Raktres Automake
-Comment[ca]=Projecte Automake
-Comment[da]=Automake-projekt
-Comment[de]=Automake-Projekt für TDevelop
-Comment[el]=Έργο Automake
-Comment[es]=Proyecto de Automake
-Comment[et]=Automake'i project
-Comment[eu]=Automake proiektua
-Comment[fa]=پروژۀ Automake
-Comment[fr]=Projet avec Automake
-Comment[ga]=Comhad tionscadail Automake
-Comment[gl]=Proxecto Automake
-Comment[hi]=ऑटोमेक परियोजना
-Comment[hu]=Automake-projekt
-Comment[is]=Automake verkefni
-Comment[it]=Progetto per automake
-Comment[ja]=Automake プロジェクト
-Comment[ms]=Projek Automake
-Comment[nds]=Automake-Projekt
-Comment[ne]=स्वत: निर्माण परियोजना
-Comment[nl]=Automake-project
-Comment[pa]=ਆਟੋਮੈਕ ਪ੍ਰੋਜੈਕਟ
-Comment[pl]=Projekt: Automake
-Comment[pt]=Projecto Automake
-Comment[pt_BR]=Projeto Automake
-Comment[ru]=Проект Automake
-Comment[sk]=Automake projekt
-Comment[sl]=Projekt automake
-Comment[sr]=Automake пројекат
-Comment[sr@Latn]=Automake projekat
-Comment[sv]=Automake-projekt
-Comment[ta]=ஆட்டோமேக் பிராஜக்ட்
-Comment[tg]=Лоиҳаи Automake
-Comment[tr]=Automake Projesi
-Comment[uz]=Automake loyihasi
-Comment[uz@cyrillic]=Automake лойиҳаси
-Comment[zh_CN]=Automake 工程
-Comment[zh_TW]=Automake 專案
Name=KDevAutoProject
-Name[da]=TDevelop Automake-projekt
-Name[de]=Automake-Projekt (TDevelop)
-Name[hi]=के-डेव-ऑटो-परियोजना
-Name[nds]=Automake-Projekt (TDevelop)
-Name[ne]=केडीई विकास स्वत: परियोजना
-Name[pl]=KDevProjektAuto
-Name[pt_BR]=KDevAutoProjeto
-Name[sk]=KDevAutoProjekt
-Name[sv]=TDevelop autoprojekt
-Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட்
-Name[tg]=Лоиҳаи KDevAuto
-Name[zh_TW]=TDevelop Automake 專案
+
GenericName=Automake Project
-GenericName[br]=Raktres Automake
-GenericName[ca]=Projecte Automake
-GenericName[da]=Automake-projekt
-GenericName[de]=Automake-Projekt
-GenericName[el]=Έργο Automake
-GenericName[es]=Proyecto de Automake
-GenericName[et]=Automake'i projekt
-GenericName[eu]=Automake proiektua
-GenericName[fa]=پروژۀ Automake
-GenericName[fr]=Projet avec Automake
-GenericName[ga]=Comhad tionscadail Automake
-GenericName[gl]=Proxecto Automake
-GenericName[hi]=ऑटोमेक परियोजना
-GenericName[hu]=Automake-projekt
-GenericName[it]=Progetto Automake
-GenericName[ja]=Automake プロジェクト
-GenericName[ms]=Projek Automake
-GenericName[nds]=Automake-Projekt
-GenericName[ne]=स्वत: निर्माण परियोजना
-GenericName[nl]=Automake-project
-GenericName[pl]=Projekt: Automake
-GenericName[pt]=Projecto de Automake
-GenericName[pt_BR]=Projeto Automake
-GenericName[ru]=Проект Automake
-GenericName[sk]=Automake projekt
-GenericName[sl]=Projekt automake
-GenericName[sr]=Automake пројекат
-GenericName[sr@Latn]=Automake projekat
-GenericName[sv]=Automake-projekt
-GenericName[ta]=ஆட்டோமேக் பிராஜக்ட்
-GenericName[tg]=Лоиҳаи Automake
-GenericName[tr]=Automake Projesi
-GenericName[uz]=Automake loyihasi
-GenericName[uz@cyrillic]=Automake лойиҳаси
-GenericName[zh_CN]=Automake 工程
-GenericName[zh_TW]=Automake 專案
-X-TDE-ServiceTypes=TDevelop/Project
+
+Comment=Automake Project
+
+Type=Service
+Exec=blubb
Icon=text-x-makefile
+X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=
diff --git a/buildtools/autotools/kdevtdeautoproject.desktop b/buildtools/autotools/kdevtdeautoproject.desktop
index e950772a..b8dea313 100644
--- a/buildtools/autotools/kdevtdeautoproject.desktop
+++ b/buildtools/autotools/kdevtdeautoproject.desktop
@@ -1,92 +1,14 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=TDE Automake Project
-Comment[br]=Raktres TDE Automake
-Comment[ca]=Projecte Automake per al TDE
-Comment[da]=TDE Automake-projekt
-Comment[de]=TDE-Automake-Projekt für TDevelop
-Comment[el]=Έργο TDE Automake
-Comment[es]=Proyecto de Automake de TDE
-Comment[et]=TDE automake'i projekt
-Comment[eu]=TDE automake proiektua
-Comment[fa]=پروژۀ TDE Automake
-Comment[fr]=Projet Automake pour TDE
-Comment[ga]=Tionscadal Automake TDE
-Comment[gl]=Proxecto Automake de TDE
-Comment[hi]=केडीई ऑटोमेक परियोजना
-Comment[hu]=TDE Automake-projekt
-Comment[is]=TDE Automake verkefni
-Comment[it]=Progetto TDE per automake
-Comment[ja]=TDE Automake プロジェクト
-Comment[ms]=Projek Automake TDE
-Comment[nds]=Automake-Projekt vun TDE
-Comment[ne]=केडीई स्वत: निर्माण परियोजना
-Comment[nl]=TDE Automake-project
-Comment[pt]=Projecto Automake do TDE
-Comment[pt_BR]=Projeto Automake do TDE
-Comment[ru]=Проект TDE Automake
-Comment[sk]=TDE Automake projekt
-Comment[sl]=Projekt TDE Automake
-Comment[sr]=TDE-ов Automake пројекат
-Comment[sr@Latn]=TDE-ov Automake projekat
-Comment[sv]=TDE Automake-projekt
-Comment[ta]=TDE ஆட்டோமேக் பிராஜக்ட்
-Comment[tg]=Лоиҳаи TDE Automake
-Comment[tr]=TDE Automake Projesi
-Comment[zh_CN]=TDE Automake 工程
-Comment[zh_TW]=TDE Automake 專案
Name=KDevTDEAutoProject
-Name[da]=TDevelop TDE Automake-projekt
-Name[de]=TDE-Automake-Projekt (TDevelop)
-Name[hi]=के-डेव-केडीई-ऑटो-परियोजना
-Name[nds]=Automake-Projekt (TDE/TDevelop)
-Name[ne]=केडीई विकास केडीई स्वत: परियोजना
-Name[pl]=KDevProjektTDEAuto
-Name[pt_BR]=KDevTDEAutoProjeto
-Name[sk]=KDevAutoProjekt
-Name[sv]=TDevelop TDE-autoprojekt
-Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட்
-Name[tg]=Лоиҳаи худкори KDevTDEAuto
-Name[zh_TW]=TDevelop TDE Automake 專案
+
GenericName=TDE Automake Project
-GenericName[br]=Raktres TDE Automake
-GenericName[ca]=Projecte Automake per al TDE
-GenericName[cs]=TDE Automake projekt
-GenericName[da]=TDE Automake-projekt
-GenericName[de]=TDE-Automake-Projekt
-GenericName[el]=Έργο TDE Automake
-GenericName[es]=Proyecto de Automake de TDE
-GenericName[et]=TDE automake'i projekt
-GenericName[eu]=TDE automake proiektua
-GenericName[fa]=پروژۀ TDE Automake
-GenericName[fr]=Projet avec Automake pour TDE
-GenericName[ga]=Tionscadal Automake TDE
-GenericName[gl]=Proxecto Automake de TDE
-GenericName[hi]=केडीई ऑटोमेक परियोजना
-GenericName[hu]=TDE Automake-projekt
-GenericName[it]=Progetto TDE Automake
-GenericName[ja]=TDE Automake プロジェクト
-GenericName[ms]=Projek Automake TDE
-GenericName[nds]=Automake-Projekt vun TDE
-GenericName[ne]=केडीई स्वत: निर्माण परियोजना
-GenericName[nl]=TDE Automake-project
-GenericName[pl]=Projekt: TDE Automake
-GenericName[pt]=Projecto TDE com Automake
-GenericName[pt_BR]=Projeto Automake do TDE
-GenericName[ru]=Проект TDE Automake
-GenericName[sk]=TDE Automake projekt
-GenericName[sl]=Projekt TDE Automake
-GenericName[sr]=TDE-ов Automake пројекат
-GenericName[sr@Latn]=TDE-ov Automake projekat
-GenericName[sv]=TDE Automake-projekt
-GenericName[ta]=TDE ஆட்டோமேக் பிராஜக்ட்
-GenericName[tg]=Лоиҳаи TDE Automake
-GenericName[tr]=TDE Automake Projesi
-GenericName[zh_CN]=TDE Automake 工程
-GenericName[zh_TW]=TDE Automake 專案
-X-TDE-ServiceTypes=TDevelop/Project
+
+Comment=TDE Automake Project
+
+Type=Service
+Exec=blubb
Icon=text-x-makefile
+X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=kde