mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	Fix titles of category, tag, tool pages (#905)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							1482f51fcd
						
					
				
				
					commit
					76d2eecd86
				
			| @@ -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, | ||||
|     } | ||||
|   }, | ||||
| }); | ||||
| </script> | ||||
| @@ -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 <b>{link}<b/>?", | ||||
|   | ||||
| @@ -109,7 +109,7 @@ export default defineComponent({ | ||||
|   }, | ||||
|   head() { | ||||
|     return { | ||||
|       title: this.$t("sidebar.categories") as string, | ||||
|       title: this.$t("category.categories") as string, | ||||
|     }; | ||||
|   }, | ||||
|   methods: { | ||||
| @@ -122,4 +122,3 @@ export default defineComponent({ | ||||
|   }, | ||||
| }); | ||||
| </script> | ||||
|      | ||||
| @@ -27,9 +27,5 @@ export default defineComponent({ | ||||
|       categories, | ||||
|     }; | ||||
|   }, | ||||
|   // head: { | ||||
|   //   // @ts-ignore | ||||
|   //   title: this.$t("sidebar.categories") as string, | ||||
|   // }, | ||||
| }); | ||||
| </script> | ||||
| @@ -109,7 +109,7 @@ export default defineComponent({ | ||||
|   }, | ||||
|   head() { | ||||
|     return { | ||||
|       title: this.$t("sidebar.categories") as string, | ||||
|       title: this.$t("tag.tags") as string, | ||||
|     }; | ||||
|   }, | ||||
|   methods: { | ||||
| @@ -122,4 +122,3 @@ export default defineComponent({ | ||||
|   }, | ||||
| }); | ||||
| </script> | ||||
|      | ||||
| @@ -26,9 +26,5 @@ export default defineComponent({ | ||||
|       tools, | ||||
|     }; | ||||
|   }, | ||||
|   // head: { | ||||
|   //   // @ts-ignore | ||||
|   //   title: this.$t("sidebar.tags") as string, | ||||
|   // }, | ||||
| }); | ||||
| </script> | ||||
| @@ -103,7 +103,7 @@ export default defineComponent({ | ||||
|   }, | ||||
|   head() { | ||||
|     return { | ||||
|       title: this.$t("sidebar.categories") as string, | ||||
|       title: this.$t("tool.tools") as string, | ||||
|     }; | ||||
|   }, | ||||
|   methods: { | ||||
| @@ -116,4 +116,3 @@ export default defineComponent({ | ||||
|   }, | ||||
| }); | ||||
| </script> | ||||
|      | ||||
| @@ -26,8 +26,5 @@ export default defineComponent({ | ||||
|       tools, | ||||
|     }; | ||||
|   }, | ||||
|   head: { | ||||
|     title: "Tools", | ||||
|   }, | ||||
| }); | ||||
| </script> | ||||
		Reference in New Issue
	
	Block a user