Add a citation help partial with corpus, KorAP and annotation parts
Add a citation help partial that lists how to cite a KorAP instance: the
corpus it serves, KorAP itself, and the annotation and classification
tools its data was prepared with. Instances include it wherever they
present citation information, e.g. on a documentation page.
It is assembled from three parts -- corpus, korap and annotation -- so
that an instance can replace individual parts and inherit the rest.
Kalamar ships no corpus of its own, so the corpus part is a placeholder
that instances replace by the citations for their corpus, while the
korap and annotation parts are normally inherited unchanged.
Every entry carries a COinS (Z3988) span, which lets reference managers
such as Zotero import it with one click. The section headings are
localized in kalamar.dict and kept free of corpus-specific names.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Change-Id: Ib9ccc607fe5387027b8d151901d364f6589b62ac
diff --git a/t/page.t b/t/page.t
index 123a720..6edbe85 100644
--- a/t/page.t
+++ b/t/page.t
@@ -42,13 +42,16 @@
# Test additions
$t = Test::Mojo->new('Kalamar' => {
'Localize' => {
+ # Behave like a real instance conf: let these entries override the
+ # defaults now shipped in kalamar.dict (corpusPub etc.).
+ override => 1,
dict => {
en_howToCite => 'Citation Help',
de_howToCite => 'Zitierhilfe',
- en_recentCorpusPub => 'Recent publications to refer to DeReKo as linguistic research data',
- de_recentCorpusPub => 'Neuere Publikationen zu DeReKo als linguistische Forschungsdatengrundlage',
- en_recentToolPub => 'Recent publications to refer to KorAP as a research tool',
- de_recentToolPub => 'Neuere Publikationen zu KorAP als Forschungswerkzeug',
+ en_corpusPub => 'Recent publications to refer to DeReKo as linguistic research data',
+ de_corpusPub => 'Neuere Publikationen zu DeReKo als linguistische Forschungsdatengrundlage',
+ en_korapPub => 'Recent publications to refer to KorAP as a research tool',
+ de_korapPub => 'Neuere Publikationen zu KorAP als Forschungswerkzeug',
title_addon => 'Test',
}
},