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 /tdefile-plugins/tga | |
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 'tdefile-plugins/tga')
-rw-r--r-- | tdefile-plugins/tga/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdefile-plugins/tga/tdefile_tga.desktop | 56 |
2 files changed, 5 insertions, 57 deletions
diff --git a/tdefile-plugins/tga/CMakeLists.txt b/tdefile-plugins/tga/CMakeLists.txt index 7040c7ca..2fdfcc7d 100644 --- a/tdefile-plugins/tga/CMakeLists.txt +++ b/tdefile-plugins/tga/CMakeLists.txt @@ -23,7 +23,11 @@ link_directories( #### other data ################################# -install( FILES tdefile_tga.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_tga.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) #### tdefile_tga (module) ######################### diff --git a/tdefile-plugins/tga/tdefile_tga.desktop b/tdefile-plugins/tga/tdefile_tga.desktop index eb6b6f8f..6f6eb59b 100644 --- a/tdefile-plugins/tga/tdefile_tga.desktop +++ b/tdefile-plugins/tga/tdefile_tga.desktop @@ -1,62 +1,6 @@ [Desktop Entry] Type=Service Name=Truevision Targa Info -Name[ar]=معلومات Truevision Targa -Name[br]=Gorretaol Truevision Targa -Name[ca]=Informació de Targa Truevision -Name[cs]=Truevision Targa info -Name[cy]=Gwybodaeth Truevision Targa -Name[da]=Truevision Targa-info -Name[de]=Truevision Targa-Info -Name[el]=Πληροφορίες Truevision Targa -Name[eo]=TARGA-informo -Name[es]=Info de Targa visión verdadera -Name[et]=Truevision Targa info -Name[fa]=اطلاعات Truevision Targa -Name[fi]=Truevision Targa -tiedot -Name[fr]=Informations Truevision -Name[gl]=Inf. Truevision Targa -Name[he]=מידע Truevision Targa -Name[hi]=ट्रू-विज़न टाग्रा जानकारी -Name[hr]=Truevision Targa Infomacije -Name[hu]=Truevision/Targa-jellemzők -Name[is]=Truevision Targa upplýsingar -Name[it]=Informazioni Truevision Targa -Name[ja]=TGA (Truevision Targa) 情報 -Name[kk]=Truevision Targa мәліметі -Name[km]=ព័ត៌មាន Truevision Targa -Name[lt]=Truevision Targa informacija -Name[ms]=Maklumat Targa Truevision -Name[nb]=Truevision Targa-info -Name[nds]="Truevision Targa"-Info -Name[ne]=ट्रुभिजन टार्गा सूचना -Name[nl]=Truevision Targa-info -Name[nn]=Truevision Targa-info -Name[nso]=Tshedimoso ya Targa ya pono ya Nnete -Name[pl]=Informacja o pliku Truevision Targa -Name[pt]=Informação do Targa da Truevision -Name[pt_BR]=Informação sobre Truevision Targa -Name[ro]=Informaţii Targa Truevision -Name[ru]=Информация о Truevision Targa -Name[se]=Truevision Targa-dieđut -Name[sl]=Podatki o Truevision Targa -Name[sr]=Truevision Targa информације -Name[sr@Latn]=Truevision Targa informacije -Name[sv]=Information om Truevision Targa -Name[ta]=சரியான பார்வை தார்கா தகவல் -Name[tg]=Иттилоот оиди Truevision Targa -Name[th]=ข้อมูลแฟ้ม Truevision Targa -Name[tr]=Truevision Targa Bilgisi -Name[uk]=Інформація по Truevision Targa -Name[uz]=TGA haqida maʼlumot -Name[uz@cyrillic]=TGA ҳақида маълумот -Name[ven]=Mafhungo a Targa ya mbonalelo ya vhukuma -Name[wa]=Informåcion sol imådje Truevision Targa -Name[xh]=Ulwazi lwe Truevision Targa -Name[zh_CN]=Truevision Targa 信息 -Name[zh_HK]=Truevision Targa 資訊 -Name[zh_TW]=Truevision Targa 資訊 -Name[zu]=Ulwazi lwe-Truevision Targa X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_tga MimeType=image/x-targa |