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/pnm | |
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/pnm')
-rw-r--r-- | tdefile-plugins/pnm/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdefile-plugins/pnm/tdefile_pnm.desktop | 52 |
2 files changed, 5 insertions, 53 deletions
diff --git a/tdefile-plugins/pnm/CMakeLists.txt b/tdefile-plugins/pnm/CMakeLists.txt index 637fe59d..d55dc8ab 100644 --- a/tdefile-plugins/pnm/CMakeLists.txt +++ b/tdefile-plugins/pnm/CMakeLists.txt @@ -23,7 +23,11 @@ link_directories( #### other data ################################# -install( FILES tdefile_pnm.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_pnm.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) #### tdefile_pnm (module) ######################### diff --git a/tdefile-plugins/pnm/tdefile_pnm.desktop b/tdefile-plugins/pnm/tdefile_pnm.desktop index dec0c4ba..c0ed4be9 100644 --- a/tdefile-plugins/pnm/tdefile_pnm.desktop +++ b/tdefile-plugins/pnm/tdefile_pnm.desktop @@ -1,58 +1,6 @@ [Desktop Entry] Type=Service Name=PNM Info -Name[ar]=معلومات PNM -Name[br]=Titouroù PNM -Name[ca]=Informació de PNM -Name[cs]=PNM info -Name[cy]=Gybodaeth PNM -Name[da]=PNG-info -Name[de]=PNM-Info -Name[el]=Πληροφορίες PNM -Name[eo]=PNM-informo -Name[es]=Info PNM -Name[et]=PNM info -Name[fa]=اطلاعات PNM -Name[fi]=PNM-tiedot -Name[fr]=Informations PNM -Name[gl]=Inf. PNM -Name[he]=מידע PNM -Name[hi]=PNM जानकारी -Name[hu]=PNM-jellemzők -Name[is]=PNM upplýsingar -Name[it]=Informazioni PNM -Name[ja]=PNM 情報 -Name[kk]=PNM мәліметі -Name[km]=ព័ត៌មាន PNM -Name[lt]=PNM informacija -Name[ms]=Maklumat PNM -Name[nb]=PNM-info -Name[nds]=PNM-Info -Name[ne]=PNM सूचना -Name[nl]=PNG-info -Name[nn]=PNM-info -Name[pa]=PNM ਜਾਣਕਾਰੀ -Name[pl]=Informacja o pliku PNM -Name[pt]=Informação do PNM -Name[pt_BR]=Informação sobre PNG -Name[ro]=Informaţii PNM -Name[ru]=Информация о PNM -Name[se]=PNM-dieđut -Name[sl]=Podatki o PNM -Name[sr]=PNM информације -Name[sr@Latn]=PNM informacije -Name[sv]=PNM-information -Name[ta]=PNM தகவல் -Name[tg]=Иттилоот оиди PNM -Name[th]=ข้อมูลแฟ้ม PNM -Name[tr]=PNM Bilgisi -Name[uk]=Інформація про PNM -Name[uz]=PNM haqida maʼlumot -Name[uz@cyrillic]=PNM ҳақида маълумот -Name[wa]=Informåcion sol imådje PNM -Name[zh_CN]=PNM 信息 -Name[zh_HK]=PNM 資訊 -Name[zh_TW]=PNM 資訊 X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_pnm MimeType=image/x-portable-bitmap;image/x-portable-greymap;image/x-portable-pixmap |