From 33acb9b2bca1d9e9bbf8d9c4ecdcecce5bd8fd49 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Wed, 16 Sep 2026 11:32:54 -0500 Subject: [PATCH] fix: replace "mealplan" with "meal plan" (#8427) --- .../documentation/getting-started/features.md | 8 ++++---- frontend/app/lang/messages/en-US.json | 12 ++++++------ mealie/routes/households/controller_mealplan.py | 16 ++++++++-------- .../households/controller_mealplan_rules.py | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/docs/documentation/getting-started/features.md b/docs/docs/documentation/getting-started/features.md index 1a1e67a95..c6da9eec2 100644 --- a/docs/docs/documentation/getting-started/features.md +++ b/docs/docs/documentation/getting-started/features.md @@ -82,9 +82,9 @@ Mealie also has the concept of cookbooks. These can be created inside of a group Mealie uses a calendar like view to help you plan your meals. It shows you the previous day and the next 6 days by default. You can toggle through the calendar by clicking the arrows on the top of the page. In editor mode, you can use the random recipe buttons or manually add an entry. !!! tip - You can also add a "Note" type entry to your meal-plan when you want to include something that might not have a specific recipes. This is great for leftovers, or for ordering out. + You can also add a "Note" type entry to your meal plan when you want to include something that might not have a specific recipes. This is great for leftovers, or for ordering out. -[Mealplanner Demo](https://demo.mealie.io/household/mealplan/planner/view){ .md-button .md-button--primary } +[Meal Planner Demo](https://demo.mealie.io/household/mealplan/planner/view){ .md-button .md-button--primary } ### Planner Rules @@ -130,7 +130,7 @@ Notifiers are event-driven notifications sent when specific actions are performe - Creating / Updating a recipe - Adding items to a shopping list -- Creating a new mealplan +- Creating a new meal plan Notifiers use the [Apprise library](https://github.com/caronc/apprise/wiki), which integrates with a large number of notification services. In addition, certain custom notifiers send basic event data to the consumer (e.g. the `id` of the resource). These include: @@ -142,7 +142,7 @@ Notifiers use the [Apprise library](https://github.com/caronc/apprise/wiki), whi ### Webhooks -Unlike notifiers, which are event-driven notifications, Webhooks allow you to send scheduled notifications to your desired endpoint. Webhooks are sent on the day of a scheduled mealplan, at the specified time, and contain the mealplan data in the request. +Unlike notifiers, which are event-driven notifications, Webhooks allow you to send scheduled notifications to your desired endpoint. Webhooks are sent on the day of a scheduled meal plan, at the specified time, and contain the meal plan data in the request. [Webhooks Demo](https://demo.mealie.io/household/webhooks){ .md-button .md-button--primary } diff --git a/frontend/app/lang/messages/en-US.json b/frontend/app/lang/messages/en-US.json index 5f0496ca2..9781eff8b 100644 --- a/frontend/app/lang/messages/en-US.json +++ b/frontend/app/lang/messages/en-US.json @@ -53,7 +53,7 @@ "enable-notifier": "Enable Notifier", "what-events": "What events should this notifier subscribe to?", "user-events": "User Events", - "mealplan-events": "Mealplan Events", + "mealplan-events": "Meal Plan Events", "shopping-list-events": "Shopping List Events", "cookbook-events": "Cookbook Events", "tag-events": "Tag Events", @@ -467,15 +467,15 @@ "trans-fat-content": "Trans-fat", "unsaturated-fat-content": "Unsaturated fat", "join-the-conversation": "Join the Conversation", - "add-recipe-to-mealplan": "Add Recipe to Mealplan", + "add-recipe-to-mealplan": "Add Recipe to Meal Plan", "entry-type": "Entry Type", "add-to-list": "Add to List", "add-to-plan": "Add to Plan", "add-to-timeline": "Add to Timeline", "successfully-added-to-list": "Successfully added to list", - "recipe-added-to-mealplan": "Recipe added to mealplan", + "recipe-added-to-mealplan": "Recipe added to meal plan", "failed-to-add-recipes-to-list": "Failed to add recipe to list", - "failed-to-add-recipe-to-mealplan": "Failed to add recipe to mealplan", + "failed-to-add-recipe-to-mealplan": "Failed to add recipe to meal plan", "yield": "Yield", "yields-amount-with-text": "Yields {amount} {text}", "yield-text": "Yield Text", @@ -1146,11 +1146,11 @@ "group-settings-description": "Manage your common group settings, like privacy settings.", "household-description": "These items are shared within your household. Editing one of them will change it for the whole household!", "household-settings": "Household Settings", - "household-settings-description": "Manage your household settings, like mealplan and privacy settings.", + "household-settings-description": "Manage your household settings, like meal plan and privacy settings.", "cookbooks-description": "Manage a collection of recipe categories and generate pages for them.", "members": "Members", "members-description": "See who's in your household and manage their permissions.", - "webhooks-description": "Set up webhooks that trigger on days that you have mealplans scheduled.", + "webhooks-description": "Set up webhooks that trigger on days that you have meal plans scheduled.", "notifiers": "Notifiers", "notifiers-description": "Set up email and push notifications that trigger on specific events.", "manage-data": "Manage Data", diff --git a/mealie/routes/households/controller_mealplan.py b/mealie/routes/households/controller_mealplan.py index 2c85fffff..d281f3fa9 100644 --- a/mealie/routes/households/controller_mealplan.py +++ b/mealie/routes/households/controller_mealplan.py @@ -24,7 +24,7 @@ from mealie.services.event_bus_service.event_types import ( ) from mealie.services.query_filter.builder import QueryFilterBuilder -router = APIRouter(prefix="/households/mealplans", tags=["Households: Mealplans"]) +router = APIRouter(prefix="/households/mealplans", tags=["Households: Meal Plans"]) @controller(router) @@ -113,7 +113,7 @@ class GroupMealplanController(BaseCrudController): ), group_id=result.group_id, household_id=result.household_id, - message=f"Mealplan entry created for {data.date} for {data.entry_type}", + message=f"Meal plan entry created for {data.date} for {data.entry_type}", ) return result @@ -126,11 +126,11 @@ class GroupMealplanController(BaseCrudController): @router.post("/random", response_model=ReadPlanEntry) def create_random_meal(self, data: CreateRandomEntry): """ - `create_random_meal` is a route that provides the randomized functionality for mealplaners. - It operates by following the rules set out in the household's mealplan settings. If no settings + `create_random_meal` is a route that provides the randomized functionality for meal planners. + It operates by following the rules set out in the household's meal plan settings. If no settings are set, it will return any random meal. - Refer to the mealplan settings routes for more information on how rules can be applied + Refer to the meal plan settings routes for more information on how rules can be applied to the random meal selector. """ random_recipes = self._get_random_recipes_from_mealplan(data.date, data.entry_type) @@ -162,7 +162,7 @@ class GroupMealplanController(BaseCrudController): ), group_id=result.group_id, household_id=result.household_id, - message=f"Mealplan entry created for {data.date} for {data.entry_type}", + message=f"Meal plan entry created for {data.date} for {data.entry_type}", ) return result @@ -187,7 +187,7 @@ class GroupMealplanController(BaseCrudController): ), group_id=result.group_id, household_id=result.household_id, - message=f"Mealplan entry updated for {result.date} for {result.entry_type}", + message=f"Meal plan entry updated for {result.date} for {result.entry_type}", ) return result @@ -208,7 +208,7 @@ class GroupMealplanController(BaseCrudController): ), group_id=result.group_id, household_id=result.household_id, - message=f"Mealplan entry deleted for {result.date} for {result.entry_type}", + message=f"Meal plan entry deleted for {result.date} for {result.entry_type}", ) return result diff --git a/mealie/routes/households/controller_mealplan_rules.py b/mealie/routes/households/controller_mealplan_rules.py index a4af95cd4..8fff851bf 100644 --- a/mealie/routes/households/controller_mealplan_rules.py +++ b/mealie/routes/households/controller_mealplan_rules.py @@ -11,7 +11,7 @@ from mealie.schema import mapper from mealie.schema.meal_plan.plan_rules import PlanRulesCreate, PlanRulesOut, PlanRulesPagination, PlanRulesSave from mealie.schema.response.pagination import PaginationQuery -router = UserAPIRouter(prefix="/households/mealplans/rules", tags=["Households: Mealplan Rules"]) +router = UserAPIRouter(prefix="/households/mealplans/rules", tags=["Households: Meal Plan Rules"]) @controller(router)