diff options
author | Slávek Banko <[email protected]> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-09 17:49:10 +0200 |
commit | 837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch) | |
tree | 66811931fed182f8fa6f59547c6511a897adb734 /tdefile-plugins/pnm | |
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 <[email protected]>
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 |