From 7a048136c64d55c1420223dd3b47e2b06adf9195 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 26 Jan 2020 13:40:26 +0100 Subject: [PATCH] Added missing localization strings --- localization/strings.pot | 12 ++++++++++++ public/viewjs/mealplan.js | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/localization/strings.pot b/localization/strings.pot index 96863ba1..8a3768e6 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1657,3 +1657,15 @@ msgstr "" msgid "Add product to %s" msgstr "" + +msgid "Consume all ingredients needed by this weeks recipes or products" +msgstr "" + +msgid "Meal plan recipe" +msgstr "" + +msgid "Meal plan note" +msgstr "" + +msgid "Meal plan product" +msgstr "" diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js index 960ec7df..dc3fff2f 100644 --- a/public/viewjs/mealplan.js +++ b/public/viewjs/mealplan.js @@ -63,8 +63,8 @@ var calendar = $("#calendar").fullCalendar({ { weekRecipeOrderMissingButtonDisabledClasses = "disabled"; } + var weekRecipeConsumeButtonDisabledClasses = ""; - console.log(weekCosts); if (FindObjectInArrayByPropertyValue(recipesResolved, "recipe_id", weekRecipe.id).need_fulfilled == 0 || weekCosts == 0) { weekRecipeConsumeButtonDisabledClasses = "disabled";