From 618a762644dfa111697c5fc4f8455f73b0dcf704 Mon Sep 17 00:00:00 2001 From: lakshya chauhan Date: Tue, 18 Jan 2022 12:52:37 +0530 Subject: [PATCH] change success message and description --- modules/pscleaner/pscleaner.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/pscleaner/pscleaner.php b/modules/pscleaner/pscleaner.php index 51acc9ca6..f49e61333 100644 --- a/modules/pscleaner/pscleaner.php +++ b/modules/pscleaner/pscleaner.php @@ -92,10 +92,10 @@ class PSCleaner extends Module $html .= $this->displayConfirmation($conf); } elseif (Tools::getValue('submitTruncateCatalog') && Tools::getValue('checkTruncateCatalog')) { self::truncate('catalog'); - $html .= $this->displayConfirmation($this->l('Catalog truncated successfuly please run functional Integrity constraints. to make integrity in data tables')); + $html .= $this->displayConfirmation($this->l('Catalog truncated successfuly, please run functional Integrity constraints to clean the database.')); } elseif (Tools::getValue('submitTruncateSales') && Tools::getValue('checkTruncateSales')) { self::truncate('sales'); - $html .= $this->displayConfirmation($this->l('Orders and customers truncated successfuly please run functional Integrity constraints. to make integrity in data tables')); + $html .= $this->displayConfirmation($this->l('Orders and customers truncated successfuly, please run functional Integrity constraints to clean the database')); } $html .= $this->context->smarty->fetch(_PS_MODULE_DIR_.$this->name.'/views/templates/admin/pscleaner_script.tpl'); @@ -463,7 +463,7 @@ class PSCleaner extends Module 'title' => $this->l('Functional integrity constraints'), 'icon' => 'icon-cogs' ), - 'description' => $this->l('integrity constraint is used to protect the database from accidental damage.'), + 'description' => $this->l('Integrity constraint is used to maintain the quality of information.'), 'submit' => array( 'title' => $this->l('Check & fix'), 'class' => 'btn btn-default pull-right', @@ -678,7 +678,7 @@ class PSCleaner extends Module array('htl_room_type_demand_price', 'id_product', 'product', 'id_product'), array('htl_room_type_global_demand_advance_option_lang', 'id_lang', 'lang', 'id_lang'), array('htl_room_type_global_demand_advance_option_lang', 'id_option', 'htl_room_type_global_demand_advance_option', 'id_option'), - array('htl_room_type_feature_pricing_group', 'id_lang', 'lang', 'id_lang'), + array('htl_room_type_feature_pricing_group', 'id_group', 'group', 'id_group'), array('htl_booking_demands_tax', 'id_tax', 'tax', 'id_tax'), array('htl_booking_detail', 'id_product', 'product', 'id_product'), array('htl_booking_detail', 'id_order', 'orders', 'id_order'), @@ -701,7 +701,6 @@ class PSCleaner extends Module array('htl_room_type_feature_pricing_lang', 'id_lang', 'lang', 'id_lang'), array('htl_order_restrict_date', 'id_hotel', 'htl_branch_info', 'id'), array('htl_branch_refund_rules', 'id_hotel', 'htl_branch_info', 'id'), - array('htl_branch_refund_rules', 'id_hotel_refund_rule', 'htl_branch_refund_rules', 'id_hotel_refund_rule'), array('htl_order_refund_rules_lang', 'id_refund_rule', 'htl_branch_refund_rules', 'id_refund_rule'), array('htl_advance_payment', 'id_product', 'product', 'id_product'), )