feat: replace hard-coded content with i18n translation keys

This commit is contained in:
Sebin Nyshkim 2023-03-25 02:09:39 +01:00
parent 7fe9cdeef3
commit eefc4cc8d4
9 changed files with 80 additions and 272 deletions

View file

@ -18,7 +18,7 @@ const router = createRouter({
name: "home",
component: HomeView,
meta: {
title: "Home",
title: "nav.home",
icon: HomeIcon,
},
},
@ -27,7 +27,7 @@ const router = createRouter({
name: "general",
component: () => import("@/views/GeneralView.vue"),
meta: {
title: "General",
title: "nav.general",
icon: IdCardIcon,
},
},
@ -36,7 +36,7 @@ const router = createRouter({
name: "anatomy",
component: () => import("@/views/AnatomyView.vue"),
meta: {
title: "Anatomy",
title: "nav.anatomy",
icon: PaletteIcon,
},
},
@ -45,7 +45,7 @@ const router = createRouter({
name: "career-path",
component: () => import("@/views/CareerPathView.vue"),
meta: {
title: "Career Path",
title: "nav.careerPath",
icon: BriefcaseIcon,
},
},
@ -54,7 +54,7 @@ const router = createRouter({
name: "attributions",
component: () => import("@/views/AttributionsView.vue"),
meta: {
title: "Attributions",
title: "nav.attributions",
icon: CircleInfoIcon,
},
},