Added missing localization strings

This commit is contained in:
Bernd Bestel 2020-01-26 13:40:26 +01:00
parent ac1be1e90f
commit 7a048136c6
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 13 additions and 1 deletions

View File

@ -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 ""

View File

@ -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";