summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/theora
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/theora
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/theora')
-rw-r--r--tdefile-plugins/theora/CMakeLists.txt6
-rw-r--r--tdefile-plugins/theora/tdefile_theora.desktop49
2 files changed, 5 insertions, 50 deletions
diff --git a/tdefile-plugins/theora/CMakeLists.txt b/tdefile-plugins/theora/CMakeLists.txt
index ab088244..f1333110 100644
--- a/tdefile-plugins/theora/CMakeLists.txt
+++ b/tdefile-plugins/theora/CMakeLists.txt
@@ -37,4 +37,8 @@ tde_add_kpart( tdefile_theora AUTOMOC
##### other data ################################
-install( FILES tdefile_theora.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_theora.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+)
diff --git a/tdefile-plugins/theora/tdefile_theora.desktop b/tdefile-plugins/theora/tdefile_theora.desktop
index efb118e5..47fde380 100644
--- a/tdefile-plugins/theora/tdefile_theora.desktop
+++ b/tdefile-plugins/theora/tdefile_theora.desktop
@@ -1,55 +1,6 @@
[Desktop Entry]
Type=Service
Name=theora Info
-Name[bg]=Информация за theora
-Name[bn]=থিওরা তথ্য
-Name[br]=Titouroù diwar-benn theora
-Name[bs]=theora informacije
-Name[ca]=Informació theora
-Name[cs]=theora info
-Name[de]=Theora-Info
-Name[el]=Πληροφορίες theora
-Name[eo]=theora-informo
-Name[es]=Info Theora
-Name[et]=Theora info
-Name[eu]=theora informazioa
-Name[fa]=اطلاعات theora
-Name[fi]=Theoran tiedot
-Name[fr]=Informations theora
-Name[ga]=Eolas faoi theora
-Name[gl]=Información theora
-Name[he]=מידע theora
-Name[hu]=Theora-jellemzők
-Name[is]=theora upplýsingar
-Name[it]=Informazioni su theora
-Name[ja]=theora 情報
-Name[kk]=theora мәліметі
-Name[km]=ព័ត៌មាន theora
-Name[ko]=theora 정보
-Name[lt]=theora Informacija
-Name[mk]=theora информации
-Name[nb]=theora-info
-Name[nds]=Theora-Info
-Name[ne]=थिवरा सूचना
-Name[nl]=theora-informatie
-Name[nn]=theora-info
-Name[pa]=theora (ਥੋਰਾ) ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku theora
-Name[pt]=Informação do theora
-Name[pt_BR]=Informação sobre theora
-Name[ru]=Сведения о theora
-Name[sk]=theora info
-Name[sl]=Podatki o Theora
-Name[sr]=Информације о theora-и
-Name[sr@Latn]=Informacije o theora-i
-Name[sv]=Theora-information
-Name[ta]= தியோரா தகவல்
-Name[th]=ข้อมูล theora
-Name[tr]=theora Bilgisi
-Name[uk]=Інформація по theora
-Name[zh_CN]=theora 信息
-Name[zh_HK]=theora 資訊
-Name[zh_TW]=theora 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_theora
# change MimeType here! (example: inode/directory)