From c8f8fe16cb7db760a4318523daf430d6bfe7b539 Mon Sep 17 00:00:00 2001 From: Eugene Polozov Date: Thu, 17 Dec 2020 11:13:11 +0300 Subject: [PATCH] Rebranding RetailCRM --- .travis.yml | 2 +- CHANGELOG.md | 7 +++++-- README.md | 6 +++--- README.ru.md | 21 +++++---------------- VERSION | 2 +- src/Console/Command/CustomersExport.php | 4 ++-- src/Console/Command/OrdersExport.php | 4 ++-- src/Model/Config/Backend/ApiUrl.php | 2 +- src/Model/Config/Backend/ApiVersion.php | 2 +- src/README.md | 2 +- src/composer.json | 2 +- src/etc/adminhtml/system.xml | 4 ++-- src/i18n/es_ES.csv | 6 +++--- src/i18n/ru_RU.csv | 6 +++--- 14 files changed, 31 insertions(+), 39 deletions(-) diff --git a/.travis.yml b/.travis.yml index d4a9120..89f04ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -251,7 +251,7 @@ jobs: before_deploy: - export VERSION=`cat VERSION` - export ARCHIVE_NAME=/tmp/retailcrm-retailcrm-$VERSION.zip - - git config --local user.name "retailCRM" + - git config --local user.name "RetailCRM" - git config --local user.email "support@retailcrm.ru" - export TRAVIS_TAG=v$VERSION - git tag $TRAVIS_TAG diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cbd1fd..849a553 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2020-12-17 v.2.5.1 +* Ребрендинг RetailCRM + ## 2018-12-25 v.2.5.0 * Поддержка передачи в заказе нескольких позиций одного товара @@ -5,13 +8,13 @@ * Удалена генерация externalId покупателя при заказе от незарегестрированного пользователя ## 2018-12-25 v.2.4.0 -* Добавлен функционал получения остатков из retailCRM +* Добавлен функционал получения остатков из RetailCRM ## 2018-12-25 v.2.3.2 * Добавлена выгрузка картинок категорий товаров в ICML ## 2018-10-25 v.2.3.1 -* Добавлена активация модуля в маркетплейсе retailCRM +* Добавлена активация модуля в маркетплейсе RetailCRM ## 2018-08-21 v.2.3.0 * Добавлены консольные команды для выгрузки архива клиентов и заказов diff --git a/README.md b/README.md index 123a00b..1628399 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ Magento module ============== -Magento 2 module for interaction with [retailCRM](http://www.retailcrm.ru). +Magento 2 module for interaction with [RetailCRM](http://www.retailcrm.ru) ([Documentation](https://docs.retailcrm.pro/Users/Integration/SiteModules/Magento) page) Module allows: -* Exchange the orders data with retailCRM +* Exchange the orders data with RetailCRM * Configure relations between dictionaries of retailCRM and Magento (statuses, payments, delivery types and etc) -* Generate [ICML](http://www.retailcrm.ru/docs/Developers/ICML) (Intaro Markup Language) export file for catalog loading by retailCRM +* Generate [ICML](http://www.retailcrm.ru/docs/Developers/ICML) (Intaro Markup Language) export file for catalog loading by RetailCRM ## ICML diff --git a/README.ru.md b/README.ru.md index 6bc4bbf..20b0b16 100644 --- a/README.ru.md +++ b/README.ru.md @@ -1,27 +1,16 @@ Magento module -Модуль Magento 2 для интеграции с [retailCRM](http://www.retailcrm.ru). +Модуль Magento 2 для интеграции с [RetailCRM](http://www.retailcrm.ru) ([Документация](https://docs.retailcrm.ru/Users/Integration/SiteModules/Magento)) Модуль позволяет: -* Производить обмен заказами с retailCRM -* Настроить соответствие справочников retailCRM и Magento (статусы, оплаты, типы доставки и т.д.) -* Создать [ICML](http://www.retailcrm.ru/docs/Developers/ICML) (Intaro Markup Language) для загрузки каталога товаров в retailCRM - -### ICML - -По умолчанию ICML-файл генерируется модулем каждые 4 часа. Вы можете найти файл в корневой директории с именем «retailcrm_{{shop_code}}.xml". Например, http://example.org/retailcrm_default.xml - -### Ручная установка - -1) Находясь в корневой директории проекта выполните команду: - -* Настроить соответствие справочников retailCRM и Magento (статусы, оплаты, типы доставки и т.д.) -* Создать [ICML] (http://www.retailcrm.ru/docs/Developers/ICML) (Intaro Markup Language) для загрузки каталога товаров в RetailCRM +* Производить обмен заказами с RetailCRM +* Настроить соответствие справочников RetailCRM и Magento (статусы, оплаты, типы доставки и т.д.) +* Создать [ICML](http://www.retailcrm.ru/docs/Developers/ICML) (Intaro Markup Language) для загрузки каталога товаров в RetailCRM ## ICML -По умолчанию ICML-файл генерируется модулем каждые 4 часа. Вы можете найти файл в корневой папке с именем «retailcrm_{{shop_code}}.xml". Например, http://retailcrm.ru/retailcrm_default.xml +По умолчанию ICML-файл генерируется модулем каждые 4 часа. Вы можете найти файл в корневой папке с именем «retailcrm_{{shop_code}}.xml". Например, http://example.ru/retailcrm_default.xml ## Ручная установка diff --git a/VERSION b/VERSION index 437459c..73462a5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5.0 +2.5.1 diff --git a/src/Console/Command/CustomersExport.php b/src/Console/Command/CustomersExport.php index 1f5cc00..18a8aee 100644 --- a/src/Console/Command/CustomersExport.php +++ b/src/Console/Command/CustomersExport.php @@ -44,7 +44,7 @@ class CustomersExport extends Command protected function configure() { $this->setName('retailcrm:customers:export') - ->setDescription('Upload archive customers to retailCRM from Magento') + ->setDescription('Upload archive customers to RetailCRM from Magento') ->addArgument('from', InputArgument::OPTIONAL, 'Beginning order number') ->addArgument('to', InputArgument::OPTIONAL, 'End order number'); @@ -52,7 +52,7 @@ class CustomersExport extends Command } /** - * Upload customers to retailCRM + * Upload customers to RetailCRM * * @param InputInterface $input * @param OutputInterface $output diff --git a/src/Console/Command/OrdersExport.php b/src/Console/Command/OrdersExport.php index 838e5f9..92b984a 100644 --- a/src/Console/Command/OrdersExport.php +++ b/src/Console/Command/OrdersExport.php @@ -37,7 +37,7 @@ class OrdersExport extends Command protected function configure() { $this->setName('retailcrm:orders:export') - ->setDescription('Upload archive orders to retailCRM from Magento') + ->setDescription('Upload archive orders to RetailCRM from Magento') ->addArgument('from', InputArgument::OPTIONAL, 'Beginning order number') ->addArgument('to', InputArgument::OPTIONAL, 'End order number'); @@ -45,7 +45,7 @@ class OrdersExport extends Command } /** - * Upload orders to retailCRM + * Upload orders to RetailCRM * * @param InputInterface $input * @param OutputInterface $output diff --git a/src/Model/Config/Backend/ApiUrl.php b/src/Model/Config/Backend/ApiUrl.php index 6814613..ef2dfaf 100644 --- a/src/Model/Config/Backend/ApiUrl.php +++ b/src/Model/Config/Backend/ApiUrl.php @@ -82,7 +82,7 @@ class ApiUrl extends \Magento\Framework\App\Config\Value } elseif (!$response->isSuccessful() && $response['errorMsg'] == $api->getErrorText('errorApiKey')) { throw new \Magento\Framework\Exception\ValidatorException(__('Incorrect API key')); } elseif (isset($response['errorMsg']) && $response['errorMsg'] == $api->getErrorText('errorAccount')) { - throw new \Magento\Framework\Exception\ValidatorException(__('Incorrect URL of retailCRM')); + throw new \Magento\Framework\Exception\ValidatorException(__('Incorrect URL of RetailCRM')); } return true; diff --git a/src/Model/Config/Backend/ApiVersion.php b/src/Model/Config/Backend/ApiVersion.php index a55388f..fc04d13 100644 --- a/src/Model/Config/Backend/ApiVersion.php +++ b/src/Model/Config/Backend/ApiVersion.php @@ -82,7 +82,7 @@ class ApiVersion extends \Magento\Framework\App\Config\Value if ($response->isSuccessful()) { $availableVersions = $response['versions']; } else { - throw new \Magento\Framework\Exception\ValidatorException(__('Incorrect URL of retailCRM or API key')); + throw new \Magento\Framework\Exception\ValidatorException(__('Incorrect URL of RetailCRM or API key')); } if (isset($availableVersions)) { diff --git a/src/README.md b/src/README.md index 8280653..972fb7f 100644 --- a/src/README.md +++ b/src/README.md @@ -1 +1 @@ -Magento 2 module for interaction with retailCRM \ No newline at end of file +Magento 2 module for interaction with RetailCRM \ No newline at end of file diff --git a/src/composer.json b/src/composer.json index f6e90ec..4556c48 100644 --- a/src/composer.json +++ b/src/composer.json @@ -1,6 +1,6 @@ { "name": "retailcrm/retailcrm", - "description": "Retailcrm", + "description": "RetailCRM", "require": { "retailcrm/api-client-php": "~5.0" }, diff --git a/src/etc/adminhtml/system.xml b/src/etc/adminhtml/system.xml index 56617e1..b0d0556 100644 --- a/src/etc/adminhtml/system.xml +++ b/src/etc/adminhtml/system.xml @@ -2,7 +2,7 @@ - +
separator-top @@ -18,7 +18,7 @@ - You can create an API key in the administration section of retailCRM + You can create an API key in the administration section of RetailCRM diff --git a/src/i18n/es_ES.csv b/src/i18n/es_ES.csv index edd009c..c5989e4 100644 --- a/src/i18n/es_ES.csv +++ b/src/i18n/es_ES.csv @@ -1,7 +1,7 @@ "Settings","La configuración" "Main settings","La configuración general" "API key","La llave API" -"You can create an API key in the administration section of retailCRM","Puede crear la llave API en la sección administrativa del retailCRM" +"You can create an API key in the administration section of RetailCRM","Puede crear la llave API en la sección administrativa del RetailCRM" "API version","La versión API" "Catalogue settings","La configuración del catálogo" "Attributes for uploading to ICML","Los atributos para importar al ICML" @@ -15,10 +15,10 @@ "Setting the store by default","La configuración de la tienda por defecto" "Setting the stores correspondence","La configuración de la concordancia de tienda" "Enter API of your URL and API key","Introduce el enlace API y la llave API" -"Incorrect URL of retailCRM","La dirección del retailCRM es incorrecto" +"Incorrect URL of RetailCRM","La dirección del RetailCRM es incorrecto" "Make sure that the entered data is correct","Asegúrese de que los datos introducidos son correctos" "Incorrect API key","La llave API es incorrecta" -"Incorrect URL of retailCRM or API key","La dirección del retailCRM o la llave API son incorrectos" +"Incorrect URL of RetailCRM or API key","La dirección del RetailCRM o la llave API son incorrectos" "The selected API version is unavailable","La versión de la API seleccionada no está disponible" "Send","Enviar" "Default site","Tienda por defecto" diff --git a/src/i18n/ru_RU.csv b/src/i18n/ru_RU.csv index 43d50aa..436c336 100644 --- a/src/i18n/ru_RU.csv +++ b/src/i18n/ru_RU.csv @@ -1,7 +1,7 @@ "Settings","Настройки" "Main settings","Главные настройки" "API key","API ключ" -"You can create an API key in the administration section of retailCRM","Вы можете создать API ключ в административном разделе retailCRM" +"You can create an API key in the administration section of RetailCRM","Вы можете создать API ключ в административном разделе RetailCRM" "API version","Версия API" "Catalogue settings","Настройки каталога" "Attributes for uploading to ICML","Атрибуты для выгрузки в ICML" @@ -15,10 +15,10 @@ "Setting the store by default","Настройка магазина по умолчанию" "Setting the stores correspondence","Настройка соответствия магазинов" "Enter API of your URL and API key","Введите Ваш API URL и API ключ" -"Incorrect URL of retailCRM","Некорректный адрес retailCRM" +"Incorrect URL of RetailCRM","Некорректный адрес RetailCRM" "Make sure that the entered data is correct","Убедитесь, что введенные данные верны" "Incorrect API key","Некорректный API ключ" -"Incorrect URL of retailCRM or API key","Некорректный адрес retailCRM или API ключ" +"Incorrect URL of RetailCRM or API key","Некорректный адрес RetailCRM или API ключ" "The selected API version is unavailable","Выбранная версия API недоступна" "Send","Выгрузить" "Default site","Сайт по умолчанию"