summaryrefslogtreecommitdiffstats
path: root/xine_artsplugin
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 /xine_artsplugin
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 'xine_artsplugin')
-rw-r--r--xine_artsplugin/CMakeL10n.txt3
-rw-r--r--xine_artsplugin/tools/CMakeL10n.txt3
-rw-r--r--xine_artsplugin/tools/thumbnail/CMakeL10n.txt7
-rw-r--r--xine_artsplugin/tools/thumbnail/CMakeLists.txt5
-rw-r--r--xine_artsplugin/tools/thumbnail/videothumbnail.desktop63
5 files changed, 17 insertions, 64 deletions
diff --git a/xine_artsplugin/CMakeL10n.txt b/xine_artsplugin/CMakeL10n.txt
new file mode 100644
index 00000000..b585ce4a
--- /dev/null
+++ b/xine_artsplugin/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/xine_artsplugin/tools/CMakeL10n.txt b/xine_artsplugin/tools/CMakeL10n.txt
new file mode 100644
index 00000000..b585ce4a
--- /dev/null
+++ b/xine_artsplugin/tools/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
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