From 95cb82da34b750200a727d3bb2c70e48425f74c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Sat, 15 Oct 2022 16:11:28 +0200 Subject: [PATCH] Make configurable header menu translatable --- webapp/constants/headerMenu.js | 9 ++++----- webapp/layouts/default.vue | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/webapp/constants/headerMenu.js b/webapp/constants/headerMenu.js index 7055c44e5..5365e0dc1 100644 --- a/webapp/constants/headerMenu.js +++ b/webapp/constants/headerMenu.js @@ -1,13 +1,12 @@ export default { MENU: [ // { - // name: 'Beiträge', - // path: '/#', + // nameIdent: 'ocelotRebranding.newsFeed', + // path: '/', // }, // { - // name: 'Über Yunite', - // path: '/#', - // url: 'https://yunite.org', + // nameIdent: 'ocelotRebranding.about', + // url: 'https://ocelot.org', // }, ], } diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue index 3e2a4aa69..8a0e7aa34 100644 --- a/webapp/layouts/default.vue +++ b/webapp/layouts/default.vue @@ -19,12 +19,12 @@ > - {{ item.name }} + {{ $t(item.nameIdent) }} - {{ item.name }} + {{ $t(item.nameIdent) }}