From e604ddcc4c22f4baa33b3ac7737271346c5b33c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Wed, 15 Jul 2020 20:12:47 +0200
Subject: Desktop file translations: + Creation of POT template for desktop
 files added to CMakeL10n rules. + Added creation of translated desktop files
 during build.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit cb8cda7bca532df21c02bc4d2bfd03387df7f852)
---
 tdefile-plugins/folder/CMakeLists.txt         |  4 +-
 tdefile-plugins/folder/tdefile_folder.desktop | 65 +--------------------------
 2 files changed, 5 insertions(+), 64 deletions(-)

(limited to 'tdefile-plugins/folder')

diff --git a/tdefile-plugins/folder/CMakeLists.txt b/tdefile-plugins/folder/CMakeLists.txt
index a1d1a8f..4d17854 100644
--- a/tdefile-plugins/folder/CMakeLists.txt
+++ b/tdefile-plugins/folder/CMakeLists.txt
@@ -24,6 +24,8 @@ tde_add_kpart( tdefile_folder AUTOMOC
 
 ##### other data ################################
 
-install( FILES tdefile_folder.desktop
+tde_create_translated_desktop(
+  SOURCE tdefile_folder.desktop
   DESTINATION ${SERVICES_INSTALL_DIR}
+  PO_DIR tdefile-desktops
 )
diff --git a/tdefile-plugins/folder/tdefile_folder.desktop b/tdefile-plugins/folder/tdefile_folder.desktop
index 372b401..20af397 100644
--- a/tdefile-plugins/folder/tdefile_folder.desktop
+++ b/tdefile-plugins/folder/tdefile_folder.desktop
@@ -1,68 +1,7 @@
 [Desktop Entry]
-Type=Service
 Name=Folder Info
-Name[af]=Kabinet Inligting
-Name[ar]=معلومات المجلد
-Name[az]=Qovluq Mə'lumatı
-Name[bg]=Информация за директория
-Name[br]=Titouroù diwar-benn ar renkell
-Name[bs]=Informacije o direktoriju
-Name[ca]=Info. de la carpeta
-Name[cs]=Info o adresáři
-Name[cy]=Gwybodaeth Plygell
-Name[da]=Mappeinformation
-Name[de]=Ordnerinformation
-Name[el]=Πληροφορίες φακέλου
-Name[eo]=Dosieruja informo
-Name[es]=Información de carpeta
-Name[et]=Kataloogi info
-Name[eu]=Karpetaren informazioa
-Name[fa]=اطلاعات پوشه
-Name[fi]=Kansion tiedot
-Name[fo]=Upplýsingar um inngangar á skriviborði
-Name[fr]=Informations sur le dossier
-Name[fy]=Mappenynformaasje
-Name[gl]=Información do Cartafol
-Name[he]=מידע תיקייה
-Name[hi]=फ़ोल्डर जानकारी
-Name[hr]=Podaci mape
-Name[hu]=Mappajellemzők
-Name[is]=Möppuupplýsingar
-Name[it]=Informazioni su directory
-Name[ja]=フォルダ情報
-Name[ka]=საქაღალდის ინფორმაცია
-Name[kk]=Қапшық мәліметі
-Name[km]=ព័ត៌មាន​ថត
-Name[lt]=Aplanko informacija
-Name[mk]=Информации за папка
-Name[ms]=Maklumat Folder
-Name[nb]=Mappeinformasjon
-Name[nds]=Orner-Informatschonen
-Name[ne]=फोल्डर सूचना
-Name[nl]=Mappeninformatie
-Name[nn]=Kataloginformasjon
-Name[pa]=ਫੋਲਡਰ ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o katalogach
-Name[pt]=Informações de Pastas
-Name[pt_BR]=Informações sobre a Pasta
-Name[ro]=Informaţii folder
-Name[ru]=Информация о папке
-Name[sk]=Informácie o priečinku
-Name[sl]=Informacije o mapi
-Name[sr]=Информације о фасцикли
-Name[sr@Latn]=Informacije o fascikli
-Name[sv]=Kataloginformation
-Name[ta]=அடைவுத்தகவல்
-Name[tg]=Ахборот дар бораи каталог
-Name[th]=ข้อมูลโฟลเดอร์
-Name[tr]=Dizin Bilgisi
-Name[uk]=Інформація про теку
-Name[uz]=Jild haqida maʼlumot
-Name[uz@cyrillic]=Жилд ҳақида маълумот
-Name[vi]=Thông tin thư mục
-Name[xh]=Ulwazi lwencwadi enencukhacha
-Name[zh_CN]=文件夹信息
-Name[zh_TW]=資料夾資訊
+
+Type=Service
 X-TDE-ServiceTypes=KFilePlugin
 X-TDE-Library=tdefile_folder
 MimeType=inode/directory
-- 
cgit v1.2.1