diff options
author | Slávek Banko <[email protected]> | 2020-05-30 00:57:03 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-30 01:05:29 +0200 |
commit | d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d (patch) | |
tree | 060933b7cc6b5aa928a37c4868330f58fb5b6294 /tdefile-plugins/mpc | |
parent | 77d1049eb65f4d8bd24351c5c1a8d6344bf3ec62 (diff) | |
download | tdemultimedia-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/mpc')
-rw-r--r-- | tdefile-plugins/mpc/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdefile-plugins/mpc/tdefile_mpc.desktop | 48 |
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 |