summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-30 00:57:03 +0200
committerSlávek Banko <[email protected]>2020-05-30 01:05:29 +0200
commitd11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d (patch)
tree060933b7cc6b5aa928a37c4868330f58fb5b6294 /tdefile-plugins
parent77d1049eb65f4d8bd24351c5c1a8d6344bf3ec62 (diff)
downloadtdemultimedia-d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d.tar.gz
tdemultimedia-d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d.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 ff3f2006ce72b2edabc534188a4ad006e89b4f84)
Diffstat (limited to 'tdefile-plugins')
-rw-r--r--tdefile-plugins/CMakeL10n.txt6
-rw-r--r--tdefile-plugins/au/CMakeLists.txt6
-rw-r--r--tdefile-plugins/au/tdefile_au.desktop59
-rw-r--r--tdefile-plugins/avi/CMakeLists.txt6
-rw-r--r--tdefile-plugins/avi/tdefile_avi.desktop60
-rw-r--r--tdefile-plugins/flac/CMakeLists.txt6
-rw-r--r--tdefile-plugins/flac/tdefile_flac.desktop54
-rw-r--r--tdefile-plugins/m3u/CMakeLists.txt6
-rw-r--r--tdefile-plugins/m3u/tdefile_m3u.desktop63
-rw-r--r--tdefile-plugins/mp3/CMakeLists.txt6
-rw-r--r--tdefile-plugins/mp3/tdefile_mp3.desktop62
-rw-r--r--tdefile-plugins/mpc/CMakeLists.txt6
-rw-r--r--tdefile-plugins/mpc/tdefile_mpc.desktop48
-rw-r--r--tdefile-plugins/mpeg/CMakeLists.txt6
-rw-r--r--tdefile-plugins/mpeg/tdefile_mpeg.desktop47
-rw-r--r--tdefile-plugins/ogg/CMakeLists.txt6
-rw-r--r--tdefile-plugins/ogg/tdefile_ogg.desktop60
-rw-r--r--tdefile-plugins/sid/CMakeLists.txt6
-rw-r--r--tdefile-plugins/sid/tdefile_sid.desktop52
-rw-r--r--tdefile-plugins/theora/CMakeLists.txt6
-rw-r--r--tdefile-plugins/theora/tdefile_theora.desktop49
-rw-r--r--tdefile-plugins/wav/CMakeLists.txt6
-rw-r--r--tdefile-plugins/wav/tdefile_wav.desktop59
23 files changed, 61 insertions, 624 deletions
diff --git a/tdefile-plugins/CMakeL10n.txt b/tdefile-plugins/CMakeL10n.txt
index b585ce4a..af16c09a 100644
--- a/tdefile-plugins/CMakeL10n.txt
+++ b/tdefile-plugins/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tdefile-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/tdefile-plugins/au/CMakeLists.txt b/tdefile-plugins/au/CMakeLists.txt
index 669e348a..f90f878e 100644
--- a/tdefile-plugins/au/CMakeLists.txt
+++ b/tdefile-plugins/au/CMakeLists.txt
@@ -35,4 +35,8 @@ tde_add_kpart( tdefile_au AUTOMOC
##### other data ################################
-install( FILES tdefile_au.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_au.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/au/tdefile_au.desktop b/tdefile-plugins/au/tdefile_au.desktop
index 10e2c3cc..524b28fc 100644
--- a/tdefile-plugins/au/tdefile_au.desktop
+++ b/tdefile-plugins/au/tdefile_au.desktop
@@ -1,65 +1,6 @@
[Desktop Entry]
Type=Service
Name=AU Info
-Name[af]=Au Inligting
-Name[bg]=Информация за AU
-Name[br]=Titouroù AU
-Name[bs]=AU informacije
-Name[ca]=Informació AU
-Name[cs]=AU info
-Name[cy]=Gwybodaeth AU
-Name[da]=AU-info
-Name[de]=AU-Info
-Name[el]=Πληροφορίες AU
-Name[eo]=AU-informo
-Name[es]=Info AU
-Name[et]=AU info
-Name[eu]=AU informazioa
-Name[fa]=اطلاعات AU
-Name[fi]=AU-tiedot
-Name[fr]=Informations AU
-Name[gl]=Información AU
-Name[he]=מידע AU
-Name[hi]=AU जानकारी
-Name[hr]=AU Informacije
-Name[hu]=AU-jellemzők
-Name[is]=AU upplýsingar
-Name[it]=Informazioni AU
-Name[ja]=AU 情報
-Name[kk]=AU мәліметі
-Name[km]=ព័ត៌មាន AU
-Name[ko]=AU 정보
-Name[lt]=AU informacija
-Name[mk]=AU информации
-Name[nb]=AU informasjon
-Name[nds]=AU-Info
-Name[ne]=AU सूचना
-Name[nl]=AU-informatie
-Name[nn]=AU-info
-Name[pa]=AU ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku AU
-Name[pt]=Informação do AU
-Name[pt_BR]=Informação sobre AU
-Name[ro]=Informaţii AU
-Name[ru]=Сведения о AU
-Name[se]=AU-dieđut
-Name[sk]=AU info
-Name[sl]=Podatki o AU
-Name[sr]=Информације о AU-у
-Name[sr@Latn]=Informacije o AU-u
-Name[sv]=AU-information
-Name[ta]=AU தகவல்
-Name[tg]=AU Ахборот
-Name[th]=ข้อมูล AU
-Name[tr]=AU Bilgisi
-Name[uk]=Інформація по AU
-Name[uz]=XBM haqida maʼlumot
-Name[uz@cyrillic]=XBM ҳақида маълумот
-Name[xh]=Ulwazi lwe AU
-Name[zh_CN]=AU 信息
-Name[zh_HK]=AU 資訊
-Name[zh_TW]=AU 資訊
-Name[zu]=Ulwazi lwe-AU
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_au
MimeType=audio/basic
diff --git a/tdefile-plugins/avi/CMakeLists.txt b/tdefile-plugins/avi/CMakeLists.txt
index 9badedec..cbf5a9b8 100644
--- a/tdefile-plugins/avi/CMakeLists.txt
+++ b/tdefile-plugins/avi/CMakeLists.txt
@@ -35,4 +35,8 @@ tde_add_kpart( tdefile_avi AUTOMOC
##### other data ################################
-install( FILES tdefile_avi.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_avi.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/avi/tdefile_avi.desktop b/tdefile-plugins/avi/tdefile_avi.desktop
index c8954e74..5de75b97 100644
--- a/tdefile-plugins/avi/tdefile_avi.desktop
+++ b/tdefile-plugins/avi/tdefile_avi.desktop
@@ -1,66 +1,6 @@
[Desktop Entry]
Type=Service
Name=AVI Info
-Name[af]=Avi Inligting
-Name[bg]=Информация за AVI
-Name[bn]=এ-ভি-আই (AVI) তথ্য
-Name[br]=Titouroù AVI
-Name[bs]=AVI informacije
-Name[ca]=Informació AVI
-Name[cs]=AVI info
-Name[cy]=Gwybodaeth AVI
-Name[da]=AVI-info
-Name[de]=AVI-Info
-Name[el]=Πληροφορίες AVI
-Name[eo]=AVI-informo
-Name[es]=Info AVI
-Name[et]=AVI info
-Name[eu]=AVI informazioa
-Name[fa]=اطلاعات AVI
-Name[fi]=AVI-tiedot
-Name[fr]=Informations AVI
-Name[gl]=Información AVI
-Name[he]=מידע AVI
-Name[hi]=AVI जानकारी
-Name[hr]=AVI Informacije
-Name[hu]=AVI-jellemzők
-Name[is]=AVI upplýsingar
-Name[it]=Informazioni AVI
-Name[ja]=AVI 情報
-Name[kk]=AVI мәліметі
-Name[km]=ព័ត៌មាន AVI
-Name[ko]=AVI 정보
-Name[lt]=AVI informacija
-Name[mk]=AVI информации
-Name[nb]=AVI informasjon
-Name[nds]=AVI-Info
-Name[ne]=AVI सूचना
-Name[nl]=AVI-informatie
-Name[nn]=AVI-info
-Name[pa]=AVI ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku AVI
-Name[pt]=Informação do AVI
-Name[pt_BR]=Informação sobre AVI
-Name[ro]=Informaţii AVI
-Name[ru]=Сведения о AVI
-Name[se]=AVI-dieđut
-Name[sk]=AVI info
-Name[sl]=Podatki o AVI
-Name[sr]=Информације о AVI-ју
-Name[sr@Latn]=Informacije o AVI-ju
-Name[sv]=Avi-information
-Name[ta]=AVI தகவல்
-Name[tg]=AVI Ахборот
-Name[th]=ข้อมูล AVI
-Name[tr]=AVI Bilgisi
-Name[uk]=Інформація по AVI
-Name[uz]=AVI haqida maʼlumot
-Name[uz@cyrillic]=AVI ҳақида маълумот
-Name[xh]=Ulwazi lwe AVI
-Name[zh_CN]=AVI 信息
-Name[zh_HK]=AVI 資訊
-Name[zh_TW]=AVI 資訊
-Name[zu]=Ulwazi lwe-AVI
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_avi
MimeType=video/x-msvideo
diff --git a/tdefile-plugins/flac/CMakeLists.txt b/tdefile-plugins/flac/CMakeLists.txt
index d668adf2..4415e76d 100644
--- a/tdefile-plugins/flac/CMakeLists.txt
+++ b/tdefile-plugins/flac/CMakeLists.txt
@@ -36,4 +36,8 @@ tde_add_kpart( tdefile_flac AUTOMOC
##### other data ################################
-install( FILES tdefile_flac.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_flac.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/flac/tdefile_flac.desktop b/tdefile-plugins/flac/tdefile_flac.desktop
index 0f7d1d8e..98e1098a 100644
--- a/tdefile-plugins/flac/tdefile_flac.desktop
+++ b/tdefile-plugins/flac/tdefile_flac.desktop
@@ -1,60 +1,6 @@
[Desktop Entry]
Type=Service
Name=FLAC Info
-Name[bg]=Информация за FLAC
-Name[bn]=ফ্ল্যাক (FLAC) তথ্য
-Name[br]=Titouroù FLAC
-Name[bs]=FLAC informacije
-Name[ca]=Informació FLAC
-Name[cs]=FLAC info
-Name[cy]=Gwybodaeth FLAC
-Name[da]=FLAC-Info
-Name[de]=FLAC-Info
-Name[el]=Πληροφορίες FLAC
-Name[es]=Info FLAC
-Name[et]=FLAC info
-Name[eu]=FLAC Informazioa
-Name[fa]=اطلاعات FLAC
-Name[fi]=FLAC-tiedot
-Name[fr]=Informations FLAC
-Name[gl]=Información FLAC
-Name[he]=מידע FLAC
-Name[hi]=FLAC जानकारी
-Name[hu]=FLAC-jellemzők
-Name[is]=AU upplýsingar
-Name[it]=Informazioni FLAC
-Name[ja]=FLAC 情報
-Name[kk]=FLAC мәліметі
-Name[km]=ព័ត៌មាន FLAC
-Name[ko]=FLAC 정보
-Name[lt]=FLAC informacija
-Name[mk]=FLAC информации
-Name[nb]=FLAC informasjon
-Name[nds]=FLAC-Info
-Name[ne]=FLAC सूचना
-Name[nl]=FLAC-informatie
-Name[nn]=FLAC-info
-Name[pa]=FLAC ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku FLAC
-Name[pt]=Informação do FLAC
-Name[pt_BR]=Informação sobre FLAC
-Name[ro]=Informaţii FLAC
-Name[ru]=Сведения о FLAC
-Name[sk]=FLAC info
-Name[sl]=Podatki o FLAC
-Name[sr]=Информације о FLAC-у
-Name[sr@Latn]=Informacije o FLAC-u
-Name[sv]=FLAC-information
-Name[ta]=FLAC தகவல்
-Name[tg]=FLAC Ахборот
-Name[th]=ขอมูล FLAC
-Name[tr]=FLAC Bilgisi
-Name[uk]=Інформація по FLAC
-Name[uz]=FLAC haqida maʼlumot
-Name[uz@cyrillic]=FLAC ҳақида маълумот
-Name[zh_CN]=FLAC 信息
-Name[zh_HK]=FLAC 資訊
-Name[zh_TW]=FLAC 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_flac
MimeType=audio/x-flac;audio/x-oggflac
diff --git a/tdefile-plugins/m3u/CMakeLists.txt b/tdefile-plugins/m3u/CMakeLists.txt
index 087194fa..10b16a11 100644
--- a/tdefile-plugins/m3u/CMakeLists.txt
+++ b/tdefile-plugins/m3u/CMakeLists.txt
@@ -35,4 +35,8 @@ tde_add_kpart( tdefile_m3u AUTOMOC
##### other data ################################
-install( FILES tdefile_m3u.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_m3u.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/m3u/tdefile_m3u.desktop b/tdefile-plugins/m3u/tdefile_m3u.desktop
index 88b84949..d3f9ec9b 100644
--- a/tdefile-plugins/m3u/tdefile_m3u.desktop
+++ b/tdefile-plugins/m3u/tdefile_m3u.desktop
@@ -1,69 +1,6 @@
[Desktop Entry]
Type=Service
Name=M3U Playlist Info
-Name[af]=M3u Liedjielys Inligting
-Name[ar]=معلومات قوائم M3U
-Name[az]=MP3 Mahnı Siyahısı İnfosu
-Name[bg]=Информация за списък M3U
-Name[bn]=এম-৩-ইউ (M3U) সঙ্গীত-তালিকা তথ্য
-Name[br]=Titouroù Rollc'hoari MP3
-Name[bs]=M3U Playlist informacije
-Name[ca]=Informació de selecció de peces M3U
-Name[cs]=Informace o seznamu skladeb M3U
-Name[cy]=Gwybodaeth Rhestr Chwarae M3U
-Name[da]=M3U-spillelisteinfo
-Name[de]=M3U-Wiedergabelisten-Info
-Name[el]=Πληροφορίες λίστας αναπαραγωγής M3U
-Name[eo]=M3U-ludlistinformo
-Name[es]=Información de lista de reproducción M3U
-Name[et]=M3U esitusnimekirja info
-Name[eu]=M3U erreprodukzio-zerrenda informazioa
-Name[fa]=اطلاعات فهرست پخش M3U
-Name[fi]=M3U-soittolistan tiedot
-Name[fr]=Informations sur une liste de lecture M3U
-Name[ga]=Eolas Seinmliosta M3U
-Name[gl]=Información de Lista M3U
-Name[he]=מידע על רשימות ניגון של M3U
-Name[hi]=M3U गीत-सूची जानकारी
-Name[hr]=Informacije o M3U listi pjesama
-Name[hu]=Az M3U lejátszási lista jellemzői
-Name[is]=M3U lagalistaupplýsingar
-Name[it]=Informazioni playlist M3U
-Name[ja]=M3U プレイリスト情報
-Name[kk]=M3U орындау тізім мәліметі
-Name[km]=ព័ត៌មាន​បញ្ជី​ចាក់ M3U
-Name[ko]=M3U 재생목록 정보
-Name[lt]=M3U gaidaraščio informacija
-Name[lv]=M3U Plejlistu Info
-Name[mk]=Информации за M3U листа со нумери
-Name[nb]=M3U spilleliste informasjon
-Name[nds]=M3U-Weddergaavlist-Info
-Name[ne]=M3U बजाउने सूची सूचना
-Name[nl]=M3U Speellijst-informatie
-Name[nn]=M3U-spelelisteinfo
-Name[pa]=M3U ਸੰਗੀਤ-ਸੂਚੀ ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o liście nagrań w M3U
-Name[pt]=Informação da Lista de Músicas M3U
-Name[pt_BR]=Informações de listas de reprodução M3U
-Name[ro]=Informaţii listă M3U
-Name[ru]=Сведения о списке песен M3U
-Name[se]=M3U-čuojahanlistodieđut
-Name[sk]=Informácie o playliste M3U
-Name[sl]=Podatki o predvajalnem seznamu M3U
-Name[sr]=Информације о M3U листи нумера
-Name[sr@Latn]=Informacije o M3U listi numera
-Name[sv]=Information om M3U-spellista
-Name[ta]=M3U பாடல்பட்டியல் தகவல்
-Name[tg]=M3U Ахбороти Рӯйхати бозикуниҳо
-Name[th]=ข้อมูลรายการเพลง M3U
-Name[tr]=M3U Çalma Listesi Bilgisi
-Name[uk]=Інформація списку композицій M3U
-Name[ven]=Mavhungo a mutevhe wa tshitambi tsha M3U
-Name[xh]=M3U Ulwazi Loluhlu Lokudlala
-Name[zh_CN]=M3U 播放列表信息
-Name[zh_HK]=M3U 播放清單資訊
-Name[zh_TW]=M3U 播放清單資訊
-Name[zu]=Ulwazi Lohlu lokudlala lwe-M3U
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_m3u
MimeType=audio/x-mpegurl
diff --git a/tdefile-plugins/mp3/CMakeLists.txt b/tdefile-plugins/mp3/CMakeLists.txt
index b75b7ccb..46cb051a 100644
--- a/tdefile-plugins/mp3/CMakeLists.txt
+++ b/tdefile-plugins/mp3/CMakeLists.txt
@@ -36,4 +36,8 @@ tde_add_kpart( tdefile_mp3 AUTOMOC
##### other data ################################
-install( FILES tdefile_mp3.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_mp3.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/mp3/tdefile_mp3.desktop b/tdefile-plugins/mp3/tdefile_mp3.desktop
index ac1c6d22..617ecc02 100644
--- a/tdefile-plugins/mp3/tdefile_mp3.desktop
+++ b/tdefile-plugins/mp3/tdefile_mp3.desktop
@@ -1,68 +1,6 @@
[Desktop Entry]
Type=Service
Name=MP3 Info
-Name[af]=Mp3 Inligting
-Name[ar]=معلومات MP3
-Name[bg]=Информация за MP3
-Name[bn]=এম-পি-৩ (MP3) তথ্য
-Name[br]=Titouroù MP3
-Name[bs]=MP3 informacije
-Name[ca]=Informació MP3
-Name[cs]=MP3 info
-Name[cy]=Gwybodaeth MP3
-Name[da]=MP3-info
-Name[de]=MP3-Info
-Name[el]=Πληροφορίες MP3
-Name[eo]=MP3-informo
-Name[es]=Info MP3
-Name[et]=MP3 info
-Name[eu]=MP3 informazioa
-Name[fa]=اطلاعات MP3
-Name[fi]=MP3-tiedot
-Name[fr]=Informations Mpeg3
-Name[gl]=Información MP3
-Name[he]=מידע MP3
-Name[hi]=MP3 जानकारी
-Name[hr]=Informacije o MP3 datoteci
-Name[hu]=MP3-jellemzők
-Name[is]=MP3 upplýsingar
-Name[it]=Informazioni MP3
-Name[ja]=MP3 情報
-Name[kk]=MP3 мәліметі
-Name[km]=ព័ត៌មាន MP3
-Name[ko]=MP3 정보
-Name[lt]=MP3 informacija
-Name[mk]=MP3 информации
-Name[nb]=MP3 informasjon
-Name[nds]=MP3-Info
-Name[ne]=MP3 सूचना
-Name[nl]=MP3-informatie
-Name[nn]=MP3-info
-Name[pa]=MP3 ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku MP3
-Name[pt]=Informação do MP3
-Name[pt_BR]=Informações sobre MP3
-Name[ro]=Informaţii MP3
-Name[ru]=Сведения о MP3
-Name[rw]=Amakuru MP3
-Name[se]=MP3-dieđut
-Name[sl]=Podatki o MP3
-Name[sr]=Информације о MP3-ју
-Name[sr@Latn]=Informacije o MP3-ju
-Name[sv]=MP3-information
-Name[ta]=MP3 தகவல்
-Name[tg]=MP3 Ахборот
-Name[th]=ข้อมูล MP3
-Name[tr]=MP3 Bilgisi
-Name[uk]=Інформація по MP3
-Name[uz]=MP3 haqida maʼlumot
-Name[uz@cyrillic]=MP3 ҳақида маълумот
-Name[wa]=Infôrmåcion MP3
-Name[xh]=MP3 ulwazi
-Name[zh_CN]=MP3 信息
-Name[zh_HK]=MP3 資訊
-Name[zh_TW]=MP3 資訊
-Name[zu]=Ulwazi lwe-MP3
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_mp3
MimeType=audio/x-mp3
diff --git a/tdefile-plugins/mpc/CMakeLists.txt b/tdefile-plugins/mpc/CMakeLists.txt
index b9f7d764..07725916 100644
--- a/tdefile-plugins/mpc/CMakeLists.txt
+++ b/tdefile-plugins/mpc/CMakeLists.txt
@@ -36,4 +36,8 @@ tde_add_kpart( tdefile_mpc AUTOMOC
##### other data ################################
-install( FILES tdefile_mpc.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_mpc.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/mpc/tdefile_mpc.desktop b/tdefile-plugins/mpc/tdefile_mpc.desktop
index e0c570ac..8e23f41e 100644
--- a/tdefile-plugins/mpc/tdefile_mpc.desktop
+++ b/tdefile-plugins/mpc/tdefile_mpc.desktop
@@ -1,54 +1,6 @@
[Desktop Entry]
Type=Service
Name=Musepack Info
-Name[bg]=Информация за Musepack
-Name[br]=Titouroù Musepack
-Name[bs]=Musepack informacije
-Name[ca]=Informació Musepack
-Name[cs]=Musepack info
-Name[de]=Musepack-Info
-Name[el]=Πληροφορίες Musepack
-Name[eo]=epack-informo
-Name[es]=Info Musepack
-Name[et]=Musepacki info
-Name[eu]=Musepack informazioa
-Name[fa]=اطلاعات Musepack
-Name[fi]=Musepack-tiedot
-Name[fr]=Informations Musepack
-Name[ga]=Eolas faoi Musepack
-Name[gl]=Información Musepack
-Name[he]=מידע Musepack
-Name[hu]=Musepack-jellemzők
-Name[is]=Musepack upplýsingar
-Name[it]=Informazioni Musepack
-Name[ja]=Musepack 情報
-Name[kk]=Musepack мәліметі
-Name[km]=ព័ត៌មាន Musepack
-Name[ko]=Musepack 정보
-Name[lt]=Musepack informacija
-Name[mk]=Musepack информации
-Name[nb]=Musepack-info
-Name[nds]=Musepack-Info
-Name[ne]=म्युजप्याक सूचना
-Name[nl]=Musepack-informatie
-Name[nn]=Musepack-info
-Name[pa]=Musepack ਜਾਣਕਾਰੀ
-Name[pl]=Informacja Musepack
-Name[pt]=Informação do Musepack
-Name[pt_BR]=Informações sobre Musepack
-Name[ro]=Informaţii Musepack
-Name[ru]=Сведения о Musepack
-Name[sl]=Podatki o Musepack
-Name[sr]=Информације о Musepack-у
-Name[sr@Latn]=Informacije o Musepack-u
-Name[sv]=Musepack-information
-Name[ta]=MP3 தகவல்
-Name[th]=ข้อมูล Musepack
-Name[tr]=MusePack Bilgisi
-Name[uk]=Інформація по Musepack
-Name[zh_CN]=Musepack 信息
-Name[zh_HK]=Musepack 資訊
-Name[zh_TW]=Musepack 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_mpc
MimeType=audio/x-musepack
diff --git a/tdefile-plugins/mpeg/CMakeLists.txt b/tdefile-plugins/mpeg/CMakeLists.txt
index 45e73226..e51bb877 100644
--- a/tdefile-plugins/mpeg/CMakeLists.txt
+++ b/tdefile-plugins/mpeg/CMakeLists.txt
@@ -36,4 +36,8 @@ tde_add_kpart( tdefile_mpeg AUTOMOC
##### other data ################################
-install( FILES tdefile_mpeg.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_mpeg.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/mpeg/tdefile_mpeg.desktop b/tdefile-plugins/mpeg/tdefile_mpeg.desktop
index d3451b2d..392f94b3 100644
--- a/tdefile-plugins/mpeg/tdefile_mpeg.desktop
+++ b/tdefile-plugins/mpeg/tdefile_mpeg.desktop
@@ -1,53 +1,6 @@
[Desktop Entry]
Type=Service
Name=MPEG Info
-Name[bg]=Информация за MPEG
-Name[bn]=এম-পেগ তথ্য
-Name[br]=Titouroù MPEG
-Name[bs]=MPEG informacije
-Name[ca]=Informació MPEG
-Name[cs]=MPEG info
-Name[da]=MPEG-info
-Name[de]=MPEG-Info
-Name[el]=Πληροφορίες MPEG
-Name[eo]=MPEG-informo
-Name[es]=Info MPEG
-Name[et]=MPEG info
-Name[eu]=MPEG informazioa
-Name[fa]=اطلاعات MPEG
-Name[fi]=MPEG-tiedot
-Name[fr]=Informations MPEG
-Name[ga]=Eolas MPEG
-Name[gl]=Información MPEG
-Name[he]=מידע MPEG
-Name[hu]=MPEG-jellemzők
-Name[is]=MPEG upplýsingar
-Name[it]=Informazioni MPEG
-Name[ja]=MPEG 情報
-Name[kk]=MPEG мәліметі
-Name[km]=ព័ត៌មាន MPEG
-Name[ko]=MPEG 정보
-Name[lt]=MPEG informacija
-Name[nb]=MPEG informasjon
-Name[nds]=MPEG-Info
-Name[ne]=एमपीईजी सूचना
-Name[nl]=MPEG-info
-Name[nn]=MPEG-info
-Name[pa]=MPEG ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku MPEG
-Name[pt]=Informação do MPEG
-Name[pt_BR]=Informações sobre MPEG
-Name[ru]=Сведения о MPEG
-Name[sl]=Podatki o MPEG
-Name[sr]=Информације о MPEG-у
-Name[sr@Latn]=Informacije o MPEG-u
-Name[sv]=MPEG-information
-Name[th]=ข้อมูล MPEG
-Name[tr]=MP3 Bilgisi
-Name[uk]=Інформація про MPEG
-Name[zh_CN]=MPEG 信息
-Name[zh_HK]=MPEG 資訊
-Name[zh_TW]=MPEG 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_mpeg
MimeType=video/mpeg
diff --git a/tdefile-plugins/ogg/CMakeLists.txt b/tdefile-plugins/ogg/CMakeLists.txt
index e00a3ad9..f7b97e91 100644
--- a/tdefile-plugins/ogg/CMakeLists.txt
+++ b/tdefile-plugins/ogg/CMakeLists.txt
@@ -35,4 +35,8 @@ tde_add_kpart( tdefile_ogg AUTOMOC
##### other data ################################
-install( FILES tdefile_ogg.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_ogg.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/ogg/tdefile_ogg.desktop b/tdefile-plugins/ogg/tdefile_ogg.desktop
index 05575828..c5ce2b83 100644
--- a/tdefile-plugins/ogg/tdefile_ogg.desktop
+++ b/tdefile-plugins/ogg/tdefile_ogg.desktop
@@ -1,66 +1,6 @@
[Desktop Entry]
Type=Service
Name=OGG Info
-Name[af]=Ogg Inligting
-Name[ar]=معلومات OGG
-Name[bg]=Информация за OGG
-Name[bn]=অগ তথ্য
-Name[br]=Titouroù OGG
-Name[bs]=OGG informacije
-Name[ca]=Informació OGG
-Name[cs]=OGG info
-Name[cy]=Gwybodaeth OGG
-Name[da]=OGG-info
-Name[de]=OGG-Info
-Name[el]=Πληροφορίες OGG
-Name[eo]=OGG-informo
-Name[es]=Info OGG
-Name[et]=OGG info
-Name[eu]=OGG informazioa
-Name[fa]=اطلاعات OGG
-Name[fi]=OGG-tiedot
-Name[fr]=Informations Ogg Vorbis
-Name[gl]=Información OGG
-Name[he]=מידע OGG
-Name[hi]=OGG जानकारी
-Name[hr]=Informacije o OGG datoteci
-Name[hu]=OGG-jellemzők
-Name[is]=OGG upplýsingar
-Name[it]=Informazioni OGG
-Name[ja]=OGG 情報
-Name[kk]=OGG мәліметі
-Name[km]=ព័ត៌មាន OGG
-Name[ko]=OGG 정보
-Name[lt]=OGG informacija
-Name[mk]=OGG информации
-Name[nb]=OGG informasjon
-Name[nds]=Ogg-Info
-Name[ne]=अग सूचना
-Name[nl]=OGG-informatie
-Name[nn]=OGG-info
-Name[pa]=OGG ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku OGG
-Name[pt]=Informação do OGG
-Name[pt_BR]=Informação sobre OGG
-Name[ro]=Informaţii OGG
-Name[ru]=Сведения о OGG
-Name[se]=OGG-dieđut
-Name[sl]=Podatki o OGG
-Name[sr]=Информације о OGG-у
-Name[sr@Latn]=Informacije o OGG-u
-Name[sv]=Ogg-information
-Name[ta]=OGG தகவல்
-Name[tg]=OGG Ахборот
-Name[th]=ข้อมูล OGG
-Name[tr]=OGG Bilgisi
-Name[uk]=Інформація по OGG
-Name[uz]=OGG haqida maʼlumot
-Name[uz@cyrillic]=OGG ҳақида маълумот
-Name[xh]=OGG Ulwazi
-Name[zh_CN]=OGG 信息
-Name[zh_HK]=OGG 資訊
-Name[zh_TW]=OGG 資訊
-Name[zu]=Ulwazi lwe OGG
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_ogg
MimeType=audio/vorbis
diff --git a/tdefile-plugins/sid/CMakeLists.txt b/tdefile-plugins/sid/CMakeLists.txt
index 5802a35a..68c8f94a 100644
--- a/tdefile-plugins/sid/CMakeLists.txt
+++ b/tdefile-plugins/sid/CMakeLists.txt
@@ -35,4 +35,8 @@ tde_add_kpart( tdefile_sid AUTOMOC
##### other data ################################
-install( FILES tdefile_sid.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_sid.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/sid/tdefile_sid.desktop b/tdefile-plugins/sid/tdefile_sid.desktop
index 1b39acc1..115a6c62 100644
--- a/tdefile-plugins/sid/tdefile_sid.desktop
+++ b/tdefile-plugins/sid/tdefile_sid.desktop
@@ -1,58 +1,6 @@
[Desktop Entry]
Type=Service
Name=SID Info
-Name[bg]=Информация за SID
-Name[br]=Titouroù SID
-Name[bs]=SID informacije
-Name[ca]=Informació SID
-Name[cs]=SID info
-Name[cy]=Gwybodaeth SID
-Name[da]=SID-info
-Name[de]=SID-Info
-Name[el]=Πληροφορίες SID
-Name[eo]=SID-informo
-Name[es]=Info SID
-Name[et]=SID info
-Name[eu]=SID informazioa
-Name[fa]=اطلاعات SID
-Name[fi]=SID-tiedot
-Name[fr]=Informations SID
-Name[ga]=Eolas faoi SID
-Name[gl]=Información SID
-Name[he]=מידע SID
-Name[hu]=SID-jellemzők
-Name[is]=SID upplýsingar
-Name[it]=Informazioni SID
-Name[ja]=SID 情報
-Name[kk]=SID мәліметі
-Name[km]=ព័ត៌មាន SID
-Name[ko]=SID 정보
-Name[lt]=SID Informacija
-Name[mk]=SID информации
-Name[nb]=SID-info
-Name[nds]=SID-Info
-Name[ne]=एसआईडी सूचना
-Name[nl]=SID-informatie
-Name[nn]=SID-info
-Name[pa]=SID ਜਾਣਕਾਰੀ
-Name[pl]=Informacja CD
-Name[pt]=Informação do SID
-Name[pt_BR]=Informação sobre SID
-Name[ro]=Informaţii SID
-Name[ru]=Сведения о SID
-Name[sk]=SID info
-Name[sl]=Podatki o SID
-Name[sr]=Информације о SID-у
-Name[sr@Latn]=Informacije o SID-u
-Name[sv]=SID-information
-Name[ta]=SID தகவல்
-Name[tg]=SID Ахборот
-Name[th]=ข้อมูล SID
-Name[tr]=SID Bilgisi
-Name[uk]=Інформація по SID
-Name[zh_CN]=SID 信息
-Name[zh_HK]=SID 資訊
-Name[zh_TW]=SID 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_sid
MimeType=audio/prs.sid
diff --git a/tdefile-plugins/theora/CMakeLists.txt b/tdefile-plugins/theora/CMakeLists.txt
index ab088244..f1333110 100644
--- a/tdefile-plugins/theora/CMakeLists.txt
+++ b/tdefile-plugins/theora/CMakeLists.txt
@@ -37,4 +37,8 @@ tde_add_kpart( tdefile_theora AUTOMOC
##### other data ################################
-install( FILES tdefile_theora.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_theora.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/theora/tdefile_theora.desktop b/tdefile-plugins/theora/tdefile_theora.desktop
index efb118e5..47fde380 100644
--- a/tdefile-plugins/theora/tdefile_theora.desktop
+++ b/tdefile-plugins/theora/tdefile_theora.desktop
@@ -1,55 +1,6 @@
[Desktop Entry]
Type=Service
Name=theora Info
-Name[bg]=Информация за theora
-Name[bn]=থিওরা তথ্য
-Name[br]=Titouroù diwar-benn theora
-Name[bs]=theora informacije
-Name[ca]=Informació theora
-Name[cs]=theora info
-Name[de]=Theora-Info
-Name[el]=Πληροφορίες theora
-Name[eo]=theora-informo
-Name[es]=Info Theora
-Name[et]=Theora info
-Name[eu]=theora informazioa
-Name[fa]=اطلاعات theora
-Name[fi]=Theoran tiedot
-Name[fr]=Informations theora
-Name[ga]=Eolas faoi theora
-Name[gl]=Información theora
-Name[he]=מידע theora
-Name[hu]=Theora-jellemzők
-Name[is]=theora upplýsingar
-Name[it]=Informazioni su theora
-Name[ja]=theora 情報
-Name[kk]=theora мәліметі
-Name[km]=ព័ត៌មាន theora
-Name[ko]=theora 정보
-Name[lt]=theora Informacija
-Name[mk]=theora информации
-Name[nb]=theora-info
-Name[nds]=Theora-Info
-Name[ne]=थिवरा सूचना
-Name[nl]=theora-informatie
-Name[nn]=theora-info
-Name[pa]=theora (ਥੋਰਾ) ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku theora
-Name[pt]=Informação do theora
-Name[pt_BR]=Informação sobre theora
-Name[ru]=Сведения о theora
-Name[sk]=theora info
-Name[sl]=Podatki o Theora
-Name[sr]=Информације о theora-и
-Name[sr@Latn]=Informacije o theora-i
-Name[sv]=Theora-information
-Name[ta]= தியோரா தகவல்
-Name[th]=ข้อมูล theora
-Name[tr]=theora Bilgisi
-Name[uk]=Інформація по theora
-Name[zh_CN]=theora 信息
-Name[zh_HK]=theora 資訊
-Name[zh_TW]=theora 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_theora
# change MimeType here! (example: inode/directory)
diff --git a/tdefile-plugins/wav/CMakeLists.txt b/tdefile-plugins/wav/CMakeLists.txt
index 30a95083..c0d39017 100644
--- a/tdefile-plugins/wav/CMakeLists.txt
+++ b/tdefile-plugins/wav/CMakeLists.txt
@@ -36,4 +36,8 @@ tde_add_kpart( tdefile_wav AUTOMOC
##### other data ################################
-install( FILES tdefile_wav.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_wav.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/wav/tdefile_wav.desktop b/tdefile-plugins/wav/tdefile_wav.desktop
index ea2737b6..0c5128ad 100644
--- a/tdefile-plugins/wav/tdefile_wav.desktop
+++ b/tdefile-plugins/wav/tdefile_wav.desktop
@@ -1,65 +1,6 @@
[Desktop Entry]
Type=Service
Name=WAV Info
-Name[af]=Wav Inligting
-Name[ar]=معلومات WAV
-Name[bg]=Информация за WAV
-Name[br]=Titouroù WAV
-Name[bs]=WAV informacije
-Name[ca]=Informació WAV
-Name[cs]=WAV info
-Name[cy]=Gwybodaeth WAV
-Name[da]=WAV-info
-Name[de]=WAV-Info
-Name[el]=Πληροφορίες WAV
-Name[eo]=WAV-informo
-Name[es]=Info WAV
-Name[et]=WAV info
-Name[eu]=WAV informazioa
-Name[fa]=اطلاعات WAV
-Name[fi]=WAV-tiedot
-Name[fr]=Informations Wave
-Name[gl]=Información WAV
-Name[he]=מידע WAV
-Name[hi]=WAV जानकारी
-Name[hr]=Informacije o WAV datoteci
-Name[hu]=WAV-jellemzők
-Name[is]=WAV upplýsingar
-Name[it]=Informazioni WAV
-Name[ja]=WAV 情報
-Name[kk]=WAV мәліметі
-Name[km]=ព័ត៌មាន WAV
-Name[ko]=WAV 정보
-Name[lt]=WAV informacija
-Name[mk]=WAV информации
-Name[nb]=WAV informasjon
-Name[nds]=WAV-Info
-Name[ne]=वाभ सूचना
-Name[nl]=WAV-informatie
-Name[nn]=WAV-info
-Name[pa]=WAV ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku WAV
-Name[pt]=Informação do WAV
-Name[pt_BR]=Informação sobre WAV
-Name[ro]=Informaţii WAV
-Name[ru]=Сведения о WAV
-Name[se]=WAV-dieđut
-Name[sl]=Podatki o WAV
-Name[sr]=Информације о WAV-у
-Name[sr@Latn]=Informacije o WAV-u
-Name[sv]=Wav-information
-Name[ta]=WAV தகவல்
-Name[tg]=WAV Ахборот
-Name[th]=ข้อมูล WAV
-Name[tr]=WAV Bilgisi
-Name[uk]=Інформація по WAV
-Name[uz]=WAV haqida maʼlumot
-Name[uz@cyrillic]=WAV ҳақида маълумот
-Name[xh]=MAV Ulwazi
-Name[zh_CN]=WAV 信息
-Name[zh_HK]=WAV 資訊
-Name[zh_TW]=WAV 資訊
-Name[zu]=Ulwazi lwe WAV
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_wav
MimeType=audio/x-wav