Add German translation of cql.html.ep
Change-Id: I7d244aae411a1bd2969a0f158ff81fa840488281
diff --git a/Changes b/Changes
index d490c27..11a514d 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-0.58 2024-11-08
+0.58 2024-11-15
- Cookie path is settable now (hebasta)
- Fix meta table view for key value pairs (diewald)
- Fix warning on OAuth public clients (diewald)
@@ -9,7 +9,8 @@
(fixes #224; diewald)
- Support setting of query form elements via plugins (diewald)
- Fix h1-logo (only visible in header; diewald)
-
+ - Added translations for CQL (r-wilm)
+
0.57 2024-10-08
- Support VCs via URL without queries (diewald)
- Added translations for regexp and FCSQL (r-wilm)
diff --git a/kalamar.dict b/kalamar.dict
index c5c9bfc..12bf484 100644
--- a/kalamar.dict
+++ b/kalamar.dict
@@ -86,7 +86,8 @@
'poliqarp-plus' => 'de/doc/ql/poliqarp-plus',
'cosmas-2' => 'de/doc/ql/cosmas-2',
'regexp' => 'de/doc/ql/regexp',
- 'fcsql' => 'de/doc/ql/fcsql'
+ 'fcsql' => 'de/doc/ql/fcsql',
+ 'cql' => 'de/doc/ql/cql'
},
api => {
'koralquery' => 'de/doc/api/koralquery'
@@ -222,7 +223,8 @@
'poliqarp-plus' => 'doc/ql/poliqarp-plus',
'cosmas-2' => 'doc/ql/cosmas-2',
'regexp' => 'doc/ql/regexp',
- 'fcsql' => 'doc/ql/fcsql'
+ 'fcsql' => 'doc/ql/fcsql',
+ 'cql' => 'doc/ql/cql'
},
api => {
'koralquery' => 'doc/api/koralquery'
diff --git a/templates/de/doc/ql/cql.html.ep b/templates/de/doc/ql/cql.html.ep
new file mode 100644
index 0000000..2ae050c
--- /dev/null
+++ b/templates/de/doc/ql/cql.html.ep
@@ -0,0 +1,26 @@
+% layout 'main', title => 'KorAP: CQL';
+
+%= page_title
+
+<p>CQL steht für Contextual Query Language (Kontextuelle Anfragesprache) und dient vor allem der Repräsentation von Anfragen an Information-Retrieval-Systeme. Häufig wird CQL im Zusammenhang mit dem Webservice-Protokoll Search/Retrieve via URL (SRU) verwendet, um Suchanfragen URL-freundlich darzustellen.</p>
+
+<p>KorAP unterstützt grundlegendes CQL gemäß der Spezifikation für die einfache Suche in der <a href="https://www.clarin.eu/content/federated-content-search-clarin-fcs">CLARIN Federated Content Search (FCS)</a>. Operatoren und Modifikatoren, die über AND und OR hinausgehen, werden von KorAP nicht unterstützt. Dies betrifft zum Beispiel REL und PROX.</p>
+
+<section id="examples">
+ <h3>Beispiele</h3>
+ <p>Suche nach einzelnen Begriffen</p>
+ %= doc_query cql => 'Feuer'
+
+ <p>Suche nach aufeinanderfolgenden Wörtern</p>
+ %= doc_query cql => '"Öl ins Feuer"'
+
+ <p>Boolesche Anfragen</p>
+ %= doc_query cql => 'giessen OR gießen'
+ %= doc_query cql => 'Feuer and gießen'
+</section>
+
+<section id="References">
+ <h3>Referenzen: </h3>
+ <p><%= ext_link_to 'searchRetrieve: Part 5', "http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/os/part5-cql/searchRetrieve-v1.0-os-part5-cql.doc" %>.
+ <%= ext_link_to 'CQL: The Contextual Query Language version 1.0', "https://www.loc.gov/standards/sru/cql/" %>, OASIS, Januar 2013</p>
+</section>
diff --git a/templates/doc/ql/cql.html.ep b/templates/doc/ql/cql.html.ep
index 5c51e1e..5569ab0 100644
--- a/templates/doc/ql/cql.html.ep
+++ b/templates/doc/ql/cql.html.ep
@@ -2,20 +2,14 @@
%= page_title
-<p>CQL stands for Contextual Query Language. The main purpose of CQL is to represent queries
- to information retrieval systems. In fact, CQL is commonly used together with the Search
- Retrieve URL (SRU) protocol to represent URL-friendly search queries.</p>
+<p>CQL stands for Contextual Query Language. The main purpose of CQL is to represent queries to information retrieval systems. In fact, CQL is commonly used together with the Search/Retrieve via URL (SRU) protocol to represent URL-friendly search queries.</p>
-<p>In KorAP, we support basic CQL as defined in the <a
-href="https://www.clarin.eu/content/federated-content-search-clarin-fcs">CLARIN
-Federated Content Search (FCS)</a> specification for basic search. KorAP does not
- support other operators and modifiers than AND and OR, such as REL and PROX. </p>
+<p>In KorAP, we support basic CQL as defined in the <a href="https://www.clarin.eu/content/federated-content-search-clarin-fcs">CLARIN Federated Content Search (FCS)</a> specification for basic search. KorAP does not support other operators and modifiers than AND and OR, such as REL and PROX.</p>
<section id="examples">
<h3>Examples</h3>
<p>Querying a simple term</p>
%= doc_query cql => 'Feuer'
-
<p>Querying a phrase</p>
%= doc_query cql => '"Öl ins Feuer"'