diff --git a/Console/Command/CacheFlushInvalidatedCommand.php b/Console/Command/CacheFlushInvalidatedCommand.php
index b65934b..3eba98f 100644
--- a/Console/Command/CacheFlushInvalidatedCommand.php
+++ b/Console/Command/CacheFlushInvalidatedCommand.php
@@ -36,7 +36,7 @@ class CacheFlushInvalidatedCommand extends Command
public function __construct(
EventManager $eventManager,
DataObjectFactory $dataObjectFactory,
- string $name = ''
+ string $name = 'cache:refresh:invalidated'
) {
$this->eventManager = $eventManager;
$this->dataObjectFactory = $dataObjectFactory;
@@ -48,7 +48,6 @@ public function __construct(
*/
protected function configure(): void
{
- $this->setName('cache:refresh:invalidated');
$this->setDescription('Flushes cache storage used by currently invalidated cache type(s)');
parent::configure();
}
diff --git a/composer.json b/composer.json
index 8dbc258..47821e6 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"name": "pronko/selective-cache",
"description": "Selective Cache extension for Magento 2",
- "version": "1.2.0",
+ "version": "1.2.1",
"type": "magento2-module",
"license": "MIT",
"authors": [
diff --git a/etc/acl.xml b/etc/acl.xml
index fa04b45..ca1967e 100644
--- a/etc/acl.xml
+++ b/etc/acl.xml
@@ -8,7 +8,7 @@
-
+
diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml
index 3125e89..375dccc 100644
--- a/etc/adminhtml/system.xml
+++ b/etc/adminhtml/system.xml
@@ -16,9 +16,9 @@
- Set time for cronjob (for example: * * * * * to run every minute)
+ Set time for cronjob (for example: * * * * * to run every minute)
-
\ No newline at end of file
+
diff --git a/etc/module.xml b/etc/module.xml
index ef2c633..e1cc32f 100644
--- a/etc/module.xml
+++ b/etc/module.xml
@@ -6,5 +6,5 @@
*/
-->
-
+
diff --git a/i18n/en_US.csv b/i18n/en_US.csv
index fd1a326..7593007 100644
--- a/i18n/en_US.csv
+++ b/i18n/en_US.csv
@@ -1,10 +1,12 @@
"The following cache types have been successfully cleaned: %1","The following cache types have been successfully cleaned: %1"
"There are no invalidated cache types to be cleaned.","There are no invalidated cache types to be cleaned."
-"Refresh Invalidated Cache","Refresh Invalidated Cache"
+"Cache types cleared automatically: %1","Cache types cleared automatically: %1"
+"Flush Invalidated Cache","Flush Invalidated Cache"
"Additionally you can %1 directly.","Additionally you can %1 directly."
-"Flush Invalidaded Cache","Flush Invalided Cache"
-"Following cache types were automatically cleared: ","Following cache types were automatically cleared: "
-"Set cronjob for clearing invalidated cache types","Set cronjob for clearing invalidated cache types"
-"Set time for cronjob (for example: * * * * * to run every minute)","Set time for cronjob (for example: * * * * * to run every minute)"
+"Refresh Invalidated Cache","Refresh Invalidated Cache"
+Pronko,Pronko
+"Selective Cache","Selective Cache"
"Configure Cronjob","Configure Cronjob"
"Enable Cronjob","Enable Cronjob"
+"Set cronjob for clearing invalidated cache types","Set cronjob for clearing invalidated cache types"
+"Set time for cronjob (for example: * * * * * to run every minute)","Set time for cronjob (for example: * * * * * to run every minute)"