diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
commit | cb8cda7bca532df21c02bc4d2bfd03387df7f852 (patch) | |
tree | 7f6b988c304024c9a45bccc2070790b65b95553e /renamedlgplugins | |
parent | 41f27d91571102626d9aae843adbe070fcb5aef3 (diff) | |
download | tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.tar.gz tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.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 'renamedlgplugins')
-rw-r--r-- | renamedlgplugins/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | renamedlgplugins/audio/CMakeLists.txt | 4 | ||||
-rw-r--r-- | renamedlgplugins/audio/renaudiodlg.desktop | 61 | ||||
-rw-r--r-- | renamedlgplugins/images/CMakeLists.txt | 4 | ||||
-rw-r--r-- | renamedlgplugins/images/renimagedlg.desktop | 64 |
5 files changed, 16 insertions, 123 deletions
diff --git a/renamedlgplugins/CMakeL10n.txt b/renamedlgplugins/CMakeL10n.txt index b585ce4..ed705b6 100644 --- a/renamedlgplugins/CMakeL10n.txt +++ b/renamedlgplugins/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/renamedlg-plugins-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/renamedlgplugins/audio/CMakeLists.txt b/renamedlgplugins/audio/CMakeLists.txt index 9bbdc5a..2622d46 100644 --- a/renamedlgplugins/audio/CMakeLists.txt +++ b/renamedlgplugins/audio/CMakeLists.txt @@ -33,6 +33,8 @@ tde_add_kpart( librenaudioplugin AUTOMOC ##### other data ################################ -install( FILES renaudiodlg.desktop +tde_create_translated_desktop( + SOURCE renaudiodlg.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR renamedlg-plugins-desktops ) diff --git a/renamedlgplugins/audio/renaudiodlg.desktop b/renamedlgplugins/audio/renaudiodlg.desktop index 0cc6018..0e1c2a2 100644 --- a/renamedlgplugins/audio/renaudiodlg.desktop +++ b/renamedlgplugins/audio/renaudiodlg.desktop @@ -1,63 +1,6 @@ [Desktop Entry] -Type=Service Name=Audio Preview -Name[ar]=معاينة صوتية -Name[az]=Audio Nümayişi -Name[bg]=Прослушване на аудио -Name[br]=Rakgwel klevet -Name[bs]=Audio pregled -Name[ca]=Escolta una mostra de so -Name[cs]=Náhled zvuku -Name[cy]=Rhagolwg Sain -Name[da]=Lydforhåndsvisning -Name[de]=Audio-Vorschau -Name[el]=Προεπισκόπηση ήχου -Name[eo]=Sonantaŭrigardo -Name[es]=Reproducir audio -Name[et]=Audiofailide eelvaatlus -Name[eu]=Audio aurrebista -Name[fa]=پیشنمایش صوتی -Name[fi]=Musiikkiesikatselu -Name[fr]=Aperçu audio -Name[fy]=Audiofoarbyld -Name[ga]=Réamhléargas Fuaime -Name[gl]=Antevisión Áudio -Name[he]=תצוגה מקדימה של שמע -Name[hi]=आडियो पूर्वावलोकन -Name[hr]=Pregled zvučne datoteke -Name[hu]=Hangos betekintő -Name[is]=Hljóðforsýn -Name[it]=Anteprima audio -Name[ja]=オーディオプレビュー -Name[ka]=აუდიო წინასწარ ნახვა -Name[kk]=Аудио файлымен алдын ала таңыстыру -Name[km]= មើលជាមុនដោយស្វ័យប្រវត្តិ -Name[lt]=Audio perklausaa -Name[mk]=Преглед на звук -Name[nb]=Lydforhåndsvisning -Name[nds]=Klang-Vöransicht -Name[ne]=अडियो पूर्वावलोकन -Name[nl]=Audiovoorbeeld -Name[nn]=Lydførehandsvisning -Name[pa]=ਆਡੀਓ ਝਲਕ -Name[pl]=Podgląd plików audio -Name[pt]=Previsão Áudio -Name[pt_BR]=Previsão de Áudio -Name[ro]=Previzualizare audio -Name[ru]=Аудиоознакомление -Name[sk]=Automatický náhľad -Name[sl]=Ogled zvoka -Name[sr]=Преглед аудија -Name[sr@Latn]=Pregled audija -Name[sv]=Ljudförhandsgranskning -Name[ta]=ஒலி முன்னோட்டம் -Name[tg]=Аудиошиносоӣ -Name[tr]=Audio Önizleme -Name[uk]=Перегляд аудіо -Name[uz]=Audio koʻrib chiqish -Name[uz@cyrillic]=Аудио кўриб чиқиш -Name[vi]=Xem thử âm thanh -Name[zh_CN]=音频预览 -Name[zh_TW]=音效預覽 + +Type=Service X-TDE-Library=librenaudioplugin X-TDE-ServiceTypes=RenameDlg/Plugin,audio/x-mp3,audio/x-wav,application/ogg diff --git a/renamedlgplugins/images/CMakeLists.txt b/renamedlgplugins/images/CMakeLists.txt index 1765229..ba74b81 100644 --- a/renamedlgplugins/images/CMakeLists.txt +++ b/renamedlgplugins/images/CMakeLists.txt @@ -24,6 +24,8 @@ tde_add_kpart( librenimageplugin AUTOMOC ##### other data ################################ -install( FILES renimagedlg.desktop +tde_create_translated_desktop( + SOURCE renimagedlg.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR renamedlg-plugins-desktops ) diff --git a/renamedlgplugins/images/renimagedlg.desktop b/renamedlgplugins/images/renimagedlg.desktop index 88040bd..c1fb44b 100644 --- a/renamedlgplugins/images/renimagedlg.desktop +++ b/renamedlgplugins/images/renimagedlg.desktop @@ -1,66 +1,6 @@ [Desktop Entry] -Type=Service Name=Image Displayer -Name[ar]=عارض الصور -Name[az]=Rəsm Nümayişçisi -Name[bg]=Показване на изображения -Name[bs]=Preglednik slika -Name[ca]=Visor d'imatges -Name[cs]=Prohlížeč obrázků -Name[cy]=Arddangosydd Delweddau -Name[da]=Billedfremviser -Name[de]=Bildbetrachter -Name[el]=Προβολή εικόνων -Name[eo]=Bildprezentilo -Name[es]=Muestra imágenes -Name[et]=Pildifailide näitaja -Name[eu]=Irudi bistaratzailea -Name[fa]=نمایشدهندۀ تصویر -Name[fi]=Kuvannäyttäjä -Name[fo]=Myndaframvísari -Name[fr]=Afficheur d'images -Name[fy]=Ofbylden werjefteprogramma -Name[ga]=Amharcán Íomhánna -Name[gl]=Visor de Imaxes -Name[he]=מציג תמונות -Name[hi]=छवि प्रदर्शक -Name[hr]=Preglednik slika -Name[hu]=Képmegjelenítő -Name[is]=Myndsjá -Name[it]=Visualizzatore di immagini -Name[ja]=イメージ表示ツール -Name[ka]=გამოსახულებთა ამსახავი -Name[kk]=Кескін көрсеткіш -Name[km]=កម្មវិធីបង្ហាញរូបភាព -Name[lt]=Paveikslėlių rodytojas -Name[lv]=Attēlu Rādītājs -Name[mk]=Прикажувач на слики -Name[mt]=Werrej ta' Stampi -Name[nb]=Bildeviser -Name[nds]=Bildwieser -Name[ne]=छवि प्रदर्शक -Name[nl]=Afbeeldingenweergaveprogramma -Name[nn]=Biletvisar -Name[nso]=Sebontshi sa Ponagalo -Name[pa]=ਚਿੱਤਰ ਦਰਸ਼ਕ -Name[pl]=Program wyświetlający obrazki -Name[pt]=Visualizador de Imagens -Name[pt_BR]=Visualizador de Imagens -Name[ro]=Vizualizor imagini -Name[ru]=просмотр изображений -Name[sk]=Prehliadač obrázkov -Name[sl]=Prikazovalnik slik -Name[sr]=Приказивач слика -Name[sr@Latn]=Prikazivač slika -Name[sv]=Bildvisare -Name[ta]=பிம்பக் காட்டி -Name[tg]=тамошои тасвир -Name[th]=เครื่องมือแสดงภาพ -Name[tr]=Resim Gösterici -Name[uk]=Перегляд зображень -Name[vi]=Bộ hiển thị ảnh -Name[xh]=Umbonisi wo Mfanekiso -Name[zh_CN]=图像显示器 -Name[zh_TW]=影像顯示器 + +Type=Service X-TDE-Library=librenimageplugin X-TDE-ServiceTypes=RenameDlg/Plugin,image/jpeg,image/png |