summaryrefslogtreecommitdiffstats
path: root/languages/cpp/compiler
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 /languages/cpp/compiler
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 'languages/cpp/compiler')
-rw-r--r--languages/cpp/compiler/gccoptions/CMakeLists.txt7
-rw-r--r--languages/cpp/compiler/gccoptions/kdevg77options.desktop51
-rw-r--r--languages/cpp/compiler/gccoptions/kdevgccoptions.desktop49
-rw-r--r--languages/cpp/compiler/gccoptions/kdevgppoptions.desktop51
4 files changed, 17 insertions, 141 deletions
diff --git a/languages/cpp/compiler/gccoptions/CMakeLists.txt b/languages/cpp/compiler/gccoptions/CMakeLists.txt
index 35c6159d..8e1fbde9 100644
--- a/languages/cpp/compiler/gccoptions/CMakeLists.txt
+++ b/languages/cpp/compiler/gccoptions/CMakeLists.txt
@@ -25,10 +25,13 @@ link_directories(
##### other data ################################
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
kdevgccoptions.desktop kdevgppoptions.desktop
kdevg77options.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### libkdevgccoptions (module) ################
diff --git a/languages/cpp/compiler/gccoptions/kdevg77options.desktop b/languages/cpp/compiler/gccoptions/kdevg77options.desktop
index 53c9dadd..79305df3 100644
--- a/languages/cpp/compiler/gccoptions/kdevg77options.desktop
+++ b/languages/cpp/compiler/gccoptions/kdevg77options.desktop
@@ -1,53 +1,10 @@
[Desktop Entry]
+Name=G77Options
+
+Comment=GNU Fortran 77 Compiler
+
Type=Service
Exec=g77
-Comment=GNU Fortran 77 Compiler
-Comment[br]=Dastumer Fortran 77 GNU
-Comment[ca]=Compilador Fortran 77 de GNU
-Comment[da]=GNU Fortran 77 compiler
-Comment[el]=Μεταγλωττιστής GNU Fortran 77
-Comment[es]=Compilador GNU de Fortran 77
-Comment[et]=GNU Fortran 77 kompilaator
-Comment[eu]=GNU Fortran 77 konpiladorea
-Comment[fa]=مترجم فرترن ۷۷ گنو
-Comment[fr]=Compilateur pour Fortran 77 du GNU
-Comment[ga]=Tiomsaitheoir Fortran 77 GNU
-Comment[gl]=Compilador GNU Fortran 77
-Comment[hi]=जीएनयू फ़ोरट्रॉन 77 कम्पायलर
-Comment[hu]=GNU Fortran 77 fordítóprogram
-Comment[is]=GNU Fortran 77 þýðandi
-Comment[it]=Compilatore per GNU Fortran 77
-Comment[ja]=GNU Fortran 77 コンパイラ
-Comment[nds]=GNU Fortran 77-Kompilerer
-Comment[ne]=GNU Fortran 77 कम्पाइलर
-Comment[nl]=GNU Fortran 77-compiler
-Comment[pl]=Kompilator GNU Fortran 77
-Comment[pt]=Compilador GNU Fortran 77
-Comment[pt_BR]=Compilador GNU Fortran 77
-Comment[ru]=Компилятор GNU Fortran 77
-Comment[sk]=GNU Fortran 77 kompilátor
-Comment[sl]=Prevajalnik za GNU Fortran 77
-Comment[sr]=GNU-ов преводилац Fortran-а 77
-Comment[sr@Latn]=GNU-ov prevodilac Fortran-a 77
-Comment[sv]=GNU Fortran 77-compilator
-Comment[ta]=GNU Fortran 77 தொகுப்பி
-Comment[tg]=Талфифгари GNU Fortran 77
-Comment[tr]=GNU Fortran 77 Derleyicisi
-Comment[zh_CN]=GNU Fortran 77 编译器
-Comment[zh_TW]=GNU Fortran 77 編譯器
-Name=G77Options
-Name[de]=G77-Einstellungen (TDevelop)
-Name[el]=G77Επιλογές
-Name[hi]=जी77विकल्प
-Name[nds]=G77-Optschonen (TDevelop)
-Name[pl]=Opcje G77
-Name[sk]=G77 možnosti
-Name[sl]=Možnosti G77
-Name[sv]=Alternativ för g77
-Name[ta]=G77விருப்பங்கள்
-Name[tg]=G77Интихобҳо
-Name[tr]=G77Seçenekleri
-Name[zh_TW]=G77 選項
X-TDE-ServiceTypes=TDevelop/CompilerOptions
X-TDE-Library=libkdevgccoptions
X-TDevelop-Version=5
diff --git a/languages/cpp/compiler/gccoptions/kdevgccoptions.desktop b/languages/cpp/compiler/gccoptions/kdevgccoptions.desktop
index 9b619a26..f2858d79 100644
--- a/languages/cpp/compiler/gccoptions/kdevgccoptions.desktop
+++ b/languages/cpp/compiler/gccoptions/kdevgccoptions.desktop
@@ -1,54 +1,13 @@
[Desktop Entry]
+Name=GccOptions
+
+Comment=GNU C Compiler
+
Type=Service
Exec=gcc
-Comment=GNU C Compiler
-Comment[br]=Dastumer C GNU
-Comment[ca]=Compilador C de GNU
-Comment[da]=GNU C compiler
-Comment[el]=Μεταγλωττιστής GNU C
-Comment[es]=Compilador GNU de C
-Comment[et]=GNU C kompilaator
-Comment[eu]=GNU C konpiladorea
-Comment[fa]=مترجم سی گنو
-Comment[fr]=Compilateur C du GNU
-Comment[ga]=Tiomsaitheoir C GNU
-Comment[gl]=Compilador GNU C
-Comment[hi]=जीएनयू सी कम्पायलर
-Comment[hu]=GNU C fordítóprogram
-Comment[is]=GNU C þýðandi
-Comment[it]=Compilatore GNU C
-Comment[ja]=GNU C コンパイラ
-Comment[nds]=GNU C-Kompilerer
-Comment[ne]=GNU C कम्पाइलर
-Comment[pl]=Kompilator GNU C
-Comment[pt]=Compilador GNU C
-Comment[pt_BR]=Compilador GNU C
-Comment[ru]=Компилятор GNU C
-Comment[sk]=GNU C kompilátor
-Comment[sl]=Prevajalnik za GNU C
-Comment[sr]=GNU-ов C преводилац
-Comment[sr@Latn]=GNU-ov C prevodilac
-Comment[sv]=GNU C-kompilator
-Comment[ta]=GNU Cதொகுப்பி
-Comment[tg]=Талфифгари GNU C
-Comment[zh_CN]=GNU C 编译器
-Comment[zh_TW]=GNU C 編譯器
-Name=GccOptions
-Name[de]=GCC-Einstellungen (TDevelop)
-Name[el]=GccΕπιλογές
-Name[hi]=जीसीसी-विकल्प
-Name[nds]=GCC-Instellen
-Name[pl]=Opcje Gcc
-Name[sk]=Gcc možnosti
-Name[sl]=Možnosti Gcc
-Name[sv]=Alternativ för gcc
-Name[ta]=Gccவிருப்பங்கள்
-Name[tr]=GccSeçenekleri
-Name[zh_TW]=Gcc 選項
X-TDE-ServiceTypes=TDevelop/CompilerOptions
X-TDE-Library=libkdevgccoptions
X-TDevelop-Version=5
X-TDevelop-Language=C
X-TDevelop-Args=gcc
X-TDevelop-Default=true
-
diff --git a/languages/cpp/compiler/gccoptions/kdevgppoptions.desktop b/languages/cpp/compiler/gccoptions/kdevgppoptions.desktop
index e58c3aa5..5c7ce230 100644
--- a/languages/cpp/compiler/gccoptions/kdevgppoptions.desktop
+++ b/languages/cpp/compiler/gccoptions/kdevgppoptions.desktop
@@ -1,56 +1,13 @@
[Desktop Entry]
+Name=GppOptions
+
+Comment=GNU C++ Compiler
+
Type=Service
Exec=g++
-Comment=GNU C++ Compiler
-Comment[br]=Dastumer C++ GNU
-Comment[ca]=Compilador C++ de GNU
-Comment[da]=GNU C++ compiler
-Comment[el]=Μεταγλωττιστής GNU C++
-Comment[es]=Compilador GNU de C++
-Comment[et]=GNU C++ kompilaator
-Comment[eu]=GNU C++ konpiladorea
-Comment[fa]=مترجم C++ گنو
-Comment[fr]=Compilateur C++ de GNU
-Comment[ga]=Tiomsaitheoir C++ GNU
-Comment[gl]=Compilador GNU C++
-Comment[hi]=जीएनयू सी++ कम्पायलर
-Comment[hu]=GNU C++ fordítóprogram
-Comment[is]=GNU C++ þýðandi
-Comment[it]=Compilatore GNU C++
-Comment[ja]=GNU C++ コンパイラ
-Comment[nds]=GNU C++-Kompilerer
-Comment[ne]=GNU C++ कम्पाइलर
-Comment[nl]=GNU C++ compiler
-Comment[pl]=Kompilator GNU C++
-Comment[pt]=Compilador GNU C++
-Comment[pt_BR]=Compilador GNU C++
-Comment[ru]=Компилятор GNU C++
-Comment[sk]=GNU C++ kompilátor
-Comment[sl]=Prevajalnik za GNU C++
-Comment[sr]=GNU-ов C++ преводилац
-Comment[sr@Latn]=GNU-ov C++ prevodilac
-Comment[sv]=GNU C++ kompilator
-Comment[ta]=GNU C++தொகுப்பி
-Comment[tg]=Талфифгари GNU C++
-Comment[tr]=GNU C++ Derleyicisi
-Comment[zh_CN]=GNU C++ 编译器
-Comment[zh_TW]=GNU C++ 編譯器
-Name=GppOptions
-Name[de]=GPP-Einstellungen (TDevelop)
-Name[el]=GppΕπιλογές
-Name[hi]=जीपीपी-विकल्प
-Name[nds]=GPP-Instellen
-Name[pl]=Opcje Gpp
-Name[sk]=Gpp možnosti
-Name[sl]=Možnosti Gpp
-Name[sv]=Alternativ för g++
-Name[ta]=Gppவிருப்பங்கள்
-Name[tr]=GppSeçenekleri
-Name[zh_TW]=Gpp 選項
X-TDE-ServiceTypes=TDevelop/CompilerOptions
X-TDE-Library=libkdevgccoptions
X-TDevelop-Version=5
X-TDevelop-Language=C++
X-TDevelop-Args=g++
X-TDevelop-Default=true
-