summaryrefslogtreecommitdiffstats
path: root/languages/pascal/compiler
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 /languages/pascal/compiler
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 'languages/pascal/compiler')
-rw-r--r--languages/pascal/compiler/dccoptions/CMakeLists.txt6
-rw-r--r--languages/pascal/compiler/dccoptions/kdevdccoptions.desktop50
-rw-r--r--languages/pascal/compiler/fpcoptions/CMakeLists.txt6
-rw-r--r--languages/pascal/compiler/fpcoptions/kdevfpcoptions.desktop50
4 files changed, 18 insertions, 94 deletions
diff --git a/languages/pascal/compiler/dccoptions/CMakeLists.txt b/languages/pascal/compiler/dccoptions/CMakeLists.txt
index ae6c6388..4c860bba 100644
--- a/languages/pascal/compiler/dccoptions/CMakeLists.txt
+++ b/languages/pascal/compiler/dccoptions/CMakeLists.txt
@@ -25,7 +25,11 @@ link_directories(
##### other data ################################
-install( FILES kdevdccoptions.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevdccoptions.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### libkdevdccoptions (module) ################
diff --git a/languages/pascal/compiler/dccoptions/kdevdccoptions.desktop b/languages/pascal/compiler/dccoptions/kdevdccoptions.desktop
index 3d4d57f2..e54d0fbc 100644
--- a/languages/pascal/compiler/dccoptions/kdevdccoptions.desktop
+++ b/languages/pascal/compiler/dccoptions/kdevdccoptions.desktop
@@ -1,52 +1,10 @@
[Desktop Entry]
+Name=DccOptions
+
+Comment=Borland Delphi Compiler
+
Type=Service
Exec=dcc
-Comment=Borland Delphi Compiler
-Comment[br]=Dastumer Delphi Borland
-Comment[ca]=Compilador Delphi de Borland
-Comment[da]=Borland Delphi oversætter
-Comment[el]=Μεταγλωττιστής Borland Delphi
-Comment[es]=Compilador de Delphi de Borland
-Comment[et]=Borland Delphi kompilaator
-Comment[eu]=Borland Delphi konpiladorea
-Comment[fa]=مترجم برلند دلفی
-Comment[fr]=Compilateur Delphi de Borland
-Comment[ga]=Tiomsaitheoir Borland Delphi
-Comment[gl]=Compilador Borland Delphi
-Comment[hi]=बोरलैंड डेल्फ़ी कम्पायलर
-Comment[hu]=Borland Delphi fordítóprogram
-Comment[is]=Borland Delphi þýðandi
-Comment[it]=Compilatore per Borland Delphi
-Comment[ja]=Borland Delphi コンパイラ
-Comment[nds]=Borland Delphi-Kompilerer
-Comment[ne]=बोरल्यान्ड डेल्पी कम्पाइलर
-Comment[nl]=Borland Delphi-compiler
-Comment[pl]=Kompilator Borland Delphi
-Comment[pt]=Compilador de Borland Delphi
-Comment[pt_BR]=Compilador Delphi da Borland Delphi
-Comment[ru]=Компилятор Borland Delphi
-Comment[sk]=Borland Delphi kompilátor
-Comment[sl]=Prevajalnik za Borland Delphi
-Comment[sr]=Borland-ов преводилац Delphi-ја
-Comment[sr@Latn]=Borland-ov prevodilac Delphi-ja
-Comment[sv]=Borland Delphi kompilator
-Comment[ta]=பொர்லான்ட் டெல்பி தொகுப்பி
-Comment[tg]=Талфифгари Borland Delphi
-Comment[tr]=Borland Delphi Derleyicisi
-Comment[zh_CN]=Borland Delphi 编译器
-Comment[zh_TW]=Borland Delphi 編譯器
-Name=DccOptions
-Name[da]=Delphi oversætter indstillinger
-Name[de]=Delphi-Einstellungen (TDevelop)
-Name[hi]=डीसीसी-विकल्प
-Name[nds]=Delphi-Optschonen (TDevelop)
-Name[pl]=Opcje Dcc
-Name[sk]=Dcc možnosti
-Name[sl]=Možnosti Dcc
-Name[sv]=Alternativ för dcc
-Name[ta]=Dccவிருப்பங்கள்
-Name[tg]=DccИнтихобҳо
-Name[zh_TW]=Dcc 選項
X-TDE-ServiceTypes=TDevelop/CompilerOptions
X-TDE-Library=libkdevdccoptions
X-TDevelop-Version=5
diff --git a/languages/pascal/compiler/fpcoptions/CMakeLists.txt b/languages/pascal/compiler/fpcoptions/CMakeLists.txt
index 12c9ef89..4e4fedcf 100644
--- a/languages/pascal/compiler/fpcoptions/CMakeLists.txt
+++ b/languages/pascal/compiler/fpcoptions/CMakeLists.txt
@@ -25,7 +25,11 @@ link_directories(
##### other data ################################
-install( FILES kdevfpcoptions.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevfpcoptions.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### libkdevfpcoptions (module) ################
diff --git a/languages/pascal/compiler/fpcoptions/kdevfpcoptions.desktop b/languages/pascal/compiler/fpcoptions/kdevfpcoptions.desktop
index d7b0149b..be19860a 100644
--- a/languages/pascal/compiler/fpcoptions/kdevfpcoptions.desktop
+++ b/languages/pascal/compiler/fpcoptions/kdevfpcoptions.desktop
@@ -1,55 +1,13 @@
[Desktop Entry]
+Name=FpcOptions
+
+Comment=Free Pascal Compiler
+
Type=Service
Exec=fpc
-Comment=Free Pascal Compiler
-Comment[br]=Dastumer Pascal dieub
-Comment[ca]=Compilador Free Pascal
-Comment[da]=Free Pascal oversætter
-Comment[el]=Μεταγλωττιστής Free Pascal
-Comment[es]=Compilador Free Pascal
-Comment[et]=Free Pascal kompilaator
-Comment[eu]=Free Pascal konpiladorea
-Comment[fa]=مترجم آزاد پاسکال
-Comment[fr]=Compilateur Free Pascal
-Comment[ga]=Tiomsaitheoir Saor Pascal
-Comment[gl]=Compilador Free Pascal
-Comment[hi]=फ्री पॉस्कल कम्पायलर
-Comment[hu]=Szabad forráskódú Pascal fordítóprogram
-Comment[is]=Frjáls Pascal þýðandi
-Comment[it]=Compilatore per Free Pascal
-Comment[ja]=Free Pascal コンパイラ
-Comment[nds]=Free Pascal-Kompilerer
-Comment[ne]=स्वतन्त्र पास्कल कम्पाइलर
-Comment[nl]=Free Pascal-compiler
-Comment[pt]=Compilador Free Pascal
-Comment[pt_BR]=Compilador Free Pascal
-Comment[ru]=Компилятор Free Pascal
-Comment[sk]=Voľný Pascal kompilátor
-Comment[sl]=Prevajalnik za Free Pascal
-Comment[sr]=Слободни преводилац Pascal-а
-Comment[sr@Latn]=Slobodni prevodilac Pascal-a
-Comment[sv]=Fri Pascal-kompilator
-Comment[ta]=இலவச பாஸ்கல் தொகுப்பி
-Comment[tg]=Талфифгари Free Pascal
-Comment[tr]=Serbest Pascal Derleyicisi
-Comment[zh_CN]=Free Pascal 编译器
-Comment[zh_TW]=Free Pascal 編譯器
-Name=FpcOptions
-Name[da]=Free Pascal oversætter indstillinger
-Name[de]=Fpc-Einstellungen (TDevelop)
-Name[hi]=एफपीसी-विकल्प
-Name[nds]=Fpc-Optschonen (TDevelop)
-Name[pl]=Opcje Fpc
-Name[sk]=Fpc možnosti
-Name[sl]=Možnosti Fpc
-Name[sv]=Alternativ för fpc
-Name[ta]=Fpcவிருப்பங்கள்
-Name[tg]=FpcИнтихобҳо
-Name[zh_TW]=Fpc 選項
X-TDE-ServiceTypes=TDevelop/CompilerOptions
X-TDE-Library=libkdevfpcoptions
X-TDevelop-Version=5
X-TDevelop-Language=Pascal
X-TDevelop-Args=fpc
X-TDevelop-Default=true
-