From bfbee8aff01be617d6f4e489858586b9703ce4c6 Mon Sep 17 00:00:00 2001 From: Nolwennig-Jeulin Date: Mon, 10 Mar 2025 12:40:22 +0100 Subject: [PATCH 1/4] rename "Flush Magento Cache" to "Clean Magento Cache" The "Flush Magento Cache" button should probably be renamed "Clean Magento Cache", because that is much more semantically correct with it's alignment to the cache:clean command. --- app/code/Magento/Backend/Block/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/Block/Cache.php b/app/code/Magento/Backend/Block/Cache.php index 82c36bf3a1fe4..2a4f233b373c2 100644 --- a/app/code/Magento/Backend/Block/Cache.php +++ b/app/code/Magento/Backend/Block/Cache.php @@ -27,7 +27,7 @@ protected function _construct() $this->buttonList->add( 'flush_magento', [ - 'label' => __('Flush Magento Cache'), + 'label' => __('Clean Magento Cache'), 'onclick' => 'setLocation(\'' . $this->getFlushSystemUrl() . '\')', 'class' => 'primary flush-cache-magento' ] From f3f99bcd4b669f5b7a0902948086a55383ae1dc9 Mon Sep 17 00:00:00 2001 From: Nolwennig-Jeulin Date: Mon, 10 Mar 2025 12:41:11 +0100 Subject: [PATCH 2/4] rename "Flush Magento Cache" to "Clean Magento Cache" The "Flush Magento Cache" button should probably be renamed "Clean Magento Cache", because that is much more semantically correct with it's alignment to the cache:clean command. --- app/code/Magento/Backend/etc/acl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/etc/acl.xml b/app/code/Magento/Backend/etc/acl.xml index 693b6025896f0..066687a940a39 100644 --- a/app/code/Magento/Backend/etc/acl.xml +++ b/app/code/Magento/Backend/etc/acl.xml @@ -41,7 +41,7 @@ - + From 8d268e796a576dc44d3b21dfb1f4528f1fd2ad3a Mon Sep 17 00:00:00 2001 From: Nolwennig-Jeulin Date: Mon, 10 Mar 2025 12:42:04 +0100 Subject: [PATCH 3/4] rename "Flush Magento Cache" button to "Clean Magento Cache" The "Flush Magento Cache" button should probably be renamed "Clean Magento Cache", because that is much more semantically correct with it's alignment to the cache:clean command. --- app/code/Magento/Backend/i18n/en_US.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/i18n/en_US.csv b/app/code/Magento/Backend/i18n/en_US.csv index b72db96d6a590..57c27536810aa 100644 --- a/app/code/Magento/Backend/i18n/en_US.csv +++ b/app/code/Magento/Backend/i18n/en_US.csv @@ -3,7 +3,7 @@ "Cache Storage Management","Cache Storage Management" "Flush Magento Cache","Flush Magento Cache" "The cache storage may contain additional data. Are you sure that you want to flush it?","The cache storage may contain additional data. Are you sure that you want to flush it?" -"Flush Cache Storage","Flush Cache Storage" +"Clean Cache Storage","Clean Cache Storage" Invalidated,Invalidated Orders,Orders Amounts,Amounts From ccf51e15a908b873760bd9bea01f7d02fd3377f5 Mon Sep 17 00:00:00 2001 From: Nolwennig-Jeulin Date: Mon, 10 Mar 2025 12:42:54 +0100 Subject: [PATCH 4/4] rename "Flush Magento Cache" button to "Clean Magento Cache" The "Flush Magento Cache" button should probably be renamed "Clean Magento Cache", because that is much more semantically correct with it's alignment to the cache:clean command. --- .../PageCache/Test/Mftf/ActionGroup/ClearCacheActionGroup.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/PageCache/Test/Mftf/ActionGroup/ClearCacheActionGroup.xml b/app/code/Magento/PageCache/Test/Mftf/ActionGroup/ClearCacheActionGroup.xml index ea76b133bb414..11ec4ca45231d 100644 --- a/app/code/Magento/PageCache/Test/Mftf/ActionGroup/ClearCacheActionGroup.xml +++ b/app/code/Magento/PageCache/Test/Mftf/ActionGroup/ClearCacheActionGroup.xml @@ -10,7 +10,7 @@ xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> - Goes to the Admin Cache Management page. Clicks on 'Flush Magento Cache'. + Goes to the Admin Cache Management page. Clicks on 'Clean Magento Cache'.