diff --git a/frontend/components/Domain/Recipe/RecipeCategoryTagToolPage.vue b/frontend/components/Domain/Recipe/RecipeCategoryTagToolPage.vue index 2b9b4be36df5..f5c9e989be8b 100644 --- a/frontend/components/Domain/Recipe/RecipeCategoryTagToolPage.vue +++ b/frontend/components/Domain/Recipe/RecipeCategoryTagToolPage.vue @@ -67,10 +67,10 @@ export default defineComponent({ state.headline = i18n.t("tag.tags") as string; break; case ItemTypes.category: - state.headline = i18n.t("recipe.categories") as string; + state.headline = i18n.t("category.categories") as string; break; case ItemTypes.tool: - state.headline = "Tools"; + state.headline = i18n.t("tool.tools") as string; state.icon = $globals.icons.potSteam; break; default: @@ -99,8 +99,10 @@ export default defineComponent({ itemsSorted, }; }, - head: { - title: "vbase-nuxt", + head() { + return { + title: this.headline as string, + } }, }); - \ No newline at end of file + diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index ebca1014cdaf..ab80d081cd06 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -33,6 +33,7 @@ "show-assets": "Show Assets" }, "category": { + "categories": "Categories", "category-created": "Category created", "category-creation-failed": "Category creation failed", "category-deleted": "Category Deleted", @@ -436,6 +437,9 @@ "tags": "Tags", "untagged-count": "Untagged {count}" }, + "tool":{ + "tools": "Tools" + }, "user": { "admin": "Admin", "are-you-sure-you-want-to-delete-the-link": "Are you sure you want to delete the link {link}?", @@ -491,4 +495,4 @@ "you-are-not-allowed-to-create-a-user": "You are not allowed to create a user", "you-are-not-allowed-to-delete-this-user": "You are not allowed to delete this user" } -} \ No newline at end of file +} diff --git a/frontend/pages/recipes/categories/_slug.vue b/frontend/pages/recipes/categories/_slug.vue index ee8ae8cc2eed..2302f4a8e9b7 100644 --- a/frontend/pages/recipes/categories/_slug.vue +++ b/frontend/pages/recipes/categories/_slug.vue @@ -51,7 +51,7 @@ - + - \ No newline at end of file diff --git a/frontend/pages/recipes/categories/index.vue b/frontend/pages/recipes/categories/index.vue index 8e837976a2fa..dc29a9bb063e 100644 --- a/frontend/pages/recipes/categories/index.vue +++ b/frontend/pages/recipes/categories/index.vue @@ -27,9 +27,5 @@ export default defineComponent({ categories, }; }, - // head: { - // // @ts-ignore - // title: this.$t("sidebar.categories") as string, - // }, }); - \ No newline at end of file + diff --git a/frontend/pages/recipes/tags/_slug.vue b/frontend/pages/recipes/tags/_slug.vue index 0569d25e2e9b..fc849a4cd35a 100644 --- a/frontend/pages/recipes/tags/_slug.vue +++ b/frontend/pages/recipes/tags/_slug.vue @@ -51,7 +51,7 @@ - + - \ No newline at end of file diff --git a/frontend/pages/recipes/tags/index.vue b/frontend/pages/recipes/tags/index.vue index 45ed1cfe2760..a8150d04169a 100644 --- a/frontend/pages/recipes/tags/index.vue +++ b/frontend/pages/recipes/tags/index.vue @@ -26,9 +26,5 @@ export default defineComponent({ tools, }; }, - // head: { - // // @ts-ignore - // title: this.$t("sidebar.tags") as string, - // }, }); - \ No newline at end of file + diff --git a/frontend/pages/recipes/tools/_slug.vue b/frontend/pages/recipes/tools/_slug.vue index 0b9f3976d16d..49dd5eab98d5 100644 --- a/frontend/pages/recipes/tools/_slug.vue +++ b/frontend/pages/recipes/tools/_slug.vue @@ -45,7 +45,7 @@ - + - \ No newline at end of file diff --git a/frontend/pages/recipes/tools/index.vue b/frontend/pages/recipes/tools/index.vue index 836a236612c2..824828f040ce 100644 --- a/frontend/pages/recipes/tools/index.vue +++ b/frontend/pages/recipes/tools/index.vue @@ -26,8 +26,5 @@ export default defineComponent({ tools, }; }, - head: { - title: "Tools", - }, }); - \ No newline at end of file +