summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/mp3
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 01:05:29 +0200
commitd11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d (patch)
tree060933b7cc6b5aa928a37c4868330f58fb5b6294 /tdefile-plugins/mp3
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 <slavek.banko@axis.cz> (cherry picked from commit ff3f2006ce72b2edabc534188a4ad006e89b4f84)
Diffstat (limited to 'tdefile-plugins/mp3')
-rw-r--r--tdefile-plugins/mp3/CMakeLists.txt6
-rw-r--r--tdefile-plugins/mp3/tdefile_mp3.desktop62
2 files changed, 5 insertions, 63 deletions
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