made translatable block page title

This commit is contained in:
2021-06-01 15:02:31 +02:00
parent 9791e55b8a
commit f0b69fa76a
7 changed files with 16 additions and 6 deletions

View File

@ -251,7 +251,7 @@ export let _v_sitebranding_block, _v_user_block, _v_header_menu,
store.commit('Common/setPagetitle', title)
}
// replace in template the pagetitle by vue binding
$h2.innerText = '{{ pagetitle }}'
$h2.innerText = '{{ $t("materio."+pagetitle) }}'
// create the vue
_v_pagetitle_block = new Vue({
store,