diff --git a/config/locale.json b/config/locale.json index 966abf87..dbe98612 100644 --- a/config/locale.json +++ b/config/locale.json @@ -185,7 +185,7 @@ "date": "Date", "download": "Download", "showMappings": "Show Mappings", - "total": "Total", + "total": "with a total of", "searchSourceScheme": "source scheme", "searchSourceNotation": "source notation/URI", "searchTargetScheme": "target scheme", @@ -640,7 +640,7 @@ "date": "Datum", "download": "Download", "showMappings": "Mappings anzeigen", - "total": "Gesamt", + "total": "mit insgesamt", "searchSourceScheme": "Quellvokabular", "searchSourceNotation": "Quellnotation/-URI", "searchTargetScheme": "Zielvokabular", diff --git a/src/components/MappingBrowser.vue b/src/components/MappingBrowser.vue index 6b3087e1..de415e05 100644 --- a/src/components/MappingBrowser.vue +++ b/src/components/MappingBrowser.vue @@ -164,13 +164,13 @@
-

+

{{ concordanceTableItems.length }} {{ $t("mappingBrowser.concordances") }} -

-

- {{ $t("mappingBrowser.total") }}: {{ concordanceTableItems.reduce((total, current) => { - return total + current.mappings || 0 - }, 0).toLocaleString() }} {{ $t("general.of") }} {{ totalNumberOfMappings && totalNumberOfMappings.toLocaleString() || "?" }} + {{ $t("mappingBrowser.total") }} + {{ concordanceTableItems.reduce((total, current) => { + return total + (current.mappings || 0) + }, 0).toLocaleString() }} + {{ $t("registryInfo.mappings") }}

r.getMappings({ limit: 1 })))).reduce((p, c) => p + c._totalCount, 0) this.concordancesLoaded = true }, refreshEmbeddedMappings() {