diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
commit | 837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch) | |
tree | 66811931fed182f8fa6f59547c6511a897adb734 /kfax | |
parent | 00b9084c635fe29e7c5942ff508be2ca65893659 (diff) | |
download | tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.tar.gz tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.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 'kfax')
-rw-r--r-- | kfax/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kfax/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kfax/kfax.desktop | 74 |
3 files changed, 7 insertions, 75 deletions
diff --git a/kfax/CMakeL10n.txt b/kfax/CMakeL10n.txt index 13088803..6a956427 100644 --- a/kfax/CMakeL10n.txt +++ b/kfax/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kfax" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kfax.desktop/" + SOURCES kfax.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kfax/CMakeLists.txt b/kfax/CMakeLists.txt index 0ace8632..ac20f8d3 100644 --- a/kfax/CMakeLists.txt +++ b/kfax/CMakeLists.txt @@ -23,7 +23,7 @@ link_directories( #### other data ################################# -install( FILES kfax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( kfax.desktop ) install( FILES kfax.tif kfaxlogo.xpm DESTINATION ${DATA_INSTALL_DIR}/kfax/pics ) install( FILES kfaxui.rc DESTINATION ${DATA_INSTALL_DIR}/kfax ) diff --git a/kfax/kfax.desktop b/kfax/kfax.desktop index 9d6c674a..71e7b1c2 100644 --- a/kfax/kfax.desktop +++ b/kfax/kfax.desktop @@ -1,81 +1,7 @@ [Desktop Entry] MimeType=image/fax-g3;image/tiff; GenericName=Fax Viewer -GenericName[af]=Faks Aansig -GenericName[ar]=عارض الفاكس -GenericName[bg]=Преглед на факсове -GenericName[br]=Gweler faks -GenericName[bs]=Preglednik faxova -GenericName[ca]=Visualitzador de fax -GenericName[cs]=Prohlížeč faxů -GenericName[cy]=Gwelydd Ffacs -GenericName[da]=Fax-fremviser -GenericName[de]=Faxbetrachter -GenericName[el]=Προβολέας φαξ -GenericName[eo]=Faksrigardilo -GenericName[es]=Visor de faxes -GenericName[et]=Fakside vaataja -GenericName[eu]=Fax ikustailua -GenericName[fa]=مشاهدهگر دورنگار -GenericName[fi]=Faksinäytin -GenericName[fr]=Afficheur de fax -GenericName[gl]=Visor de fax -GenericName[he]=מציג פקסים -GenericName[hi]=फ़ैक्स प्रदर्शक -GenericName[hr]=Preglednik faksova -GenericName[hu]=Faxnézegető -GenericName[is]=Fax sjá -GenericName[it]=Visore di fax -GenericName[ja]=ファクスビューア -GenericName[kk]=Факсты қарау -GenericName[km]=កម្មវិធីមើលទូរសារ -GenericName[lt]=Faksų žiūriklis -GenericName[lv]=Faksu Skatītājs -GenericName[ms]=Pemapar Faks -GenericName[nb]=Faksfremviser -GenericName[nds]=Faxkieker -GenericName[ne]=फ्याक्स द्रष्टा -GenericName[nl]=Faxweergaveprogramma -GenericName[nn]=Faksvisar -GenericName[pa]=ਫੈਕਸ ਦਰਸ਼ਕ -GenericName[pl]=Przeglądarka faksów -GenericName[pt]=Visualizador de Faxes -GenericName[pt_BR]=Visualizador de Faxes -GenericName[ro]=Vizualizor FAX -GenericName[ru]=Просмотр факсов -GenericName[se]=Fáksačájeheaddji -GenericName[sk]=Prehliadač faxov -GenericName[sl]=Pregledovalnik faksov -GenericName[sr]=Приказивач факсова -GenericName[sr@Latn]=Prikazivač faksova -GenericName[sv]=Faxvisare -GenericName[ta]=ஃபாக்ஸ் காட்சி -GenericName[tg]=Хондани факс -GenericName[th]=เครื่องมือแสดงโทรสารของ TDE -GenericName[tr]=Faks Görüntüleyici -GenericName[uk]=Переглядач факсів -GenericName[uz]=Faks koʻruvchi -GenericName[uz@cyrillic]=Факс кўрувчи -GenericName[ven]=Muvhoni wa Fekisi -GenericName[wa]=Håyneu di facs -GenericName[xh]=Umboniseli Wefax -GenericName[zh_CN]=传真查看器 -GenericName[zh_HK]=傳真檢視器 -GenericName[zh_TW]=傳真檢視器 -GenericName[zu]=Umbonisi wefax Name=KFax -Name[af]=K-faks -Name[ar]=برنامج KFax -Name[cy]=KFfacs -Name[eo]=Faksrigardilo -Name[hi]=के-फ़ैक्स -Name[lv]=KFakss -Name[ne]=केडीई फ्याक्स -Name[sv]=Kfax -Name[ta]=கேஃபாக்ஸ் -Name[ven]=Fekisi ya K -Name[wa]=KFacs -Name[zh_TW]=KFax 傳真檢視器 Exec=kfax %f -caption "%c" %i %m Icon=kfax Path= |