From 6c663eb8a0c0183b312efb19f141d25028c808da Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Sun, 31 Oct 2021 13:39:33 +0200 Subject: [PATCH] fix: BIG-144 typo adjustment dialog success message. --- src/containers/Alerts/Items/InventoryAdjustmentDeleteAlert.js | 2 +- .../InventoryAdjustmentFormDialog/InventoryAdjustmentForm.js | 2 +- src/lang/ar/index.json | 4 ++-- src/lang/en/index.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/containers/Alerts/Items/InventoryAdjustmentDeleteAlert.js b/src/containers/Alerts/Items/InventoryAdjustmentDeleteAlert.js index 892330ecf..20f90b7ce 100644 --- a/src/containers/Alerts/Items/InventoryAdjustmentDeleteAlert.js +++ b/src/containers/Alerts/Items/InventoryAdjustmentDeleteAlert.js @@ -40,7 +40,7 @@ function InventoryAdjustmentDeleteAlert({ deleteInventoryAdjMutate(inventoryId) .then(() => { AppToaster.show({ - message: intl.get('the_adjustment_has_been_deleted_successfully'), + message: intl.get('the_adjustment_transaction_has_been_deleted_successfully'), intent: Intent.SUCCESS, }); closeDrawer('inventory-adjustment-drawer'); diff --git a/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentForm.js b/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentForm.js index 896839873..5246f894c 100644 --- a/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentForm.js +++ b/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentForm.js @@ -63,7 +63,7 @@ function InventoryAdjustmentForm({ closeDialog(dialogName); AppToaster.show({ - message: intl.get('the_make_adjustment_has_been_created_successfully'), + message: intl.get('the_adjustment_transaction_has_been_created_successfully'), intent: Intent.SUCCESS, }); }) diff --git a/src/lang/ar/index.json b/src/lang/ar/index.json index 1bcb70ca0..f6b14d9c0 100644 --- a/src/lang/ar/index.json +++ b/src/lang/ar/index.json @@ -781,8 +781,8 @@ "adjustment_account": "حساب التسوية", "inventory_adjustment_list": "تسويات المخزون", "delete_adjustment": "حذف التسوية", - "the_make_adjustment_has_been_created_successfully": "تم إنشاء تسوية علي المنتج بنجاح.", - "the_adjustment_has_been_deleted_successfully": "تم حذف التسوية بنجاح.", + "the_adjustment_transaction_has_been_created_successfully": "تم إضافة معاملة تسوية المخزون علي الصنف بنجاح.", + "the_adjustment_transaction_has_been_deleted_successfully": "تم حذف معاملة تسوية المخزون بنجاح.", "once_delete_this_inventory_a_adjustment_you_will_able_to_restore_it": "بمجرد حذف هذا المخزون تعديلًا ، لن تتمكن من استعادته لاحقًا. هل أنت متأكد أنك تريد حذف هذه الفاتورة؟", "select_adjustment_account": "حدد حساب التسوية", "qty": "الكمية الحالية", diff --git a/src/lang/en/index.json b/src/lang/en/index.json index ee1901346..968aa8644 100644 --- a/src/lang/en/index.json +++ b/src/lang/en/index.json @@ -767,8 +767,8 @@ "adjustment_account": "Adjustment account", "inventory_adjustment_list": "Inventory Adjustment List", "delete_adjustment": "Delete adjustment", - "the_make_adjustment_has_been_created_successfully": "The make adjustment has been created successfully.", - "the_adjustment_has_been_deleted_successfully": "The adjustment has been deleted successfully.", + "the_adjustment_transaction_has_been_created_successfully": "The adjustment transaction has been created successfully.", + "the_adjustment_transaction_has_been_deleted_successfully": "The adjustment transaction has been deleted successfully.", "once_delete_this_inventory_a_adjustment_you_will_able_to_restore_it": "Once you delete this inventory a adjustment, you won't be able to restore it later. Are you sure you want to delete this invoice?", "select_adjustment_account": "Select adjustment account", "qty": "Quantity on hand",