From 5ae5e2399c8c958e6709668bd8a77d3a4aad4e59 Mon Sep 17 00:00:00 2001 From: ArnaudFonzam Date: Fri, 4 Oct 2024 14:52:05 +0100 Subject: [PATCH] revert changes --- bundle/language_en.properties | 2 +- src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/language_en.properties b/bundle/language_en.properties index f76e5b03f3..3fe91b252b 100644 --- a/bundle/language_en.properties +++ b/bundle/language_en.properties @@ -715,7 +715,7 @@ angal.inventoryrow.doyoureallywanttocleanthistable.msg angal.inventoryrow.doyouwanttoaddallnotyetlistedproducts.msg = Do you want to add all not yet listed products? angal.inventoryrow.doyouwanttocontinueediting.msg = Do you want to continue editing? angal.inventoryrow.doyouwanttosavethechanges.msg = Do you want to save the changes? -angal.inventory.doyoureallywanttovalidatethisinventory.msg = Do you really want to validate this inventory? +angal.inventoryrow.doyoureallywanttovalidatethisinventory.msg = Do you really want to validate this inventory? angal.inventoryrow.notfound.msg = Inventory not found. angal.inventoryrow.invalidquantity.msg = Invalid quantity. angal.inventory.pleaseinsertavalidinventorydate.msg = Please insert a valid inventory date. diff --git a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java index 5b4310322c..d7958dede7 100644 --- a/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java +++ b/src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java @@ -971,7 +971,7 @@ private JButton getValidateButton() { MessageDialog.error(null, "angal.inventory.allinventoryrowshouldhavelotbeforevalidation.msg"); return; } - int reset = MessageDialog.yesNo(null, "angal.inventory.doyoureallywanttovalidatethisinventory.msg"); + int reset = MessageDialog.yesNo(null, "angal.inventoryrow.doyoureallywanttovalidatethisinventory.msg"); if (reset == JOptionPane.YES_OPTION) { String dischargeCode = inventory.getDischargeType(); String chargeCode = inventory.getChargeType();