diff --git a/resource/js/vocab-search.js b/resource/js/vocab-search.js index de57f8580..e7e6b6528 100644 --- a/resource/js/vocab-search.js +++ b/resource/js/vocab-search.js @@ -18,7 +18,7 @@ const vocabSearch = Vue.createApp({ this.languages = window.SKOSMOS.languageOrder this.selectedLanguage = this.parseSearchLang() this.searchCounter = 0 // used for matching the query and the response in case there are many responses - this.languageStrings = window.SKOSMOS.language_strings[window.SKOSMOS.lang] ?? window.SKOSMOS.language_strings.en + this.languageStrings = window.SKOSMOS.language_strings this.msgs = window.SKOSMOS.msgs[window.SKOSMOS.lang] ?? window.SKOSMOS.msgs.en this.renderedResultsList = [] this.showNotation = window.SKOSMOS.showNotation diff --git a/src/view/scripts.inc.twig b/src/view/scripts.inc.twig index 0b448c4b1..5a4e82424 100644 --- a/src/view/scripts.inc.twig +++ b/src/view/scripts.inc.twig @@ -1,6 +1,29 @@