summaryrefslogtreecommitdiffstats
path: root/mimetypes
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 /mimetypes
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 'mimetypes')
-rw-r--r--mimetypes/CMakeLists.txt8
-rw-r--r--mimetypes/chm.desktop27
-rw-r--r--mimetypes/x-fortran.desktop36
3 files changed, 7 insertions, 64 deletions
diff --git a/mimetypes/CMakeLists.txt b/mimetypes/CMakeLists.txt
index b2684080..535cf2d2 100644
--- a/mimetypes/CMakeLists.txt
+++ b/mimetypes/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- x-fortran.desktop
- DESTINATION ${MIME_INSTALL_DIR}/text )
+tde_create_translated_desktop(
+ SOURCE x-fortran.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/text
+ PO_DIR tdevelop-desktops
+)
diff --git a/mimetypes/chm.desktop b/mimetypes/chm.desktop
index f737702f..92599d1f 100644
--- a/mimetypes/chm.desktop
+++ b/mimetypes/chm.desktop
@@ -1,31 +1,6 @@
[Desktop Entry]
Comment=HTML Help Document
-Comment[br]=Teul skoazell HTML
-Comment[ca]=Document d'ajuda HTML
-Comment[da]=HTML-hjælpedokument
-Comment[de]=HTML-Hilfedokument
-Comment[el]=Έγγραφο HTML βοήθειας
-Comment[es]=Documento de ayuda HTML
-Comment[et]=HTML abi dokument
-Comment[fr]=Document d'aide en HTML
-Comment[ga]=Cáipéis Chabhrach HTML
-Comment[hi]=एचटीएमएल मदद दस्तावेज़
-Comment[hu]=HTML dokumentációs fájl
-Comment[it]=Documentazione in HTML
-Comment[ja]=HTML ヘルプ文書
-Comment[nds]=HTML-Hülpdokment
-Comment[nl]=HTML Help-document
-Comment[pl]=Dokument pomocy HTML
-Comment[pt]=Documento de Ajuda em HTML
-Comment[pt_BR]=Documento de Ajuda HTML
-Comment[ru]=Документ справки в HTML
-Comment[sk]=HTML Help dokument
-Comment[sr]=HTML документ помоћи
-Comment[sr@Latn]=HTML dokument pomoći
-Comment[sv]=HTML-hjälpdokument
-Comment[ta]=HTML உதவி ஆவணம்
-Comment[tr]=HTML Yardım Belgesi
-Comment[zh_TW]=HTML 說明文件
+
Hidden=false
Icon=help
MimeType=application/chm
diff --git a/mimetypes/x-fortran.desktop b/mimetypes/x-fortran.desktop
index 800cf1c5..92514875 100644
--- a/mimetypes/x-fortran.desktop
+++ b/mimetypes/x-fortran.desktop
@@ -1,40 +1,6 @@
[Desktop Entry]
Comment=Fortran Source File
-Comment[br]=Restr tarzh Fortran
-Comment[ca]=Fitxer font Fortran
-Comment[da]=Fortran kildefil
-Comment[de]=Fortran-Quelltextdatei
-Comment[el]=Αρχείο κώδικα Fortran
-Comment[es]=Archivo de fuente Fortran
-Comment[et]=Fortrani lähtefail
-Comment[eu]=Fortran iturburu fitxategia
-Comment[fa]=پروندۀ منبع فرترن
-Comment[fr]=Fichier source en Fortran
-Comment[ga]=Comhad Foinseach Fortran
-Comment[gl]=Ficheiro fonte Fortran
-Comment[hi]=फोरट्रॉन स्रोत फ़ाइल
-Comment[hu]=Fortran forrásfájl
-Comment[is]=Fortran frumkóðaskrá
-Comment[it]=File sorgente per Fortran
-Comment[ja]=Fortran ソースファイル
-Comment[ms]=Fail Sumber Fortran
-Comment[nds]=Fortran-Borntextdatei
-Comment[ne]=फोर्ट्रान स्रोत फाइल
-Comment[nl]=Fortran Bronbestand
-Comment[pl]=Plik źródłowy Fortrana
-Comment[pt]=Ficheiro de Código em Fortran
-Comment[pt_BR]=Arquivo Fonte do Fortran
-Comment[ru]=Программа на Fortran
-Comment[sk]=Zdrojový súbor Fortran
-Comment[sl]=Izvorna datoteka za Fortran
-Comment[sr]=Fortran изворни фајл
-Comment[sr@Latn]=Fortran izvorni fajl
-Comment[sv]=Fortran källkodsfil
-Comment[ta]=Fortran மூலக்கோப்பு
-Comment[tg]=Файли берунии Fortran
-Comment[tr]=Fortran Kaynak Dosyası
-Comment[zh_CN]=Fortran 源文件
-Comment[zh_TW]=Fortran 程式源碼檔
+
Hidden=false
Icon=text-x-fortran
MimeType=text/x-fortran