From dc630be64f361d35fdfc3290e965bfdb8fd27e28 Mon Sep 17 00:00:00 2001 From: Sergey Date: Wed, 15 Aug 2018 17:01:29 +0300 Subject: [PATCH 1/2] adding a translation to Spanish --- src/include/class-wc-retailcrm-base.php | 78 ++++++++++++------------ src/languages/retailcrm-es_ES.mo | Bin 0 -> 5215 bytes src/languages/retailcrm-ru_RU.mo | Bin 5919 -> 6139 bytes 3 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 src/languages/retailcrm-es_ES.mo diff --git a/src/include/class-wc-retailcrm-base.php b/src/include/class-wc-retailcrm-base.php index 826f258..781292d 100644 --- a/src/include/class-wc-retailcrm-base.php +++ b/src/include/class-wc-retailcrm-base.php @@ -33,8 +33,8 @@ if (!class_exists('WC_Retailcrm_Base')) { } $this->id = 'integration-retailcrm'; - $this->method_title = __('RetailCRM', 'retailcrm'); - $this->method_description = __('Integration with eComlogic managament system.', 'retailcrm'); + $this->method_title = __('retailCRM', 'retailcrm'); + $this->method_description = __('Integration with retailCRM management system.', 'retailcrm'); if ($retailcrm === false) { $this->apiClient = $this->getApiClient(); @@ -230,7 +230,7 @@ if (!class_exists('WC_Retailcrm_Base')) { type: "POST", url: '?action=do_upload', success: function (response) { - alert(''); + alert(''); console.log('AJAX response : ',response); } }); @@ -249,7 +249,7 @@ if (!class_exists('WC_Retailcrm_Base')) { type: "POST", url: '?action=generate_icml', success: function (response) { - alert(''); + alert(''); console.log('AJAX response : ', response); } }); @@ -266,13 +266,13 @@ if (!class_exists('WC_Retailcrm_Base')) {