From 05fec0b36e83f8aac6ccec9e400d56347a3db3ec Mon Sep 17 00:00:00 2001 From: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:31:27 +0100 Subject: [PATCH] feat: translate categories browser tab title (#2739) --- frontend/pages/admin/maintenance/index.vue | 2 +- frontend/pages/g/_groupSlug/recipes/categories/index.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/pages/admin/maintenance/index.vue b/frontend/pages/admin/maintenance/index.vue index 6ac0f31d2d6..ec3d8f1fb1d 100644 --- a/frontend/pages/admin/maintenance/index.vue +++ b/frontend/pages/admin/maintenance/index.vue @@ -243,7 +243,7 @@ export default defineComponent({ }, head() { return { - title: this.$t("settings.site-settings") as string, + title: this.$t("admin.maintenance.page-title") as string, }; }, }); diff --git a/frontend/pages/g/_groupSlug/recipes/categories/index.vue b/frontend/pages/g/_groupSlug/recipes/categories/index.vue index ac4779d6e17..0c986c37404 100644 --- a/frontend/pages/g/_groupSlug/recipes/categories/index.vue +++ b/frontend/pages/g/_groupSlug/recipes/categories/index.vue @@ -30,8 +30,10 @@ export default defineComponent({ actions, }; }, - head: { - title: "Categories", + head() { + return { + title: this.$tc("category.categories"), + }; }, });