Tour: use "pubDate eq 2018" as vc example
This example has a much higher utility value and also works with many
corpora, so it needs to be customized less often.
Change-Id: Ia0a562850be46b6cbf754e97df294904b93aa9d2
diff --git a/dev/js/src/loc/de.js b/dev/js/src/loc/de.js
index c5f83cc..dd489a6 100644
--- a/dev/js/src/loc/de.js
+++ b/dev/js/src/loc/de.js
@@ -65,7 +65,7 @@
loc.TOUR_vccho3ti = "Korpusassistent (2)";
loc.TOUR_vccho3 = "Einige der bekannten Metadatenfelder werden in einem DropDown-Menü angezeigt.";
loc.TOUR_vccho4ti = "Korpusassistent (3)";
- loc.TOUR_vccho4 = "Ein Beispiel: Bilden eines virtuellen Korpus, der alle Texte mit der Dokumentsigle " + loc.TOUR_DocSigle + " enthält.";
+ loc.TOUR_vccho4 = "Ein Beispiel: Bilden eines virtuellen Korpus, das alle Texte enthält, die " + loc.TOUR_pubDate + " veröffentlicht wurden.";
loc.TOUR_vcStat1ti = "Korpusstatistik (1)",
loc.TOUR_vcStat1 = "Anzeige der Korpusstatistik.";
loc.TOUR_vcStat2ti = "Korpusstatistik (2)",
diff --git a/dev/js/src/loc/dereko.js b/dev/js/src/loc/dereko.js
index 0dd826c..87b99d4 100644
--- a/dev/js/src/loc/dereko.js
+++ b/dev/js/src/loc/dereko.js
@@ -8,7 +8,7 @@
define(function () {
const loc = KorAP.Locale;
-
+
//Query example for guided tour
if (loc.TOUR_Qexample == undefined)
loc.TOUR_Qexample = "laufen";
@@ -17,14 +17,14 @@
if (loc.TOUR_vcQuery == undefined)
loc.TOUR_vcQuery = {
'@type' : 'koral:doc',
- 'key' : 'docSigle',
+ 'key' : 'pubDate',
'match': 'match:eq',
- 'value' : 'WPD17/D01',
+ 'value' : '2018',
};
-
+
if (loc.TOUR_Relations == undefined)
loc.TOUR_Relations = "malt/d";
- if (loc.TOUR_DocSigle == undefined)
- loc.TOUR_DocSigle = "WPD17/D01";
+ if (loc.TOUR_pubDate == undefined)
+ loc.TOUR_pubDate = "2018";
});
diff --git a/dev/js/src/tour/tours.js b/dev/js/src/tour/tours.js
index e08e684..2d604ea 100644
--- a/dev/js/src/tour/tours.js
+++ b/dev/js/src/tour/tours.js
@@ -36,7 +36,7 @@
loc.TOUR_vccho3ti = loc.TOUR_vccho3ti || "Corpus Assistant (2)";
loc.TOUR_vccho3 = loc.TOUR_vccho3 || "A drop down box lists some of the available metadata fields.";
loc.TOUR_vccho4ti = loc.TOUR_vccho4ti || "Corpus Assistant (3)";
- loc.TOUR_vccho4 = loc.TOUR_vccho4 || "This example defines a virtual corpus consisting of all documents with the document sigle " + loc.TOUR_DocSigle + ".";
+ loc.TOUR_vccho4 = loc.TOUR_vccho4 || "This example defines a virtual corpus consisting of all texts published in " + loc.TOUR_pubDate + ".";
loc.TOUR_vcStat1ti = loc.TOUR_vcStat1ti || "Corpus Statistics (1)";
loc.TOUR_vcStat1 = loc.TOUR_vcStat1 || "Click here to display the corpus statistics.";
loc.TOUR_vcStat2ti = loc.TOUR_vcStat2ti || "Corpus Statistics (2)";