diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 18:25:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 18:48:13 +0200 |
commit | 9756408b0ebb206b53abd2597926d8fead731977 (patch) | |
tree | 62caa2c2ebd6ebccc5472fdc7469fe54dad8b24f /tdefile-plugins/elf | |
parent | c95c7a29338aa309fab071b5a4475400fdce97a8 (diff) | |
download | tdelibs-9756408b0ebb206b53abd2597926d8fead731977.tar.gz tdelibs-9756408b0ebb206b53abd2597926d8fead731977.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 4b7a4e17362206fd2eade35ba947a850263b0ea1)
Diffstat (limited to 'tdefile-plugins/elf')
-rw-r--r-- | tdefile-plugins/elf/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdefile-plugins/elf/tdefile_elf.desktop | 58 |
2 files changed, 5 insertions, 59 deletions
diff --git a/tdefile-plugins/elf/CMakeLists.txt b/tdefile-plugins/elf/CMakeLists.txt index 04bec18fe..c5f1ac0dc 100644 --- a/tdefile-plugins/elf/CMakeLists.txt +++ b/tdefile-plugins/elf/CMakeLists.txt @@ -29,7 +29,11 @@ link_directories( #### other data ################################# -install( FILES tdefile_elf.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_elf.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) #### tdefile_elf (module) ######################### diff --git a/tdefile-plugins/elf/tdefile_elf.desktop b/tdefile-plugins/elf/tdefile_elf.desktop index b7cfe9ab6..2e89c65cd 100644 --- a/tdefile-plugins/elf/tdefile_elf.desktop +++ b/tdefile-plugins/elf/tdefile_elf.desktop @@ -1,64 +1,6 @@ [Desktop Entry] Type=Service Name=ELF Info -Name[af]=ELF Inligting -Name[ar]=معلومات ELF -Name[br]=Titouroù ELF -Name[ca]=Informació de ELF -Name[cs]=ELF info -Name[cy]=Gwybodaeth ELF -Name[da]=ELF-info -Name[de]=ELF-Info -Name[el]=Πληροφορίες ELF -Name[eo]=ELF-informo -Name[es]=Info ELF -Name[et]=ELF info -Name[fa]=اطلاعات ELF -Name[fi]=ELF-tiedot -Name[fr]=Informations ELF -Name[ga]=Eolas faoi ELF -Name[gl]=Inf. ELF -Name[he]=מידע ELF -Name[hi]=ELF जानकारी -Name[hr]=ELF informacije -Name[hu]=ELF-jellemzők -Name[is]=ELF upplýsingar -Name[it]=Informazioni ELF -Name[ja]=ELF 情報 -Name[kk]=ELF мәліметі -Name[km]=ព័ត៌មាន ELF -Name[lt]=ELF informacija -Name[ms]=Maklumat ELF -Name[nds]=ELF-Info -Name[ne]=ELF सूचना -Name[nl]=ELF-info -Name[nn]=ELF-info -Name[nso]=Tshedimoso ya ELF -Name[pa]=ELF ਜਾਣਕਾਰੀ -Name[pl]=Informacja o pliku ELF -Name[pt]=Informação do ELF -Name[pt_BR]=Informação sobre ELF -Name[ro]=Informaţii ELF -Name[ru]=Информация о ELF -Name[se]=ELF-dieđut -Name[sl]=Podatki o ELF -Name[sr]=ELF информације -Name[sr@Latn]=ELF informacije -Name[sv]=ELF-information -Name[ta]=ELF தகவல் -Name[tg]=Иттилоот оиди ELF -Name[th]=ข้อมูลแฟ้ม ELF -Name[tr]=ELF Bilgisi -Name[uk]=Інформація по ELF -Name[uz]=ELF haqida maʼlumot -Name[uz@cyrillic]=ELF ҳақида маълумот -Name[ven]=Mafhungo ELF -Name[wa]=Informåcion sol imådje ELF -Name[xh]=Ulwazi lwe ELF -Name[zh_CN]=ELF 信息 -Name[zh_HK]=ELF 資訊 -Name[zh_TW]=ELF 資訊 -Name[zu]=Ulwazi lwe-ELF X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_elf MimeType=application/x-executable;application/x-sharedlib |