diff --git a/Console/Command/SelectAttributeTest.php b/Console/Command/TranslateProductSelectAttributeOptions.php similarity index 82% rename from Console/Command/SelectAttributeTest.php rename to Console/Command/TranslateProductSelectAttributeOptions.php index 388363e..6cf6fec 100644 --- a/Console/Command/SelectAttributeTest.php +++ b/Console/Command/TranslateProductSelectAttributeOptions.php @@ -9,7 +9,7 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -class SelectAttributeTest extends Command +class TranslateProductSelectAttributeOptions extends Command { /** * @param TranslateSelectAttributes $translateSelectAttributes @@ -27,8 +27,8 @@ public function __construct( */ protected function configure(): void { - $this->setName('mage-os:select-attribute:test'); - $this->setDescription('Test select attribute translation'); + $this->setName('mage-os:translate:product-select-attribute-options'); + $this->setDescription('Translate product select attribute options'); parent::configure(); } diff --git a/Console/Command/TestProcedure.php b/Console/Command/TranslateProducts.php similarity index 86% rename from Console/Command/TestProcedure.php rename to Console/Command/TranslateProducts.php index 211089f..994514a 100644 --- a/Console/Command/TestProcedure.php +++ b/Console/Command/TranslateProducts.php @@ -9,7 +9,7 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -class TestProcedure extends Command +class TranslateProducts extends Command { /** * @param TranslateProductsInterface $translateProducts @@ -27,8 +27,8 @@ public function __construct( */ protected function configure(): void { - $this->setName('mage-os:procedure:test'); - $this->setDescription('Test the translation procedure by shell'); + $this->setName('mage-os:translate:products'); + $this->setDescription('Translate products'); parent::configure(); } diff --git a/etc/di.xml b/etc/di.xml index b050488..dcf1efa 100644 --- a/etc/di.xml +++ b/etc/di.xml @@ -19,8 +19,8 @@ MageOS\AutomaticTranslation\Console\Command\TestTranslation - MageOS\AutomaticTranslation\Console\Command\TestProcedure - MageOS\AutomaticTranslation\Console\Command\SelectAttributeTest + MageOS\AutomaticTranslation\Console\Command\TranslateProducts + MageOS\AutomaticTranslation\Console\Command\TranslateProductSelectAttributeOptions