diff --git a/config/locale.json b/config/locale.json index 11c324ca..a92b4c64 100644 --- a/config/locale.json +++ b/config/locale.json @@ -183,6 +183,11 @@ "searchCardinality": "Cardinality", "searchCardinality11": "1-to-1", "searchCardinality1n": "1-to-n", + "searchAnnotated": "Assessment", + "searchAnnotatedAssessingAny": "assessed (-1/+1)", + "searchAnnotatedAssessingPlus": "assessed (+1)", + "searchAnnotatedAssessingMinus": "assessed (-1)", + "searchAnnotatedConfirmed": "confirmed", "searchConcordancesAny": "any concordance", "searchConcordancesNone": "no concordance", "searchClear": "Clear", @@ -609,6 +614,11 @@ "searchCardinality": "Kardinalität", "searchCardinality11": "1-zu-1", "searchCardinality1n": "1-zu-n", + "searchAnnotated": "Bewertung", + "searchAnnotatedAssessingAny": "bewertet (-1/+1)", + "searchAnnotatedAssessingPlus": "bewertet (+1)", + "searchAnnotatedAssessingMinus": "bewertet (-1)", + "searchAnnotatedConfirmed": "bestätigt", "searchConcordancesAny": "beliebige Konkordanz", "searchConcordancesNone": "keine Konkordanz", "searchClear": "Leeren", diff --git a/src/components/MappingBrowser.vue b/src/components/MappingBrowser.vue index ccd8885a..77a01100 100644 --- a/src/components/MappingBrowser.vue +++ b/src/components/MappingBrowser.vue @@ -324,6 +324,16 @@ size="sm" :options="cardinalityOptions" @keyup.enter.native="searchClicked" /> +
+ {{ $t("mappingBrowser.searchAnnotated") }}: +
+ +
{{ $t("mappingBrowser.concordance") }}:
@@ -701,6 +711,15 @@ export default { }, ] }, + annotatedOptions() { + return [ + { value: null, text: "-" }, + { value: { annotatedFor: "assessing" }, text: this.$t("mappingBrowser.searchAnnotatedAssessingAny") }, + { value: { annotatedFor: "assessing", annotatedWith: "+1" }, text: this.$t("mappingBrowser.searchAnnotatedAssessingPlus") }, + { value: { annotatedFor: "assessing", annotatedWith: "-1" }, text: this.$t("mappingBrowser.searchAnnotatedAssessingMinus") }, + { value: { annotatedFor: "moderating" }, text: this.$t("mappingBrowser.searchAnnotatedConfirmed") }, + ] + }, concordanceOptions() { let options = [ { value: null, text: "-" }, @@ -1132,6 +1151,7 @@ export default { direction: "", type: null, cardinality: "1-to-n", + annotated: null, partOf: null, } if (ignoredLock || !this.lockScheme[true]) { @@ -1213,6 +1233,8 @@ export default { type: this.searchFilter.type, direction: this.searchFilter.direction, cardinality: this.searchFilter.cardinality, + annotatedFor: this.searchFilter.annotated && this.searchFilter.annotated.annotatedFor, + annotatedWith: this.searchFilter.annotated && this.searchFilter.annotated.annotatedWith, partOf: this.searchFilter.partOf, registry: registry.uri, sort: "created",