Extend the default corpus doc-nav section and relabel the release log
Kalamar now ships a "corpus" section as the first entry of the doc
navigation; replace it in place (same id) to add the release-log
sub-item. The corpus, composition, useful-subcorpora and named-VC
labels come from the Kalamar defaults now; only the release-log labels
("Korpus-Releases" / "Release Log") remain instance-specific.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Change-Id: Ie02bc64acdff5b6123ee1fd8898f514ba7ec7d35
diff --git a/kalamar.ids-mannheim.conf b/kalamar.ids-mannheim.conf
index 34004e7..4969880 100644
--- a/kalamar.ids-mannheim.conf
+++ b/kalamar.ids-mannheim.conf
@@ -32,6 +32,8 @@
},
navi_ext => [
{
+ # Replaces Kalamar's default corpus section (same id) in place,
+ # extending it with the release-log sub-item.
"title" => "corpus",
"id" => "corpus",
"class" => "folded",
@@ -96,8 +98,6 @@
de_Nav_privacy => 'Datenschutz',
de_Nav_corpora => 'Korpora',
en_Nav_corpora => 'Corpora',
- de_Nav_corpus => 'Korpus',
- en_Nav_corpus => 'Corpus',
en_howToCite => 'Citation Help',
de_howToCite => 'Zitierhilfe',
en_recentCorpusPub => 'Recent publications to refer to DeReKo as linguistic research data',
@@ -112,14 +112,8 @@
en_compositionbysource => 'Composition by source',
#de_Title_composition => 'Korpus-Zusammensetzung',
#en_Title_composition => 'Corpus Composition',
- en_Nav_composition => 'Composition',
- de_Nav_composition => 'Zusammensetzung',
- en_Nav_useful_subcorpora => 'Useful subcorpora',
- de_Nav_useful_subcorpora => 'Nützliche Subkorpora',
- en_Nav_named_vc => 'Named VC',
- de_Nav_named_vc => 'Benamte VC',
en_Nav_releases => 'Release Log',
- de_Nav_releases => 'Versionsverlauf',
+ de_Nav_releases => 'Korpus-Releases',
}
},
'TagHelpers-ContentBlock' => {
diff --git a/templates/custom/doc/corpus.html.ep b/templates/custom/doc/corpus.html.ep
index f64b4ef..649eb00 100644
--- a/templates/custom/doc/corpus.html.ep
+++ b/templates/custom/doc/corpus.html.ep
@@ -25,7 +25,7 @@
Eine genaue Übersicht über die Zusammensetzung von <%=$corpus%> finden Sie auf der Seite <a href="corpus/composition?embedded=true">Zusammensetzung nach Quelle</a>.
</p>
<p>
- Die Änderungen gegenüber früheren Korpusversionen finden Sie im <a href="corpus/releases?embedded=true">Versionsverlauf</a>.
+ Die Änderungen gegenüber früheren Korpusversionen finden Sie unter <a href="corpus/releases?embedded=true">Korpus-Releases</a>.
</p>
<h3>Virtuelle Subkorpora</h3>
<p>DeReKo und KorAP laden ihre Nutzer:innen ein, sich selbst ein bezüglich ihrer aktuellen Fragestellung und gemeinten Sprachdomäne möglichst repräsentatives virtuelles Subkorpus zu definieren.