From 46ebc0be7d68a74a272f0737044ab5d80f1f198a Mon Sep 17 00:00:00 2001 From: Benjamin Wolf Date: Wed, 10 Mar 2021 17:43:56 +0100 Subject: [PATCH] Fix translation of TOC toc-title has to be set directly beneath the very first heading. Otherwise, it is ignored. We can remove it from i18n-definitions.adoc --- docs/config/i18n-definitions.adoc | 2 -- docs/curriculum-template.adoc | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/config/i18n-definitions.adoc b/docs/config/i18n-definitions.adoc index 92008da..5a5d177 100644 --- a/docs/config/i18n-definitions.adoc +++ b/docs/config/i18n-definitions.adoc @@ -1,7 +1,6 @@ // tag::DE[] :lang: DE :basics: Grundlegendes -:toc-title: Inhaltsverzeichnis :learning-goals: Lernziele :references: Referenzen :examples: Beispiele @@ -10,7 +9,6 @@ // tag::EN[] :lang: EN :basics: Essentials -:toc-title: Table of Contents :learning-goals: Learning Goals :references: References :examples: Examples diff --git a/docs/curriculum-template.adoc b/docs/curriculum-template.adoc index e358b5d..d9cc98c 100644 --- a/docs/curriculum-template.adoc +++ b/docs/curriculum-template.adoc @@ -4,6 +4,7 @@ include::config/setup.adoc[] ifeval::["{language}" == "DE"] = Curriculum fürpass:q[

]Certified Professional forpass:q[
]Software Architecture (CPSA)^(R)^pass:q[
]_Advanced Level_: pass:q[
] Modulpass:q[
]{curriculum-short}pass:q[

]{curriculum-name} +:toc-title: Inhaltsverzeichnis :toc: left endif::[]