summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/c++
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-16 18:30:12 +0200
committerSlávek Banko <[email protected]>2020-07-17 02:50:29 +0200
commit7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch)
tree0192394f73f297cd56aa972df31bf8bfc07a71d3 /tdefile-plugins/c++
parent29e1ae5e34974950ff7965b1522db70b4ff273dc (diff)
downloadtdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz
tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.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 'tdefile-plugins/c++')
-rw-r--r--tdefile-plugins/c++/CMakeLists.txt7
-rw-r--r--tdefile-plugins/c++/tdefile_cpp.desktop55
-rw-r--r--tdefile-plugins/c++/tdefile_h.desktop54
3 files changed, 9 insertions, 107 deletions
diff --git a/tdefile-plugins/c++/CMakeLists.txt b/tdefile-plugins/c++/CMakeLists.txt
index 60ce0c29..cc42c31c 100644
--- a/tdefile-plugins/c++/CMakeLists.txt
+++ b/tdefile-plugins/c++/CMakeLists.txt
@@ -22,8 +22,11 @@ link_directories(
##### other data ################################
-install( FILES tdefile_cpp.desktop tdefile_h.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_cpp.desktop tdefile_h.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
##### tdefile_cpp (module) ########################
diff --git a/tdefile-plugins/c++/tdefile_cpp.desktop b/tdefile-plugins/c++/tdefile_cpp.desktop
index 787c6a6e..60f6b784 100644
--- a/tdefile-plugins/c++/tdefile_cpp.desktop
+++ b/tdefile-plugins/c++/tdefile_cpp.desktop
@@ -1,58 +1,7 @@
[Desktop Entry]
-Type=Service
Name=C++ Info
-Name[af]=C++ Inligting
-Name[bg]=Изходен код на C++
-Name[br]=Titouroù C++
-Name[ca]=Informació C++
-Name[cs]=C++ info
-Name[cy]=Gwybodaeth C++
-Name[da]=C++-info
-Name[de]=C++-Info
-Name[el]=Πληροφορίες C++
-Name[eo]=C++-informo
-Name[es]=Info de C++
-Name[et]=C++ info
-Name[eu]=C++ informazioa
-Name[fa]=اطلاعات C++
-Name[fi]=C++-tiedot
-Name[fo]=C++-upplýsingar
-Name[fr]=Informations C++
-Name[ga]=Eolas C++
-Name[gl]=Información de C++
-Name[he]=מידע ++C
-Name[hi]=C++ जानकारी
-Name[hr]=C++ informacije
-Name[hu]=C++-jellemzők
-Name[is]=C++ upplýsingar
-Name[it]=Informazioni C++
-Name[ja]=C++ 情報
-Name[ka]=C++ ინფორმაცია
-Name[kk]=C++ мәліметі
-Name[lt]=C++ Informacija
-Name[ms]=Info C++
-Name[nds]=C++-Datei-Info
-Name[nl]=C++-info
-Name[nn]=C++-info
-Name[pa]=C++ ਜਾਣਕਾਰੀ
-Name[pl]=Informacja z C++
-Name[pt]=Informação de C++
-Name[pt_BR]=Informações C++
-Name[ro]=Informaţii C++
-Name[ru]=Информация C++
-Name[sk]=Informácie o C++
-Name[sl]=Informacije o C++
-Name[sr]=C++ информације
-Name[sr@Latn]=C++ informacije
-Name[sv]=C++-information
-Name[ta]= =C/C++ தகவல்
-Name[tg]=Ахбороти C++
-Name[th]=ข้อมูล C++
-Name[tr]=C++ Bilgisi
-Name[uk]=Інформація про C++
-Name[xh]=C++ Ulwazi
-Name[zh_CN]=C++ 信息
-Name[zh_TW]=C++ 資訊
+
+Type=Service
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_cpp
MimeType=text/x-c++src;text/x-chdr
diff --git a/tdefile-plugins/c++/tdefile_h.desktop b/tdefile-plugins/c++/tdefile_h.desktop
index d77ea6e2..6cee33fb 100644
--- a/tdefile-plugins/c++/tdefile_h.desktop
+++ b/tdefile-plugins/c++/tdefile_h.desktop
@@ -1,57 +1,7 @@
[Desktop Entry]
-Type=Service
Name=C/C++ Header Info
-Name[af]=C/C++ Opskrif Inligting
-Name[bg]=Информация за заглавната част на C/C++
-Name[br]=Titouriñ diwar-benn ar reollin C/C++
-Name[ca]=Informació de capçaleres C/C++
-Name[cs]=Informace o C/C++ hlavičce
-Name[cy]=Gwybodaeth Pennawd C/C++
-Name[da]=C/C++-headerinfo
-Name[de]=C++-Header-Info
-Name[el]=Πληροφορίες κεφαλίδων C/C++
-Name[es]=Info de cabecera C/C++
-Name[et]=C/C++ päise info
-Name[eu]=C/C++ goiburuen informazioa
-Name[fa]=اطلاعات سرآیند C/C++
-Name[fi]=C/C++-otsikkotiedot
-Name[fr]=Informations d'en-tête C/C++
-Name[gl]=Información da cabeceira de C/C++
-Name[he]=מידע כותרות ++C/C
-Name[hi]=C/C++ हेडर जानकारी
-Name[hr]=Informacije o C++ zaglavljima
-Name[hu]=C/C++ header fájl jellemzői
-Name[is]=C/C++ haus upplýsingar
-Name[it]=Informazioni intestazioni C/C++
-Name[ja]=C/C++ ヘッダ情報
-Name[ka]=C/C++ ზედა კოლონტიტულის ინფორმაცია
-Name[kk]=C/C++ айдар мәліметі
-Name[lt]=C/C++ antraščių informacija
-Name[ms]=Info Pengepala C/C++
-Name[nb]=C++-deklarasjonsfilinfo
-Name[nds]=C/C++-Koppdatei-Info
-Name[ne]=C/C++ Header info
-Name[nl]=C/C++ Header-info
-Name[nn]=C/C++-deklarasjonsinfo
-Name[pa]=C/C++ Header ਜਾਣਕਾਰੀ
-Name[pl]=Informacja z nagłówka C/C++
-Name[pt]=Informações do Cabeçalho de C/C++
-Name[pt_BR]=Informações sobre Cabeçalhos C/C++
-Name[ro]=Informaţii antet C/C++
-Name[ru]=Информация о файлах заголовков C/C++
-Name[sk]=Informácie o hlavičkách C/C++
-Name[sl]=Informacije o glavi C/C++
-Name[sr]=Информације о C/C++ заглављу
-Name[sr@Latn]=Informacije o C/C++ zaglavlju
-Name[sv]=Information om C/C++-deklarationsfiler
-Name[ta]= =C/C++ தலைப்பு தகவல்
-Name[tg]=Ахборот дар бораи сарлавҳаи файлҳои C/C++
-Name[th]=ข้อมูลแฟ้มส่วนหัว C/C++
-Name[tr]=C/C++ Başlık Bilgisi
-Name[uk]=Інформація по заголовкам C++
-Name[xh]=C/C++ Ulwazi lokubhaliweyo okuphezulu
-Name[zh_CN]=C/C++ 头文件信息
-Name[zh_TW]=C/C++ 檔頭資訊
+
+Type=Service
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_cpp
MimeType=text/x-chdr