From 0d8f91b1bdb5bbf770686b4749735890468cc3e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Wed, 3 Mar 2021 12:57:00 +0100
Subject: Added translation of .desktop files.
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>
---
 mimetypes/application/CMakeLists.txt     |  4 +--
 mimetypes/application/x-kmplayer.desktop | 42 ++-----------------------------
 mimetypes/application/x-mplayer2.desktop | 43 +++-----------------------------
 3 files changed, 7 insertions(+), 82 deletions(-)

(limited to 'mimetypes/application')

diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt
index 25edffe..2aa2efb 100644
--- a/mimetypes/application/CMakeLists.txt
+++ b/mimetypes/application/CMakeLists.txt
@@ -1,6 +1,6 @@
 ##### other data
 
-install(
-   FILES x-kmplayer.desktop
+tde_create_translated_desktop(
+   SOURCE x-kmplayer.desktop
    DESTINATION ${MIME_INSTALL_DIR}/application
 )
diff --git a/mimetypes/application/x-kmplayer.desktop b/mimetypes/application/x-kmplayer.desktop
index 45215aa..a924638 100644
--- a/mimetypes/application/x-kmplayer.desktop
+++ b/mimetypes/application/x-kmplayer.desktop
@@ -1,46 +1,8 @@
 [Desktop Entry]
 Encoding=UTF-8
-MimeType=application/x-kmplayer
 Comment=KMPlayer Document
-Comment[af]=KMPlayer Dokument
-Comment[ar]=وثيقة KMPlayer
-Comment[bg]=Документ за KMPlayer
-Comment[br]=Teul KMPlayer
-Comment[bs]=KMPlayer dokument
-Comment[ca]=Document KMPlayer
-Comment[cs]=KMPlayer dokument
-Comment[da]=KMPlayer-dokument
-Comment[de]=KMPlayer-Datei
-Comment[el]=Έγγραφο KMPlayer
-Comment[es]=Documento de KMPlayer
-Comment[et]=KMPlayeri dokument
-Comment[fi]=KMPlayer-asiakirja
-Comment[fr]=Document de KMPlayer
-Comment[gl]=Documento de KMPlayer
-Comment[he]=מסמך KMPlayer
-Comment[hi]=केएमप्लेयर दस्तावेज
-Comment[hu]=KMPlayer-dokumentum
-Comment[it]=Documento KMPlayer
-Comment[ja]=KMPlayer ドキュメント
-Comment[ka]=KMPlayer-ის დოკუმენტი
-Comment[mk]=Документ на KMPlayer
-Comment[nb]=KMPlayer-dokument
-Comment[nl]=KMPlayer-document
-Comment[pa]=KMPlayer ਦਸਤਾਵੇਜ਼
-Comment[pt]=Documento do KMPlayer
-Comment[pt_BR]=Documento do KMplayer
-Comment[ru]=Файл KMPlayer
-Comment[sk]=Dokument KMPlayera
-Comment[sr]=KMPlayer-ов документ
-Comment[sr@Latn]=KMPlayer-ov dokument
-Comment[sv]=Kmplayer-dokument
-Comment[ta]=கேஎம்இயக்கி ஆவணம்
-Comment[th]=เอกสาร KMPlayer
-Comment[tr]=KMPlayer Belgesi
-Comment[uk]=Документ KMPlayer
-Comment[xx]=xxKMPlayer Documentxx
-Comment[zh_CN]=KMPlayer 文档
-Comment[zh_TW]=KMPlayer 文件
+
 Icon=kmplayer
 Type=MimeType
+MimeType=application/x-kmplayer
 X-TDE-AutoEmbed=true
diff --git a/mimetypes/application/x-mplayer2.desktop b/mimetypes/application/x-mplayer2.desktop
index 6b1c90a..2cc7b47 100644
--- a/mimetypes/application/x-mplayer2.desktop
+++ b/mimetypes/application/x-mplayer2.desktop
@@ -1,46 +1,9 @@
 [Desktop Entry]
 Encoding=UTF-8
-Type=MimeType
 Comment=MS Media Format
-Comment[af]=MS Media Formaat
-Comment[ar]= ضيغة MS Media
-Comment[bg]=MS формат на медия
-Comment[br]=Furmad MS Media
-Comment[bs]=MS Media format
-Comment[ca]=Format multimèdia de Microsoft
-Comment[cs]=MS média formát
-Comment[da]=MS Medie-Format
-Comment[de]=MS-Media-Format
-Comment[el]=Μορφή πολυμέσων MS
-Comment[es]=Formato multimedia de Microsoft
-Comment[et]=MS Media vorming
-Comment[fr]=Format multimédia Microsoft
-Comment[gl]=Formato Multimédia de Microsoft
-Comment[he]=תבנית מדיה של חלונות
-Comment[hi]=एमएस मीडिया फॉर्मेट
-Comment[hu]=MS Media fájl
-Comment[it]=Formato media MS
-Comment[ja]=MS Media フォーマット
-Comment[ka]=MS Media-ის ფორმატი
-Comment[mk]=Мултимедијален формат на MS
-Comment[nb]=Microsoft Media-format
-Comment[nl]=MS mediaformaat
-Comment[pa]=MS ਮੀਡਿਆ ਫਾਰਮੈਟ
-Comment[pt]=Formato Multimédia Microsoft
-Comment[pt_BR]=Formato de Mídia MS
-Comment[ru]=Формат MS Media
-Comment[sk]=MS Media formát
-Comment[sr]=MS формат медија
-Comment[sr@Latn]=MS format medija
-Comment[sv]=MS-mediaformat
-Comment[ta]=எம்எஸ் ஊடக வடிவம்
-Comment[th]=รูปแบบ MS Media
-Comment[tr]=MS Medya Biçimi
-Comment[uk]=Формат MS Media
-Comment[xx]=xxMS Media Formatxx
-Comment[zh_CN]=MS Media 格式
-Comment[zh_TW]=MS 媒體格式
-MimeType=application/x-mplayer2
+
+Type=MimeType
 Icon=multimedia
+MimeType=application/x-mplayer2
 Patterns=*.asx;*.ASX;*.asf;*.ASF;
 X-TDE-AutoEmbed=true
-- 
cgit v1.2.1