From 7f24ffc4845e06cabb60a84181fa3d7fe2462ec2 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sat, 19 Dec 2020 17:38:04 +0100 Subject: [PATCH] Clarify string --- localization/strings.pot | 2 +- public/viewjs/purchase.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localization/strings.pot b/localization/strings.pot index ab6ec8e0..192e3298 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1870,7 +1870,7 @@ msgstr "" msgid "Show a warning when the due date of the purchased product is earlier than the next due date in stock" msgstr "" -msgid "There are items in stock which are due earlier" +msgid "This is due earlier than already in-stock items" msgstr "" msgid "When enabled, the amount will always be filled with 1 after changing/scanning a product and if all fields could be automatically populated (by product defaults), the transaction is automatically submitted" diff --git a/public/viewjs/purchase.js b/public/viewjs/purchase.js index e206018a..08654027 100644 --- a/public/viewjs/purchase.js +++ b/public/viewjs/purchase.js @@ -119,7 +119,7 @@ $('#save-purchase-button').on('click', function(e) { if (moment(jsonData.best_before_date).isBefore(CurrentProductDetails.next_due_date)) { - toastr.warning(__t("There are items in stock which are due earlier")); + toastr.warning(__t("This is due earlier than already in-stock items")); } }