summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/mpc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-30 00:57:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-30 00:57:05 +0200
commitff3f2006ce72b2edabc534188a4ad006e89b4f84 (patch)
treec81f41ffa6e329ddadd048e07b553af2154f5e16 /tdefile-plugins/mpc
parent9817ad52c6376ae54f5e4e4d11a31d958cc85faa (diff)
downloadtdemultimedia-ff3f2006ce72b2edabc534188a4ad006e89b4f84.tar.gz
tdemultimedia-ff3f2006ce72b2edabc534188a4ad006e89b4f84.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>
Diffstat (limited to 'tdefile-plugins/mpc')
-rw-r--r--tdefile-plugins/mpc/CMakeLists.txt6
-rw-r--r--tdefile-plugins/mpc/tdefile_mpc.desktop48
2 files changed, 5 insertions, 49 deletions
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