diff --git a/src/client/components/launch-pad.vue b/src/client/components/launch-pad.vue index f732b675e7..4d2a3b2c77 100644 --- a/src/client/components/launch-pad.vue +++ b/src/client/components/launch-pad.vue @@ -65,7 +65,7 @@ export default defineComponent({ created() { this.items = Object.keys(this.menuDef).filter(k => !this.menu.includes(k)).map(k => this.menuDef[k]).filter(def => def.show == null ? true : def.show).map(def => ({ type: def.to ? 'link' : 'button', - text: this.$t(def.title), + text: this.$ts[def.title], icon: def.icon, to: def.to, action: def.action, diff --git a/src/client/components/sidebar.vue b/src/client/components/sidebar.vue index b2c0283a47..0fcdc0f2a9 100644 --- a/src/client/components/sidebar.vue +++ b/src/client/components/sidebar.vue @@ -20,7 +20,7 @@ diff --git a/src/client/pages/settings/sidebar.vue b/src/client/pages/settings/sidebar.vue index 7fba1b6631..174615e75d 100644 --- a/src/client/pages/settings/sidebar.vue +++ b/src/client/pages/settings/sidebar.vue @@ -76,7 +76,7 @@ export default defineComponent({ title: this.$ts.addItem, select: { items: [...menu.map(k => ({ - value: k, text: this.$t(this.menuDef[k].title) + value: k, text: this.$ts[this.menuDef[k].title] })), ...[{ value: '-', text: this.$ts.divider }]]