diff --git a/resources/pot/retailcrm-es_ES.pot b/resources/pot/retailcrm-es_ES.pot index 19988df..2c81b93 100644 --- a/resources/pot/retailcrm-es_ES.pot +++ b/resources/pot/retailcrm-es_ES.pot @@ -443,4 +443,10 @@ msgid "API key with one-shop access required" msgstr "Se requiere clave API con acceso a una tienda" msgid "The currency of the site differs from the currency of the store in CRM. For the integration to work correctly, the currencies in CRM and CMS must match" -msgstr "La moneda del sitio web es distinto a la tienda del CRM. Para el funcionamiento correcto de la integración, las monedas del CMS y CRM deben coincid" \ No newline at end of file +msgstr "La moneda del sitio web es distinto a la tienda del CRM. Para el funcionamiento correcto de la integración, las monedas del CMS y CRM deben coincid" + +msgid "Uploading services" +msgstr "Descarga de servicios" + +msgid "When this option is enabled, all items of type 'virtual' will be considered services and uploaded to Simla.com" +msgstr "Si esta opción está activada, todos los elementos de tipo 'virtual' se tratarán como servicios y se cargarán en Simla.com" diff --git a/resources/pot/retailcrm-ru_RU.pot b/resources/pot/retailcrm-ru_RU.pot index 8d45170..a16004a 100644 --- a/resources/pot/retailcrm-ru_RU.pot +++ b/resources/pot/retailcrm-ru_RU.pot @@ -453,3 +453,9 @@ msgstr "Требуется API ключ с доступом к одному ма msgid "The currency of the site differs from the currency of the store in CRM. For the integration to work correctly, the currencies in CRM and CMS must match" msgstr "Валюта сайта отличается от валюты магазина в CRM. Для корректной работы интеграции, валюты в CRM и CMS должны совпадать" + +msgid "Uploading services" +msgstr "Выгрузка услуг" + +msgid "When this option is enabled, all items of type 'virtual' will be considered services and uploaded to Simla.com" +msgstr "При включении опции, все элементы типа 'виртуальные' будут рассматриваться как услуги и загружаться в Simla.com" diff --git a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php index 3c0c446..8e0d37d 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php +++ b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php @@ -603,6 +603,18 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration ), ]; + $this->form_fields['icml_services'] = [ + 'label' => __('Enabled', 'retailcrm'), + 'title' => __('Uploading services', 'retailcrm'), + 'class' => 'checkbox', + 'type' => 'checkbox', + 'desc_tip' => true, + 'description' => __( + "When this option is enabled, all items of type 'virtual' will be considered services and uploaded to Simla.com", + "retailcrm" + ), + ]; + $this->form_fields['icml'] = [ 'label' => __('Generating ICML', 'retailcrm'), 'title' => __('Generating ICML catalog by wp-cron', 'retailcrm'), diff --git a/src/languages/retailcrm-es_ES.l10n.php b/src/languages/retailcrm-es_ES.l10n.php index f5b710e..b76b61c 100644 --- a/src/languages/retailcrm-es_ES.l10n.php +++ b/src/languages/retailcrm-es_ES.l10n.php @@ -197,6 +197,9 @@ return [ "Se requiere clave API con acceso a una tienda", "The currency of the site differs from the currency of the store in CRM. For the integration to work correctly, the currencies in CRM and CMS must match" => "La moneda del sitio web es distinto a la tienda del CRM. Para el funcionamiento correcto de la integración, las monedas del CMS y CRM deben coincid", + "Uploading services" => "Descarga de servicios", + "When this option is enabled, all items of type 'virtual' will be considered services and uploaded to Simla.com" => + "Si esta opción está activada, todos los elementos de tipo 'virtual' se tratarán como servicios y se cargarán en Simla.com" ], "language" => "es", "x-generator" => "GlotPress/2.4.0-alpha", diff --git a/src/languages/retailcrm-es_ES.mo b/src/languages/retailcrm-es_ES.mo index 30154f7..5e99734 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.l10n.php b/src/languages/retailcrm-ru_RU.l10n.php index c6f5e0e..f5ac832 100644 --- a/src/languages/retailcrm-ru_RU.l10n.php +++ b/src/languages/retailcrm-ru_RU.l10n.php @@ -196,6 +196,9 @@ return [ "Требуется API ключ с доступом к одному магазину", "The currency of the site differs from the currency of the store in CRM. For the integration to work correctly, the currencies in CRM and CMS must match" => "Валюта сайта отличается от валюты магазина в CRM. Для корректной работы интеграции, валюты в CRM и CMS должны совпадать", + "Uploading services" => "Выгрузка услуг", + "When this option is enabled, all items of type 'virtual' will be considered services and uploaded to Simla.com" => + "При включении опции, все элементы типа 'виртуальные' будут рассматриваться как услуги и загружаться в Simla.com" ], "language" => "ru", "x-generator" => "GlotPress/2.4.0-alpha", diff --git a/src/languages/retailcrm-ru_RU.mo b/src/languages/retailcrm-ru_RU.mo index 4249a72..a5e6a99 100644 Binary files a/src/languages/retailcrm-ru_RU.mo and b/src/languages/retailcrm-ru_RU.mo differ