summaryrefslogtreecommitdiffstats
path: root/kdvi
diff options
context:
space:
mode:
Diffstat (limited to 'kdvi')
-rw-r--r--kdvi/CMakeL10n.txt6
-rw-r--r--kdvi/CMakeLists.txt15
-rw-r--r--kdvi/kdvi.desktop74
-rw-r--r--kdvi/kdvimultipage.desktop10
4 files changed, 15 insertions, 90 deletions
diff --git a/kdvi/CMakeL10n.txt b/kdvi/CMakeL10n.txt
index ad14af79..7d30e76d 100644
--- a/kdvi/CMakeL10n.txt
+++ b/kdvi/CMakeL10n.txt
@@ -4,3 +4,9 @@ tde_l10n_create_template(
CATALOG "kdvi"
SOURCES "." "tips"
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kdvi-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kdvi/CMakeLists.txt b/kdvi/CMakeLists.txt
index 9c1ef8da..0b38628c 100644
--- a/kdvi/CMakeLists.txt
+++ b/kdvi/CMakeLists.txt
@@ -28,13 +28,16 @@ link_directories(
#### other data #################################
-install( FILES
- kdvi.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdvi.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kdvi-desktops
+)
-install( FILES
- kdvimultipage.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdvimultipage.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kdvi-desktops
+)
install( FILES
kdvi.kcfg
diff --git a/kdvi/kdvi.desktop b/kdvi/kdvi.desktop
index 3eb980c3..111f6a0c 100644
--- a/kdvi/kdvi.desktop
+++ b/kdvi/kdvi.desktop
@@ -1,80 +1,6 @@
[Desktop Entry]
GenericName=DVI Viewer
-GenericName[af]=Dvi Aansig
-GenericName[ar]=عارض ملفات DVI
-GenericName[az]=DVI Nümayişçisi
-GenericName[bg]=Преглед на документи DVI
-GenericName[br]=Gweler DVI
-GenericName[bs]=Preglednik DVI dokumenata
-GenericName[ca]=Visualitzador de DVI
-GenericName[cs]=Prohlížeč DVI souborů
-GenericName[cy]=Gwelydd DVI
-GenericName[da]=DVI-fremviser
-GenericName[de]=DVI-Betrachter
-GenericName[el]=Προβολέας DVI
-GenericName[eo]=DVI-rigardilo
-GenericName[es]=Visor de documentos DVI
-GenericName[et]=DVI failide vaataja
-GenericName[eu]=DVI ikustailea
-GenericName[fa]=مشاهده‌گر DVI
-GenericName[fi]=DVI-näytin
-GenericName[fr]=Afficheur DVI
-GenericName[ga]=Amharcán DVI
-GenericName[gl]=Visor de DVI
-GenericName[he]=מציג DVI
-GenericName[hi]=डीवीआई प्रदर्शक
-GenericName[hr]=Preglednik DVI dokumenata
-GenericName[hu]=DVI-nézegető
-GenericName[id]=Viewer DVI
-GenericName[is]=DVI sjá
-GenericName[it]=Visore DVI
-GenericName[ja]=DVI ビューア
-GenericName[kk]=DVI файлдарын қарау
-GenericName[km]=កម្មវិធី​មើល DVI
-GenericName[ko]=DVI 보기
-GenericName[lt]=DVI Žiūriklis
-GenericName[lv]=DVI Skatītājs
-GenericName[mk]=Прикажувач на DVI
-GenericName[ms]=Pemapar DVI
-GenericName[mt]=Werrej DVI
-GenericName[nb]=DVI-fremviser
-GenericName[nds]=DVI-Kieker
-GenericName[ne]=DVI दर्शक
-GenericName[nl]=DVI-weergaveprogramma
-GenericName[nn]=DVI-lesar
-GenericName[pa]=DVI ਦਰਸ਼ਕ
-GenericName[pl]=Przeglądarka plików DVI
-GenericName[pt]=Visualizador de DVIs
-GenericName[pt_BR]=Visualizador de DVI
-GenericName[ro]=Vizualizor DVI
-GenericName[ru]=Просмотр файлов DVI
-GenericName[rw]=Ikigaragaza DVI
-GenericName[se]=DVI čájeheaddji
-GenericName[sk]=Prehliadač DVI súborov
-GenericName[sl]=Pregledovalnik datotek DVI
-GenericName[sr]=DVI приказивач
-GenericName[sr@Latn]=DVI prikazivač
-GenericName[sv]=DVI-visare
-GenericName[ta]=DVI காட்சி
-GenericName[tg]=Намоиши файли DVI
-GenericName[th]=ตัวแสดงผล DVI
-GenericName[tr]=DVI Görüntüleyici
-GenericName[uk]=Переглядач DVI
-GenericName[uz]=DVI koʻruvchi
-GenericName[uz@cyrillic]=DVI кўрувчи
-GenericName[ven]=Muvhoni wa DVI
-GenericName[wa]=Håyneu di fitchîs DVI
-GenericName[xh]=Umboniseli we DVI
-GenericName[zh_CN]=DVI 查看器
-GenericName[zh_HK]=DVI 檢視器
-GenericName[zh_TW]=DVI 檢視器
-GenericName[zu]=Umboniseli we DVI
Name=KDVI
-Name[af]=Kdvi
-Name[ar]=برنامج KDVI
-Name[eo]=DVI-rigardilo
-Name[hi]=के-डीवीआई
-Name[zh_TW]=KDVI 檢視器
MimeType=application/x-dvi;application/x-gzdvi;application/x-bz2dvi;
X-TDE-InitialPreference=6
Exec=kdvi %f -caption "%c" %i %m
diff --git a/kdvi/kdvimultipage.desktop b/kdvi/kdvimultipage.desktop
index 9d3f6915..3ffa2cc0 100644
--- a/kdvi/kdvimultipage.desktop
+++ b/kdvi/kdvimultipage.desktop
@@ -2,16 +2,6 @@
Type=Service
Comment=DVI
Name=KDVIMultiPage
-Name[es]=KDVIMultiPágina
-Name[fr]=Multi-page KDVI
-Name[hu]=KDVITöbbOldalas
-Name[nb]=KDVI Flerside
-Name[ne]=केडीभीआई बहुपृष्ठ
-Name[nl]=KDVIMultiPagina
-Name[nn]=KDVI-fleirside
-Name[pt]=KDVIMultiPágina
-Name[ro]=KDVI Pagini Multiple
-Name[sv]=KDVI flera sidor
X-TDE-ServiceTypes=KViewShell/MultiPage
X-TDE-Library=kdvipart
X-TDE-MimeTypes=application/x-dvi