mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
Fix titles of category, tag, tool pages (#905)
This commit is contained in:
parent
1482f51fcd
commit
76d2eecd86
@ -67,10 +67,10 @@ export default defineComponent({
|
|||||||
state.headline = i18n.t("tag.tags") as string;
|
state.headline = i18n.t("tag.tags") as string;
|
||||||
break;
|
break;
|
||||||
case ItemTypes.category:
|
case ItemTypes.category:
|
||||||
state.headline = i18n.t("recipe.categories") as string;
|
state.headline = i18n.t("category.categories") as string;
|
||||||
break;
|
break;
|
||||||
case ItemTypes.tool:
|
case ItemTypes.tool:
|
||||||
state.headline = "Tools";
|
state.headline = i18n.t("tool.tools") as string;
|
||||||
state.icon = $globals.icons.potSteam;
|
state.icon = $globals.icons.potSteam;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -99,8 +99,10 @@ export default defineComponent({
|
|||||||
itemsSorted,
|
itemsSorted,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
head: {
|
head() {
|
||||||
title: "vbase-nuxt",
|
return {
|
||||||
|
title: this.headline as string,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
"show-assets": "Show Assets"
|
"show-assets": "Show Assets"
|
||||||
},
|
},
|
||||||
"category": {
|
"category": {
|
||||||
|
"categories": "Categories",
|
||||||
"category-created": "Category created",
|
"category-created": "Category created",
|
||||||
"category-creation-failed": "Category creation failed",
|
"category-creation-failed": "Category creation failed",
|
||||||
"category-deleted": "Category Deleted",
|
"category-deleted": "Category Deleted",
|
||||||
@ -436,6 +437,9 @@
|
|||||||
"tags": "Tags",
|
"tags": "Tags",
|
||||||
"untagged-count": "Untagged {count}"
|
"untagged-count": "Untagged {count}"
|
||||||
},
|
},
|
||||||
|
"tool":{
|
||||||
|
"tools": "Tools"
|
||||||
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"admin": "Admin",
|
"admin": "Admin",
|
||||||
"are-you-sure-you-want-to-delete-the-link": "Are you sure you want to delete the link <b>{link}<b/>?",
|
"are-you-sure-you-want-to-delete-the-link": "Are you sure you want to delete the link <b>{link}<b/>?",
|
||||||
@ -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-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"
|
"you-are-not-allowed-to-delete-this-user": "You are not allowed to delete this user"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
</RecipeCardSection>
|
</RecipeCardSection>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, useAsync, useRoute, reactive, toRefs, useRouter } from "@nuxtjs/composition-api";
|
import { defineComponent, useAsync, useRoute, reactive, toRefs, useRouter } from "@nuxtjs/composition-api";
|
||||||
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
|
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
|
||||||
@ -109,7 +109,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t("sidebar.categories") as string,
|
title: this.$t("category.categories") as string,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -122,4 +122,3 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -27,9 +27,5 @@ export default defineComponent({
|
|||||||
categories,
|
categories,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
// head: {
|
|
||||||
// // @ts-ignore
|
|
||||||
// title: this.$t("sidebar.categories") as string,
|
|
||||||
// },
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
</RecipeCardSection>
|
</RecipeCardSection>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, useAsync, useRoute, reactive, toRefs, useRouter } from "@nuxtjs/composition-api";
|
import { defineComponent, useAsync, useRoute, reactive, toRefs, useRouter } from "@nuxtjs/composition-api";
|
||||||
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
|
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
|
||||||
@ -109,7 +109,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t("sidebar.categories") as string,
|
title: this.$t("tag.tags") as string,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -122,4 +122,3 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -26,9 +26,5 @@ export default defineComponent({
|
|||||||
tools,
|
tools,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
// head: {
|
|
||||||
// // @ts-ignore
|
|
||||||
// title: this.$t("sidebar.tags") as string,
|
|
||||||
// },
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
</RecipeCardSection>
|
</RecipeCardSection>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, useAsync, useRoute, reactive, toRefs, useRouter } from "@nuxtjs/composition-api";
|
import { defineComponent, useAsync, useRoute, reactive, toRefs, useRouter } from "@nuxtjs/composition-api";
|
||||||
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
|
import RecipeCardSection from "~/components/Domain/Recipe/RecipeCardSection.vue";
|
||||||
@ -103,7 +103,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t("sidebar.categories") as string,
|
title: this.$t("tool.tools") as string,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -116,4 +116,3 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -26,8 +26,5 @@ export default defineComponent({
|
|||||||
tools,
|
tools,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
head: {
|
|
||||||
title: "Tools",
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user