summaryrefslogtreecommitdiffstats
path: root/kuickshow
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-09 17:49:10 +0200
committerSlávek Banko <[email protected]>2020-06-09 17:49:10 +0200
commit837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch)
tree66811931fed182f8fa6f59547c6511a897adb734 /kuickshow
parent00b9084c635fe29e7c5942ff508be2ca65893659 (diff)
downloadtdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.tar.gz
tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.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 <[email protected]>
Diffstat (limited to 'kuickshow')
-rw-r--r--kuickshow/src/CMakeL10n.txt6
-rw-r--r--kuickshow/src/CMakeLists.txt2
-rw-r--r--kuickshow/src/kuickshow.desktop80
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;