summaryrefslogtreecommitdiffstats
path: root/tutorials
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-15 20:12:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-15 20:12:47 +0200
commitcb8cda7bca532df21c02bc4d2bfd03387df7f852 (patch)
tree7f6b988c304024c9a45bccc2070790b65b95553e /tutorials
parent41f27d91571102626d9aae843adbe070fcb5aef3 (diff)
downloadtdeaddons-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 'tutorials')
-rw-r--r--tutorials/.directory103
-rw-r--r--tutorials/CMakeL10n.txt7
-rw-r--r--tutorials/CMakeLists.txt7
-rw-r--r--tutorials/docprimer.desktop1
-rw-r--r--tutorials/markup.desktop1
-rw-r--r--tutorials/styleguide.desktop1
6 files changed, 16 insertions, 104 deletions
diff --git a/tutorials/.directory b/tutorials/.directory
index 9efae07..d05898b 100644
--- a/tutorials/.directory
+++ b/tutorials/.directory
@@ -1,105 +1,4 @@
[Desktop Entry]
Name=Tutorials
-Name[bg]=Ръководства
-Name[ca]=Programes d'aprenentatge
-Name[cs]=Návody
-Name[csb]=Tutoriale
-Name[cy]=Hyfforddiadau
-Name[da]=Øvelser
-Name[de]=Anleitungen
-Name[el]=Οδηγός χρήσης
-Name[eo]=Eklerniloj
-Name[es]=Tutoriales
-Name[et]=Õppematerjalid
-Name[fo]=Skeið
-Name[fr]=Didactitiels
-Name[hr]=Praktični vodič
-Name[hu]=Bevezetők
-Name[id]=Tutorial
-Name[is]=Kennsluefni
-Name[it]=Esercitazioni
-Name[ja]=チュートリアル
-Name[km]=បង្រៀន
-Name[ko]=따라하기
-Name[lo]=ການສອນ
-Name[lt]=Vadovai
-Name[mn]=Давтлага
-Name[nb]=Veivisere
-Name[nds]=Inföhren
-Name[nl]=Handleidingen
-Name[nn]=Innføringar
-Name[nso]=Dithutokopana
-Name[oc]=Introduccions
-Name[pl]=Podręczniki
-Name[pt]=Tutoriais
-Name[pt_BR]=Tutoriais
-Name[ro]=Tutoriale
-Name[ru]=Обучение
-Name[sk]=Návody
-Name[sl]=Učbeniki
-Name[sr]=Туторијали
-Name[sr@Latn]=Tutorijali
-Name[sv]=Handledningar
-Name[tg]=Дастурҳо
-Name[th]=ฝึกสอน
-Name[tr]=Kılavuzlar
-Name[uk]=Посібники
-Name[ven]=Dzikilasi dzau haseledza
-Name[wa]=Tutoriås
-Name[xh]=Izifundo zokuzikhumbuza
-Name[zh_TW]=教學
-Name[zu]=izifundo zokubuyekeza
+
Comment=Tutorial and introduction documents.
-Comment[az]=Leksika və giriş sənədləri
-Comment[bg]=Ръководства и документи.
-Comment[br]=Kelennant ha teulioù deraouiñ.
-Comment[ca]=Curs d'aprenentatge i documents d'introducció.
-Comment[cs]=Návody a základní dokumenty.
-Comment[csb]=Tutorial ë wprowadzającé dokùmentë.
-Comment[cy]=Dogfenni cyflwyniad a hyfforddiadol
-Comment[da]=Øvelses- og introduktionsdokumenter.
-Comment[de]=Anleitungen und Einführungen
-Comment[el]=Οδηγός χρήσης και έγγραφα παρουσίασης.
-Comment[eo]=Eklernilaj kaj enkondukaj dokumentoj
-Comment[es]=Tutorial y documentos de introducción.
-Comment[et]=Õppematerjalid ja sissejuhatused.
-Comment[fr]=Didactitiels et documents de présentation
-Comment[hi]=शिक्षण पाठ तथा परिचय दस्तावेज़
-Comment[hr]=Praktični vodič i uvodni dokumenti.
-Comment[hu]=Bevezető jellegű dokumentumok.
-Comment[id]=Tutorial dan dokumen Pengenalan
-Comment[is]=Kennslu- og kynningarefni.
-Comment[it]=Esercitazione e documenti introduttivi.
-Comment[ja]=チュートリアルと導入用ドキュメント
-Comment[km]=ឯកសារ​បង្រៀន និង​ណែនាំ ។
-Comment[ko]=소개와 따라하기 글입니다.
-Comment[lo]=ການສອນແລະເອກະສານແນະນຳ
-Comment[lt]=Vadovai ir įvadiniai dokumentai
-Comment[lv]=Ievada un konsultāciju dokumenti.
-Comment[mn]=Давтлага ба удиртгал баримтууд
-Comment[mt]=Spjega u dokumenti ta' introduzzjoni.
-Comment[nb]=Veivisere og introduksjonsdokumenter
-Comment[nds]=Anleed- un Inföhrdokmenten
-Comment[nl]=Handleiding en inleidende documenten.
-Comment[nn]=Innføringar og introduksjonsdokument.
-Comment[nso]=Thutokopana le ditokomane tsa matseno.
-Comment[oc]=Documents e curs d'introduccion.
-Comment[pl]=Podręczniki i dokumenty dla początkujących.
-Comment[pt]=Tutoriais e documentos introdutórios.
-Comment[pt_BR]=Tutoriais e documentos introdutórios.
-Comment[ro]=Documente introductive și tutoriale.
-Comment[ru]=Документы по обучению.
-Comment[sk]=Dokumenty s úvodom a návodmi.
-Comment[sl]=Učbenik in uvodni dokumenti
-Comment[sr]=Туторијали и уводни документи.
-Comment[sr@Latn]=Tutorijali i uvodni dokumenti.
-Comment[sv]=Handlednings- och introduktionsdokument.
-Comment[tg]=Дастурҳо ва ҳуҷҷатҳои пешниҳод
-Comment[th]=เอกสารแนะนำและฝึกสอน
-Comment[tr]=Kılavuzlar ve belgeler
-Comment[uk]=Інструктаж і вступні документи.
-Comment[ven]=Kilasi yau haseledza na mathomo a manwalwa
-Comment[wa]=Tutoriå eyet documints di prezintaedje
-Comment[xh]=Isifundo sokuzikhumbuza kunye nesiqalo samaxwebhu.
-Comment[zh_TW]=教學與介紹文件。
-Comment[zu]=Ushicilelo lweziqalo kanye nezifundo zokubuyekeza
diff --git a/tutorials/CMakeL10n.txt b/tutorials/CMakeL10n.txt
new file mode 100644
index 0000000..cbc28a0
--- /dev/null
+++ b/tutorials/CMakeL10n.txt
@@ -0,0 +1,7 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tutorials-desktops/"
+ SOURCES *.directory *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt
index c6732ad..627b594 100644
--- a/tutorials/CMakeLists.txt
+++ b/tutorials/CMakeLists.txt
@@ -6,6 +6,9 @@
#
#################################################
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
.directory docprimer.desktop markup.desktop styleguide.desktop
- DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Tutorials )
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Tutorials
+ PO_DIR tutorials-desktops
+)
diff --git a/tutorials/docprimer.desktop b/tutorials/docprimer.desktop
index 8813d00..29dda42 100644
--- a/tutorials/docprimer.desktop
+++ b/tutorials/docprimer.desktop
@@ -1,4 +1,5 @@
[Desktop Entry]
Name=The TDE Documentation Primer
+
X-DocPath=help:/khelpcenter/docprimer/index.html
Icon=khelpcenter
diff --git a/tutorials/markup.desktop b/tutorials/markup.desktop
index f34ff91..461bc1e 100644
--- a/tutorials/markup.desktop
+++ b/tutorials/markup.desktop
@@ -1,4 +1,5 @@
[Desktop Entry]
Name=The TDE DocBook Markup Guide
+
X-DocPath=help:/khelpcenter/markup/index.html
Icon=khelpcenter
diff --git a/tutorials/styleguide.desktop b/tutorials/styleguide.desktop
index ba8fa54..3479c8b 100644
--- a/tutorials/styleguide.desktop
+++ b/tutorials/styleguide.desktop
@@ -1,4 +1,5 @@
[Desktop Entry]
Name=The TDE Help Handbook Style Guide
+
X-DocPath=help:/khelpcenter/styleguide/index.html
Icon=khelpcenter