diff options
author | Slávek Banko <[email protected]> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-09 19:55:02 +0200 |
commit | 605ad91b1690a8149c2f351d1838f2d3c6929106 (patch) | |
tree | 8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /tdefile-plugins/png | |
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 <[email protected]>
(cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
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 |