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