From 038755ee3723899542244c416a0fbc1d8875c791 Mon Sep 17 00:00:00 2001 From: sleeplessnight2 <8561601+sleeplessnight2@users.noreply.github.com> Date: Thu, 3 Dec 2020 22:33:16 +0100 Subject: [PATCH] requested changes by Berrnd --- localization/de/strings.po | 9 --------- localization/strings.pot | 9 +++++++++ public/viewjs/consume.js | 1 - 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/localization/de/strings.po b/localization/de/strings.po index 68b4518e..89ce454d 100644 --- a/localization/de/strings.po +++ b/localization/de/strings.po @@ -51,15 +51,6 @@ msgid_plural "%s Products" msgstr[0] "%s Produkt" msgstr[1] "%s Produkte" -msgid "Standard Consume-Amount for this Product" -msgstr "Standard Verbrauchsmenge für dieses Produkt" - -msgid "This amount is used as the Standard Amount for Consuming" -msgstr "Dieser Betrag wird als Standardmenge für den Verbrauch genommen (inkl. dem Schnellverbrauch)." - -msgid "Otherwise you will be forced to make an entry before you can save" -msgstr "Sonst wird man zu einer Eingabe gezwungen bevor man speichern kann" - msgid "Amount" msgstr "Menge" diff --git a/localization/strings.pot b/localization/strings.pot index d1551eb0..8cb1784a 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -60,6 +60,15 @@ msgstr "" msgid "Batteries overview" msgstr "" +msgid "Standard Consume-Amount for this Product" +msgstr "" + +msgid "This amount is used as the Standard Amount for Consuming" +msgstr "" + +msgid "Standard Consume-Amount for this Product" +msgstr "" + msgid "Purchase" msgstr "" diff --git a/public/viewjs/consume.js b/public/viewjs/consume.js index 64a549d3..b52c860c 100644 --- a/public/viewjs/consume.js +++ b/public/viewjs/consume.js @@ -415,7 +415,6 @@ $('#consume-form input').keyup(function(event) Grocy.FrontendHelpers.ValidateForm('consume-form'); }); -//das Timeout wurde eingepflegt damit bei valider vorausgewaehlter Menge die Buttons von selbst aktiviert werden $('#consume-form select').change(function(event) {setTimeout(function(){ Grocy.FrontendHelpers.ValidateForm('consume-form');