diff --git a/resources/pot/retailcrm-es_ES.pot b/resources/pot/retailcrm-es_ES.pot index 19af6da..662e16a 100644 --- a/resources/pot/retailcrm-es_ES.pot +++ b/resources/pot/retailcrm-es_ES.pot @@ -128,10 +128,16 @@ msgid "Coupon" msgstr "Cupón" msgid "When working with coupons through CRM, it is impossible to transfer manual discounts" -msgstr "Al trabajar con cupones a través de CRM, es imposible transferir descuentos manuales" +msgstr "При работе с купонами через CRM невозможно передавать ручные скидки." msgid "The custom field must be in the form of a string or text. An example of filling in a field in CRM: `code_coupon` or `code_coupon1; code_coupon2`" -msgstr "El campo personalizado debe tener el formato de una cadena o texto. Un ejemplo de cómo completar un campo en CRM: `code_coupon` o `code_coupon1; código_cupón2`" +msgstr "Пользовательское поле должно быть формата Строка или Текст." + +msgid "When using multiple coupons, separation using spaces, line breaks, `;` `,` characters is supported." +msgstr "При использовании нескольких купонов, поддерживается разделение с помощью пробелов, переноса строки, символами `;` `,`." + +msgid "Example: code_coupon_1; code_coupon_2, code_coupon_3 code_coupon_4" +msgstr "Например: code_coupon_1; code_coupon_2, code_coupon_3 code_coupon_4" msgid "Payment types" msgstr "Métodos de pago" diff --git a/resources/pot/retailcrm-ru_RU.pot b/resources/pot/retailcrm-ru_RU.pot index ae63783..6495a01 100644 --- a/resources/pot/retailcrm-ru_RU.pot +++ b/resources/pot/retailcrm-ru_RU.pot @@ -137,10 +137,16 @@ msgid "Coupon" msgstr "Купон" msgid "When working with coupons through CRM, it is impossible to transfer manual discounts" -msgstr "При работе с купонами через CRM, невозможно передавать ручные скидки." +msgstr "При работе с купонами через CRM невозможно передавать ручные скидки." msgid "The custom field must be in the form of a string or text. An example of filling in a field in CRM: `code_coupon` or `code_coupon1; code_coupon2`" -msgstr "Пользовательское поле должно быть формата string или text. При использовании нескольких купонов, поддреживается разделение пробельными символами, а также знаками `;` `,`. Пример: code_coupon_1; code_coupon_2, code_coupon_3 code_coupon_4" +msgstr "Пользовательское поле должно быть формата Строка или Текст." + +msgid "When using multiple coupons, separation using spaces, line breaks, `;` `,` characters is supported." +msgstr "При использовании нескольких купонов, поддерживается разделение с помощью пробелов, переноса строки, символами `;` `,`." + +msgid "Example: code_coupon_1; code_coupon_2, code_coupon_3 code_coupon_4" +msgstr "Например: code_coupon_1; code_coupon_2, code_coupon_3 code_coupon_4" msgid "Payment types" msgstr "Способы оплаты" diff --git a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php index f9d7b2d..75a46bb 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php +++ b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php @@ -363,13 +363,17 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration $this->form_fields['coupon_notification'] = [ 'id' => 'coupon_options', - 'css' => 'max-width:400px;resize: none;height:200px;', + 'css' => 'max-width:400px;resize: none;height:215px;', 'type' => 'textarea', 'title' => __('Attention!', 'retailcrm'), 'value' => '', 'placeholder' => __('When working with coupons through CRM, it is impossible to transfer manual discounts', 'retailcrm') . PHP_EOL . PHP_EOL . - __('The custom field must be in the form of a string or text. An example of filling in a field in CRM: `code_coupon` or `code_coupon1; code_coupon2`', 'retailcrm'), + __('The custom field must be in the form of a string or text. An example of filling in a field in CRM: `code_coupon` or `code_coupon1; code_coupon2`', 'retailcrm') . + PHP_EOL . + __('When using multiple coupons, separation using spaces, line breaks, `;` `,` characters is supported.', 'retailcrm') . + PHP_EOL . + __('Example: code_coupon_1; code_coupon_2, code_coupon_3 code_coupon_4', 'retailcrm'), 'custom_attributes' => ['readonly' => 'readonly'], ]; @@ -380,7 +384,6 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration 'type' => 'select', 'options' => $coupon_option_list, 'desc_tip' => true, - 'description' => __('The custom field must be in the form of a string or text. An example of filling in a field in CRM: `code_coupon` or `code_coupon1; code_coupon2`', 'retailcrm') ]; } diff --git a/src/languages/retailcrm-es_ES.mo b/src/languages/retailcrm-es_ES.mo index 88c6e6f..7ef599a 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 b46f5b1..f158397 100644 Binary files a/src/languages/retailcrm-ru_RU.mo and b/src/languages/retailcrm-ru_RU.mo differ