Improved 'no match' message for use with defined virtual corpora
diff --git a/kalamar.dict b/kalamar.dict
index 39d9e99..e2f3f6b 100644
--- a/kalamar.dict
+++ b/kalamar.dict
@@ -22,7 +22,7 @@
},
about => 'Über KorAP',
login => 'Anmelden',
- searchjob => '»<%== $q %>« <% if (param("collection-name")) { %>in <%== param("collection-name") %><% } %> mit <%== loc("QL_" . $ql, "unbekannter Anfragesprache") %>',
+ searchjob => '»<%== $q %>« <% if (param("collection-name")) { %>in »<%== param("collection-name") %>«<% } elsif (param("collection")) { %>im definierten Korpus<% } %> mit <%== loc("QL_" . $ql, "unbekannter Anfragesprache") %>',
searchtitle => 'KorAP: Finde <%== loc("searchjob") %>',
searchplaceholder => 'Finde ...',
go => 'Los!',
@@ -51,6 +51,7 @@
}
},
-en => {
+ jsFile => 'kalamar-<%= $Kalamar::VERSION %>-en.js',
numf => sub {
shift;
my %val = @_;
@@ -61,7 +62,7 @@
about => 'About KorAP',
login => 'Login',
go => 'Go!',
- searchjob => '»<%== $q %>« <% if (param("collection-name")) { %>in <%== param("collection-name") %><% } %> with <%== loc("QL_". $ql, "unknown query language") %>',
+ searchjob => '»<%== $q %>« <% if (param("collection-name")) { %>in »<%== param("collection-name") %>«<% } elsif (param("collection")) { %>in the defined corpus<% } %> with <%== loc("QL_". $ql, "unknown query language") %>',
searchtitle => 'KorAP: Find <%== loc("searchjob") %>',
searchplaceholder => 'Find ...',
in => 'in',