diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-30 00:57:03 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-30 00:57:05 +0200 |
commit | ff3f2006ce72b2edabc534188a4ad006e89b4f84 (patch) | |
tree | c81f41ffa6e329ddadd048e07b553af2154f5e16 /xine_artsplugin/tools/thumbnail | |
parent | 9817ad52c6376ae54f5e4e4d11a31d958cc85faa (diff) | |
download | tdemultimedia-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 'xine_artsplugin/tools/thumbnail')
-rw-r--r-- | xine_artsplugin/tools/thumbnail/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | xine_artsplugin/tools/thumbnail/CMakeLists.txt | 5 | ||||
-rw-r--r-- | xine_artsplugin/tools/thumbnail/videothumbnail.desktop | 63 |
3 files changed, 11 insertions, 64 deletions
diff --git a/xine_artsplugin/tools/thumbnail/CMakeL10n.txt b/xine_artsplugin/tools/thumbnail/CMakeL10n.txt new file mode 100644 index 00000000..1f4eaf02 --- /dev/null +++ b/xine_artsplugin/tools/thumbnail/CMakeL10n.txt @@ -0,0 +1,7 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "desktop_files/videothumbnail.desktop/" + SOURCES videothumbnail.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/xine_artsplugin/tools/thumbnail/CMakeLists.txt b/xine_artsplugin/tools/thumbnail/CMakeLists.txt index 0517e975..4dbc9502 100644 --- a/xine_artsplugin/tools/thumbnail/CMakeLists.txt +++ b/xine_artsplugin/tools/thumbnail/CMakeLists.txt @@ -46,4 +46,7 @@ install( DESTINATION ${DATA_INSTALL_DIR}/videothumbnail ) -install( FILES videothumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE videothumbnail.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/xine_artsplugin/tools/thumbnail/videothumbnail.desktop b/xine_artsplugin/tools/thumbnail/videothumbnail.desktop index d684a47a..df4ce9df 100644 --- a/xine_artsplugin/tools/thumbnail/videothumbnail.desktop +++ b/xine_artsplugin/tools/thumbnail/videothumbnail.desktop @@ -1,69 +1,6 @@ [Desktop Entry] Type=Service Name=Video Files -Name[af]=Video Lêers -Name[ar]=ملفات مرئيات -Name[bg]=Видео файлове -Name[bn]=ভিডিও ফাইল -Name[br]=Restroù Video -Name[bs]=Video datoteke -Name[ca]=Fitxers de vídeo -Name[cs]=Video soubory -Name[cy]=Ffeiliau Fideo -Name[da]=Videofiler -Name[de]=Video-Dateien -Name[el]=Αρχεία βίντεο -Name[eo]=Vidaj dosieroj -Name[es]=Archivos de vídeo -Name[et]=Videofailid -Name[eu]=Bideo fitxategiak -Name[fa]=پروندههای ویدیویی -Name[fi]=Videotiedostot -Name[fr]=Fichiers vidéo -Name[ga]=Comhaid Fhíse -Name[gl]=Ficheiros de Video -Name[he]=קבצי וידאו -Name[hi]=वीडियो फ़ाइलें -Name[hr]=Video datoteke -Name[hu]=Videófájlok -Name[is]=Kvikmyndaskrár -Name[it]=File Video -Name[ja]=ビデオファイル -Name[kk]=Бейне файлдар -Name[km]=ឯកសារវីដេអូ -Name[ko]=비디오 파일 -Name[lt]=Video bylos -Name[mk]=Видео датотеки -Name[nb]=Videofiler -Name[nds]=Videodateien -Name[ne]=भिडियो फाइल -Name[nl]=Videobestanden -Name[nn]=Videofiler -Name[pa]=ਵੀਡਿਓ ਫਾਇਲਾਂ -Name[pl]=Pliki wideo -Name[pt]=Ficheiros de Vídeo -Name[pt_BR]=Arquivos de vídeo -Name[ro]=Fişiere video -Name[ru]=Видеофайлы -Name[sk]=Video súbory -Name[sl]=Video datoteke -Name[sr]=Видео фајлови -Name[sr@Latn]=Video fajlovi -Name[sv]=Videofiler -Name[ta]=படக்காட்சி கோப்புகள் -Name[tg]=Файлҳои Видео -Name[th]=แฟ้มวิดีโอ -Name[tr]=Video Dosyaları -Name[uk]=Відеофайли -Name[uz]=Video fayllar -Name[uz@cyrillic]=Видео файллар -Name[ven]=Dzifaela dza Video -Name[wa]=Fitchîs videyo -Name[xh]=Iifayile ze Video -Name[zh_CN]=视频文件 -Name[zh_HK]=視訊檔案 -Name[zh_TW]=視訊檔案 -Name[zu]=Amafayela Evidiyo X-TDE-ServiceTypes=ThumbCreator MimeTypes=video/*,application/vnd.ms-asf,application/vnd.rn-realmedia X-TDE-Library=videothumbnail |