summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-09 17:49:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-09 19:55:02 +0200
commit605ad91b1690a8149c2f351d1838f2d3c6929106 (patch)
tree8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /kviewshell/plugins
parent766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff)
downloadtdegraphics-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 'kviewshell/plugins')
-rw-r--r--kviewshell/plugins/djvu/CMakeLists.txt7
-rw-r--r--kviewshell/plugins/djvu/djvumultipage.desktop48
2 files changed, 6 insertions, 49 deletions
diff --git a/kviewshell/plugins/djvu/CMakeLists.txt b/kviewshell/plugins/djvu/CMakeLists.txt
index fe9d4ef9..d950a5df 100644
--- a/kviewshell/plugins/djvu/CMakeLists.txt
+++ b/kviewshell/plugins/djvu/CMakeLists.txt
@@ -28,7 +28,12 @@ link_directories(
##### other data ################################
-install( FILES djvumultipage.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE djvumultipage.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kviewshell-desktops
+)
+
install( FILES djvumultipage.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
install( FILES djvumultipage.rc DESTINATION ${DATA_INSTALL_DIR} )
diff --git a/kviewshell/plugins/djvu/djvumultipage.desktop b/kviewshell/plugins/djvu/djvumultipage.desktop
index 6da86c47..6aecc337 100644
--- a/kviewshell/plugins/djvu/djvumultipage.desktop
+++ b/kviewshell/plugins/djvu/djvumultipage.desktop
@@ -1,56 +1,8 @@
[Desktop Entry]
Name=kdjview
-Name[hu]=KDjView
-Name[ja]=Kdjview
-Name[ne]=केडीजे दृश्य
-Name[sk]=kdjView
-Name[sv]=Kdjview
-Name[zh_CN]=KDjView
Icon=kdjview
Type=Service
Comment=KViewShell plugin for DjVu files
-Comment[bg]=Приставка за файлове DjVu
-Comment[br]=Lugent KViewShell evit ar restroù DjVu
-Comment[bs]=KViewShell dodatak za DjVu datoteke
-Comment[ca]=Connector pel KViewShell per fitxers DjVu
-Comment[cs]=KViewShell modul pro DjVu soubory
-Comment[da]=Kviewshell-plugin for DjVu-filer
-Comment[de]=Ein KViewShell-Modul für DjVu-Dateien
-Comment[el]=Πρόσθετο του KViewShell για αρχεία DjVu
-Comment[es]=Extensión KViewShell para archivos DjVu
-Comment[et]=KView DjVu-failide plugin
-Comment[eu]=DjVu fitxategien KViewShell-en plugina
-Comment[fa]=وصلۀ KViewShell برای پرونده‌های DjVu
-Comment[fi]=KViewShell sovelma DjVu-tiedostoille
-Comment[fr]=Module KViewShell pour les fichiers DjVu
-Comment[gl]=Extensión de KViewShell para ficheiros DjVu
-Comment[hu]=KViewShell-modul DjVu-fájlokhoz
-Comment[is]=KViewShell íforrit fyrir DjVu skrár
-Comment[it]=Plugin KViewShell per file DjVu
-Comment[ja]=DjVu ファイル用の KViewShell プラグイン
-Comment[kk]=DjVu файлдарына арналған KViewShell плагин модулі
-Comment[km]=កម្មវិធី​ជំនួយ KViewShell សម្រាប់​ឯកសារ DjVu
-Comment[lt]=KViewShell priedas, skirtas DjVu byloms
-Comment[ms]=Plugin KViewShell untuk fail DjVu
-Comment[nb]=KViewShell programtillegg for DjVu-filer
-Comment[nds]=En "KViewShell"-Moduul för DjVu-Dateien
-Comment[ne]=डिजे भीयू फाइलका लागि केडीई दृश्य शेल प्लगइन
-Comment[nl]=KViewShell-plugin voor DjVu-bestanden
-Comment[nn]=KViewShell-programtillegg for DjVu-filer
-Comment[pl]=Wtyczka KViewShell do plików DjVu
-Comment[pt]='Plugin' do KViewShell para ficheiros do DjVu
-Comment[pt_BR]=Plugin KViewShell para arquivos DjVu
-Comment[ru]=Компонент просмотра файлов DjVu
-Comment[sk]=KViewShell modul pre DjVu súbory
-Comment[sl]=Vstavek za KViewShell za datoteke DjVu
-Comment[sr]=KViewShell-ов прикључак за DjVu фајлове
-Comment[sr@Latn]=KViewShell-ov priključak za DjVu fajlove
-Comment[sv]=Kviewshell-insticksprogram för DjVu-filer
-Comment[tr]=DjVu dosyaları için KViewShell eklentisi
-Comment[uk]=Втулок перегляду файлів DjVu для KViewShell
-Comment[zh_CN]=DjVu 文件的 KViewShell 插件
-Comment[zh_HK]=用於 DjVu 檔案的 KViewShell 插件
-Comment[zh_TW]=DjVu 檔的 KViewShell 外掛程式
X-TDE-ServiceTypes=KViewShell/MultiPage
X-TDE-MimeTypes=image/x-djvu
X-TDE-Library=djvuviewpart