summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/mpeg
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/mpeg
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/mpeg')
-rw-r--r--tdefile-plugins/mpeg/CMakeLists.txt6
-rw-r--r--tdefile-plugins/mpeg/tdefile_mpeg.desktop47
2 files changed, 5 insertions, 48 deletions
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