diff --git a/.gitignore b/.gitignore index 6a4befe..5b40963 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /nbproject/ /vendor/ +.idea/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 1564cee..71bcdf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2019-03-06 3.5.0 +* Добавлена настройка деактивации выгрузки изменений заказа в retailCRM +* Добавлена настройка активации выгрузки SKU в xmlId и связь товаров по полю xmlId +* Добавлена настройка передачи номера заказа в retailCRM + ## 2019-03-06 3.4.5 * Исправлен баг с добавлением скидки при уменьшении количества товара * Перенесена инициализация формы настроек после инициализации всех плагинов diff --git a/VERSION b/VERSION index 4f5e697..1545d96 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.4.5 +3.5.0 diff --git a/resources/pot/retailcrm-es_ES.pot b/resources/pot/retailcrm-es_ES.pot index c99cb16..d8b64b9 100644 --- a/resources/pot/retailcrm-es_ES.pot +++ b/resources/pot/retailcrm-es_ES.pot @@ -200,4 +200,22 @@ msgid "Enable this setting for activate Daemon Collector on site" msgstr "Active esta configuración para activar Daemon Collector en la página web" msgid "Site key" -msgstr "Clave de la página web" \ No newline at end of file +msgstr "Clave de la página web" + +msgid "Enable data editing in retailCRM" +msgstr "Activar edición de datos en retailCRM" + +msgid "Data updating in retailCRM" +msgstr "Actualización de datos en retailCRM" + +msgid "Activate the binding via sku (xml)" +msgstr "Activar conexión por sku (xmlId)" + +msgid "Stock synchronization and link between products" +msgstr "Sincronización de stock y conexión de productos" + +msgid "Enable transferring the number to retailCRM" +msgstr "Activar la transferencia de números en retailCRM" + +msgid "Transferring the order number" +msgstr "Transferencia de un número de pedido" \ No newline at end of file diff --git a/resources/pot/retailcrm-ru_RU.pot b/resources/pot/retailcrm-ru_RU.pot index 3690109..5da055c 100644 --- a/resources/pot/retailcrm-ru_RU.pot +++ b/resources/pot/retailcrm-ru_RU.pot @@ -209,4 +209,22 @@ msgid "Enable this setting for activate Daemon Collector on site" msgstr "Активируйте эту настройку для активации Daemon Collector на сайте" msgid "Site key" -msgstr "Ключ сайта" \ No newline at end of file +msgstr "Ключ сайта" + +msgid "Enable data editing in retailCRM" +msgstr "Активировать редактирование данных в retailCRM" + +msgid "Data updating in retailCRM" +msgstr "Обновление данных в retailCRM" + +msgid "Activate the binding via sku (xml)" +msgstr "Активировать связь по sku(xmlId)" + +msgid "Stock synchronization and link between products" +msgstr "Синхронизация остатков и связь товаров" + +msgid "Enable transferring the number to retailCRM" +msgstr "Активировать передачу номера в retailCRM" + +msgid "Transferring the order number" +msgstr "Передача номера заказа" \ No newline at end of file diff --git a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php index 3436f53..9737e0a 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php +++ b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php @@ -459,22 +459,22 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration ); $this->form_fields['deactivate_update_order'] = array( - 'label' => __('Активировать редактирование данных в retailCRM', 'retailcrm'), - 'title' => __('Обновление данных в retailCRM', 'retailcrm'), + 'label' => __('Enable data editing in retailCRM', 'retailcrm'), + 'title' => __('Data updating in retailCRM', 'retailcrm'), 'class' => 'checkbox', 'type' => 'checkbox' ); $this->form_fields['bind_by_sku'] = array( - 'label' => __('Активировать связь по sku(xmlId)', 'retailcrm'), - 'title' => __('Синхронизация остатков и связь товаров', 'retailcrm'), + 'label' => __('Activate the binding via sku (xml)', 'retailcrm'), + 'title' => __('Stock synchronization and link between products', 'retailcrm'), 'class' => 'checkbox', 'type' => 'checkbox' ); $this->form_fields['update_number'] = array( - 'label' => __('Активировать передачу номера в retailCRM', 'retailcrm'), - 'title' => __('Передача номера заказа', 'retailcrm'), + 'label' => __('Enable transferring the number to retailCRM', 'retailcrm'), + 'title' => __('Transferring the order number', 'retailcrm'), 'class' => 'checkbox', 'type' => 'checkbox' ); diff --git a/src/languages/retailcrm-es_ES.mo b/src/languages/retailcrm-es_ES.mo index fa24d27..6eb92d7 100644 Binary files a/src/languages/retailcrm-es_ES.mo and b/src/languages/retailcrm-es_ES.mo differ diff --git a/src/languages/retailcrm-ru_RU.mo b/src/languages/retailcrm-ru_RU.mo index f844390..3bf2649 100644 Binary files a/src/languages/retailcrm-ru_RU.mo and b/src/languages/retailcrm-ru_RU.mo differ diff --git a/src/readme.txt b/src/readme.txt index d0d88e2..0775bd5 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -46,6 +46,11 @@ API-ключ должен быть для отдельного магазина == Changelog == += 3.5.0 = +* Добавлена настройка деактивации выгрузки изменений заказа в retailCRM +* Добавлена настройка активации выгрузки SKU в xmlId и связь товаров по полю xmlId +* Добавлена настройка передачи номера заказа в retailCRM + = 3.4.5 = * Исправлен баг с добавлением скидки при уменьшении количества товара в retailCRM diff --git a/src/retailcrm.php b/src/retailcrm.php index a898f90..ff89e41 100644 --- a/src/retailcrm.php +++ b/src/retailcrm.php @@ -1,6 +1,6 @@