summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/flac
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/flac
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/flac')
-rw-r--r--tdefile-plugins/flac/CMakeLists.txt6
-rw-r--r--tdefile-plugins/flac/tdefile_flac.desktop54
2 files changed, 5 insertions, 55 deletions
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