Skip to content

Commit

Permalink
Fix translation of TOC
Browse files Browse the repository at this point in the history
toc-title has to be set directly beneath the very first heading.
Otherwise, it is ignored.
We can remove it from i18n-definitions.adoc
  • Loading branch information
programming-wolf committed Mar 10, 2021
1 parent 161c8db commit 46ebc0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions docs/config/i18n-definitions.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// tag::DE[]
:lang: DE
:basics: Grundlegendes
:toc-title: Inhaltsverzeichnis
:learning-goals: Lernziele
:references: Referenzen
:examples: Beispiele
Expand All @@ -10,7 +9,6 @@
// tag::EN[]
:lang: EN
:basics: Essentials
:toc-title: Table of Contents
:learning-goals: Learning Goals
:references: References
:examples: Examples
Expand Down
1 change: 1 addition & 0 deletions docs/curriculum-template.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include::config/setup.adoc[]

ifeval::["{language}" == "DE"]
= Curriculum fürpass:q[<br><br>]Certified Professional forpass:q[<br>]Software Architecture (CPSA)^(R)^pass:q[<br>]_Advanced Level_: pass:q[<br>] Modulpass:q[<br>]{curriculum-short}pass:q[<br><br>]{curriculum-name}
:toc-title: Inhaltsverzeichnis
:toc: left
endif::[]

Expand Down

0 comments on commit 46ebc0b

Please sign in to comment.