diff options
author | Slávek Banko <[email protected]> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-01 17:56:29 +0900 |
commit | 96fa25303818e6107b72ba624659004751d45ad1 (patch) | |
tree | 89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /mimetypes | |
parent | 3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff) | |
download | tdevelop-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 <[email protected]>
(cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'mimetypes')
-rw-r--r-- | mimetypes/CMakeLists.txt | 8 | ||||
-rw-r--r-- | mimetypes/chm.desktop | 27 | ||||
-rw-r--r-- | mimetypes/x-fortran.desktop | 36 |
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 |