diff --git a/localization/strings.pot b/localization/strings.pot index fa65c6b4..98b5f89f 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1234,7 +1234,7 @@ msgstr "" msgid "Meal plan" msgstr "" -msgid "Add recipe to %s" +msgid "Add recipe on %s" msgstr "" msgid "%s serving" @@ -1637,7 +1637,7 @@ msgstr "" msgid "Add note" msgstr "" -msgid "Add note to %s" +msgid "Add note on %s" msgstr "" msgid "per day" @@ -1655,7 +1655,7 @@ msgstr "" msgid "Add product" msgstr "" -msgid "Add product to %s" +msgid "Add product on %s" msgstr "" msgid "Consume all ingredients needed by this weeks recipes or products" diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js index 82773ee5..f470719f 100644 --- a/public/viewjs/mealplan.js +++ b/public/viewjs/mealplan.js @@ -281,7 +281,7 @@ $(document).on("click", ".add-recipe-button", function(e) { var day = $(this).parent().parent().data("date"); - $("#add-recipe-modal-title").text(__t("Add recipe to %s", day.toString())); + $("#add-recipe-modal-title").text(__t("Add recipe on %s", day.toString())); $("#day").val(day.toString()); Grocy.Components.RecipePicker.Clear(); $("#add-recipe-modal").modal("show"); @@ -293,7 +293,7 @@ $(document).on("click", ".add-note-button", function(e) { var day = $(this).parent().parent().parent().data("date"); - $("#add-note-modal-title").text(__t("Add note to %s", day.toString())); + $("#add-note-modal-title").text(__t("Add note on %s", day.toString())); $("#day").val(day.toString()); $("#note").val(""); $("#add-note-modal").modal("show"); @@ -305,7 +305,7 @@ $(document).on("click", ".add-product-button", function(e) { var day = $(this).parent().parent().parent().data("date"); - $("#add-product-modal-title").text(__t("Add product to %s", day.toString())); + $("#add-product-modal-title").text(__t("Add product on %s", day.toString())); $("#day").val(day.toString()); Grocy.Components.ProductPicker.Clear(); $("#add-product-modal").modal("show");