diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 19:55:02 +0200 |
commit | 605ad91b1690a8149c2f351d1838f2d3c6929106 (patch) | |
tree | 8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /kuickshow | |
parent | 766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff) | |
download | tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'kuickshow')
-rw-r--r-- | kuickshow/src/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kuickshow/src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kuickshow/src/kuickshow.desktop | 80 |
3 files changed, 7 insertions, 81 deletions
diff --git a/kuickshow/src/CMakeL10n.txt b/kuickshow/src/CMakeL10n.txt index 417663ed..e3c8d80a 100644 --- a/kuickshow/src/CMakeL10n.txt +++ b/kuickshow/src/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kuickshow" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kuickshow.desktop/" + SOURCES kuickshow.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kuickshow/src/CMakeLists.txt b/kuickshow/src/CMakeLists.txt index 21d145ce..96eabcd3 100644 --- a/kuickshow/src/CMakeLists.txt +++ b/kuickshow/src/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( ##### other data ################################ tde_install_icons( kuickshow ) -install( FILES kuickshow.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( kuickshow.desktop ) ##### kuickshow (tdeinit) ####################### diff --git a/kuickshow/src/kuickshow.desktop b/kuickshow/src/kuickshow.desktop index 802e3212..11d118dd 100644 --- a/kuickshow/src/kuickshow.desktop +++ b/kuickshow/src/kuickshow.desktop @@ -1,19 +1,5 @@ [Desktop Entry] Name=Kuickshow -Name[af]=Vinnig-vertoon -Name[ar]=عرض سريع -Name[eo]=Rapidmontrilo -Name[fr]=KuickShow -Name[hi]=क्विक-शो -Name[it]=KuickShow -Name[ko]=K퀵쇼 -Name[ne]=क्विकशो -Name[pt_BR]=KRápida Exibição -Name[ta]=விரைவுகாட்சி -Name[th]=ดูภาพด่วน - K -Name[ven]=Musumbedzo wa kuick -Name[zh_TW]=Kuickshow 快秀 -Name[zu]=I Kuickshow Exec=kuickshow %i %m -caption "%c" %U Icon=kuickshow Type=Application @@ -23,71 +9,5 @@ Terminal=false X-TDE-InitialPreference=6 GenericName=Image Viewer -GenericName[af]=Beeld Aansig -GenericName[ar]=عارض صور -GenericName[bg]=Преглед на изображения -GenericName[br]=Gweler ar skeudennoù -GenericName[bs]=Preglednik slika -GenericName[ca]=Visualitzador d'imatges -GenericName[cs]=Prohlížeč obrázků -GenericName[cy]=Gwelydd Delweddau -GenericName[da]=Billedfremviser -GenericName[de]=Bildbetrachter -GenericName[el]=Προβολέας εικόνων -GenericName[eo]=Bildorigardilo -GenericName[es]=Visor de imágenes -GenericName[et]=Pildifailide näitaja -GenericName[eu]=Irudi ikustailua -GenericName[fa]=مشاهدهگر تصویر -GenericName[fi]=Kuvannäytin -GenericName[fr]=Afficheur d'images -GenericName[ga]=Amharcán Íomhánna -GenericName[gl]=Visor de imaxes -GenericName[he]=מציג תמונות -GenericName[hi]=छवि प्रदर्शक -GenericName[hr]=Preglednik slika -GenericName[hu]=Képnézegető -GenericName[is]=Myndaskoðari -GenericName[it]=Visore di immagini -GenericName[ja]=画像ビューア -GenericName[kk]=Кескіндерді қарау -GenericName[km]=កម្មវិធីមើលរូបភាព -GenericName[lt]=Paveikslėlių žiūriklis -GenericName[lv]=Attēlu Skatītājs -GenericName[ms]=Paparan Imej -GenericName[mt]=Werrej tal-istampi -GenericName[nb]=Bildefremviser -GenericName[nds]=Bildkieker -GenericName[ne]=छवि दर्शक -GenericName[nl]=Afbeeldingenweergaveprogramma -GenericName[nn]=Biletvisar -GenericName[nso]=Molebeledi wa Ponagalo -GenericName[pa]=ਚਿੱਤਰ ਦਰਸ਼ਕ -GenericName[pl]=Przeglądarka obrazków -GenericName[pt]=Visualizador de Imagens -GenericName[pt_BR]=Visualizador de Imagens -GenericName[ro]=Vizualizor de imagini -GenericName[ru]=Просмотр изображений -GenericName[rw]=Mugaraza Shusho -GenericName[se]=Govvačájeheaddji -GenericName[sk]=Prehliadač obrázkov -GenericName[sl]=Pregledovalnik slik -GenericName[sr]=Приказивач слика -GenericName[sr@Latn]=Prikazivač slika -GenericName[sv]=Bildvisare -GenericName[ta]=பிம்ப காட்சி -GenericName[tg]=Намоиши тасвирот -GenericName[th]=เครื่องมือแสดงภาพ -GenericName[tr]=Resim Göstericisi -GenericName[uk]=Переглядач зображень -GenericName[uz]=Rasm koʻruvchi -GenericName[uz@cyrillic]=Расм кўрувчи -GenericName[ven]=Tshivhoni tsha Mutaleli -GenericName[wa]=Håyneu d' imådjes -GenericName[xh]=Umboniseli Womfanekiso -GenericName[zh_CN]=图片查看程序 -GenericName[zh_HK]=圖像檢視器 -GenericName[zh_TW]=影像檢視程式 -GenericName[zu]=Umbonisi Womfanekiso X-DCOP-ServiceType=Multi Categories=Qt;TDE;Graphics; |