From 57fe0c016f212253af15ce98d018b13b75e03dd0 Mon Sep 17 00:00:00 2001 From: Alessandro Domanico Date: Fri, 24 Jan 2025 19:30:38 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: David B Malkovsky --- bundle/language_en.properties | 12 ++++++------ .../org/isf/medicalinventory/gui/MedicalPicker.java | 2 +- .../org/isf/medicalinventory/gui/StockMedModel.java | 2 +- .../report/GenericReportPharmaceuticalInventory.java | 2 +- .../java/org/isf/utils/jobjects/ModalJFrame.java | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bundle/language_en.properties b/bundle/language_en.properties index 652f72d163..3fde1b1284 100644 --- a/bundle/language_en.properties +++ b/bundle/language_en.properties @@ -679,13 +679,13 @@ angal.inventory.askforrealquantityempty.msg angal.inventory.confirm.btn = Confirm angal.inventory.confirm.btn.key = O angal.inventory.confirm.success.msg = Inventory confirmation complete. All stock has been accurately verified and updated in the system. -angal.inventory.cannotcreateanotherinventorywithstatusdraft.msg = Cannot create another inventory with status draft, Because you already have an inventory with status draft or validated. +angal.inventory.cannotcreateanotherinventorywithstatusdraft.msg = Cannot create another inventory with status draft because there is an inventory with status draft or validated. angal.inventory.cannotsavelot.msg = Cannot save the lot. Please verify lot information and retry. angal.inventory.cannotconfirminventorywithoutproducts.msg = Cannot confirm inventory without products. angal.inventory.cannotvalidateinventorywithoutproducts.msg = Cannot validate inventory without products. angal.inventory.cannotsaveinventorywithoutproducts.msg = Cannot save inventory without products. angal.inventory.cancelednoteditable.msg = A canceled inventory can not be modified. -angal.inventory.donenoteditable.msg = A confirm inventory can not be modified. +angal.inventory.donenoteditable.msg = A confirmed inventory can not be modified. angal.inventory.chargetype.label = Charge Type angal.inventory.clean.btn = Clean Table angal.inventory.clean.btn.key = T @@ -748,7 +748,7 @@ angal.inventory.medicalwithonlynonzeroqty.btn angal.inventory.nextarrow.btn = > angal.inventory.arrowprevious.btn = < angal.inventory.product.col = Products -angal.inventory.productalreadyexist.msg = {0} already exist in the list. do you still like to add it? +angal.inventory.productalreadyexist.msg = {0} already exists in the list. Do you still like to add it? angal.inventory.savelotwithnullprice.msg = Save the lot without a price? angal.inventory.selectmedical.msg = Select a medical. angal.inventory.status.txt = Status @@ -777,9 +777,9 @@ angal.inventory.allinventoryrowshouldhavelotbeforevalidation.msg angal.inventory.viewinventory.title = View Inventory angal.inventory.youhavealreadyaddedallproduct.msg = You have already added all the products. angal.inventoryrow.realqty.col = Real Qty -angal.inventory.newinvenotryrowtoadd.msg = New lot(s) have been detected in the main Store for these medical(s): {0} do you want to add them to this inventory? -angal.invetory.allmedicalisalreadypresent.msg = All medical is already present in this list. -angal.invetory.allmedicaladdedsuccessfully.msg = All medical are added successfully. +angal.inventory.newinvenotryrowtoadd.msg = New lot(s) have been detected in the main Store for these medical(s): {0}. Do you want to add them to this inventory? +angal.invetory.allmedicalisalreadypresent.msg = All medicals are already present in this list. +angal.invetory.allmedicaladdedsuccessfully.msg = All medicals are added successfully. angal.lab.allnegative.txt = All negative. angal.lab.blood.txt = Blood angal.lab.cfs.txt = CFS diff --git a/src/main/java/org/isf/medicalinventory/gui/MedicalPicker.java b/src/main/java/org/isf/medicalinventory/gui/MedicalPicker.java index e4509c2d33..9d8d21c1ea 100644 --- a/src/main/java/org/isf/medicalinventory/gui/MedicalPicker.java +++ b/src/main/java/org/isf/medicalinventory/gui/MedicalPicker.java @@ -1,6 +1,6 @@ /* * Open Hospital (www.open-hospital.org) - * Copyright © 2006-2024 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) + * Copyright © 2006-2025 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) * * Open Hospital is a free and open source software for healthcare data management. * diff --git a/src/main/java/org/isf/medicalinventory/gui/StockMedModel.java b/src/main/java/org/isf/medicalinventory/gui/StockMedModel.java index 771664a2bf..da2cf086bf 100644 --- a/src/main/java/org/isf/medicalinventory/gui/StockMedModel.java +++ b/src/main/java/org/isf/medicalinventory/gui/StockMedModel.java @@ -1,6 +1,6 @@ /* * Open Hospital (www.open-hospital.org) - * Copyright © 2006-2024 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) + * Copyright © 2006-2025 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) * * Open Hospital is a free and open source software for healthcare data management. * diff --git a/src/main/java/org/isf/stat/gui/report/GenericReportPharmaceuticalInventory.java b/src/main/java/org/isf/stat/gui/report/GenericReportPharmaceuticalInventory.java index d8a96fff68..e21ac4532c 100644 --- a/src/main/java/org/isf/stat/gui/report/GenericReportPharmaceuticalInventory.java +++ b/src/main/java/org/isf/stat/gui/report/GenericReportPharmaceuticalInventory.java @@ -1,6 +1,6 @@ /* * Open Hospital (www.open-hospital.org) - * Copyright © 2006-2024 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) + * Copyright © 2006-2025 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) * * Open Hospital is a free and open source software for healthcare data management. * diff --git a/src/main/java/org/isf/utils/jobjects/ModalJFrame.java b/src/main/java/org/isf/utils/jobjects/ModalJFrame.java index e87ff3677c..69d8d5eb48 100644 --- a/src/main/java/org/isf/utils/jobjects/ModalJFrame.java +++ b/src/main/java/org/isf/utils/jobjects/ModalJFrame.java @@ -1,6 +1,6 @@ /* * Open Hospital (www.open-hospital.org) - * Copyright © 2006-2024 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) + * Copyright © 2006-2025 Informatici Senza Frontiere (info@informaticisenzafrontiere.org) * * Open Hospital is a free and open source software for healthcare data management. *