summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins')
-rw-r--r--tdefile-plugins/CMakeL10n.txt7
-rw-r--r--tdefile-plugins/elf/CMakeLists.txt6
-rw-r--r--tdefile-plugins/elf/tdefile_elf.desktop58
3 files changed, 12 insertions, 59 deletions
diff --git a/tdefile-plugins/CMakeL10n.txt b/tdefile-plugins/CMakeL10n.txt
new file mode 100644
index 000000000..04d55b69f
--- /dev/null
+++ b/tdefile-plugins/CMakeL10n.txt
@@ -0,0 +1,7 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tdefile-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
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