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 19:55:02 +0200 |
commit | 605ad91b1690a8149c2f351d1838f2d3c6929106 (patch) | |
tree | 8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /kfax | |
parent | 766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff) | |
download | tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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 837dbafbea0c7f7bc73d27fda684ea2dededd547)
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= |