diff --git a/resources/pot/retailcrm-es_ES.pot b/resources/pot/retailcrm-es_ES.pot
index da96dc0..a80bb4b 100644
--- a/resources/pot/retailcrm-es_ES.pot
+++ b/resources/pot/retailcrm-es_ES.pot
@@ -592,8 +592,8 @@ msgstr "Utiliza el cupón:"
msgid "Points will be awarded upon completion of the order:"
msgstr "Los puntos se concederán al finalizar el pedido:"
-msgid "Upload of current prices of offers"
-msgstr "Carga de los precios actuales de las ofertas"
+msgid "Unloading promotional prices of offers"
+msgstr "Descarga de precios promocionales de ofertas comerciales"
msgid "Every 4 hours"
msgstr "Cada 4 horas"
diff --git a/resources/pot/retailcrm-ru_RU.pot b/resources/pot/retailcrm-ru_RU.pot
index af3b8a0..b047d2f 100644
--- a/resources/pot/retailcrm-ru_RU.pot
+++ b/resources/pot/retailcrm-ru_RU.pot
@@ -601,8 +601,8 @@ msgstr "Используйте купон:"
msgid "Points will be awarded upon completion of the order:"
msgstr "По завершению заказа будет начислено баллов:"
-msgid "Upload of current prices of offers"
-msgstr "Выгрузка текущих цен торговых предложений"
+msgid "Unloading promotional prices of offers"
+msgstr "Выгрузка акционных цен торговых предложений"
msgid "Every 4 hours"
msgstr "Каждые 4 часа"
diff --git a/src/assets/js/retailcrm-cron-info.js b/src/assets/js/retailcrm-cron-info.js
index 14f4a9d..5ca2076 100644
--- a/src/assets/js/retailcrm-cron-info.js
+++ b/src/assets/js/retailcrm-cron-info.js
@@ -16,7 +16,7 @@ jQuery(function () {
this.history = 0;
this.inventories = 0;
this.messageSuccessful = '';
- this.loyalty_upload_price = 0;
+ this.loyaltyUploadPrice = 0;
this.adminUrl = AdminUrl.url;
@@ -34,14 +34,14 @@ jQuery(function () {
_this.icml = response.icml;
_this.inventories = response.inventories;
_this.messageSuccessful = response.translate.tr_successful;
- _this.loyalty_upload_price = response.loyalty_upload_price
+ _this.loyaltyUploadPrice = response.loyaltyUploadPrice
_this.displayInfoAboutCron(
response.translate.tr_td_cron,
response.translate.tr_td_icml,
response.translate.tr_td_history,
response.translate.tr_td_inventories,
- response.translate.tr_td_loyalty_upload_price
+ response.translate.tr_td_loyaltyUploadPrice
);
})
@@ -50,7 +50,7 @@ jQuery(function () {
jQuery(this.submitButton).click(this.clearCronTasks);
}
- RetailcrmCronInfo.prototype.displayInfoAboutCron = function (cron, icml, history, inventories, loyalty_upload_price) {
+ RetailcrmCronInfo.prototype.displayInfoAboutCron = function (cron, icml, history, inventories, loyaltyUploadPrice) {
this.table = jQuery(this.title).next();
this.table.append('
');
this.infoTable = jQuery('tbody[class="retail-debug-info"]').get(0);
@@ -59,7 +59,7 @@ jQuery(function () {
jQuery(this.infoTable).append("" + icml + " | " + this.icml + " |
");
jQuery(this.infoTable).append("" + history + " | " + this.history + " |
");
jQuery(this.infoTable).append("" + inventories + " | " + this.inventories + " |
");
- jQuery(this.infoTable).append("" + loyalty_upload_price + " | " + this.loyalty_upload_price + " |
");
+ jQuery(this.infoTable).append("" + loyaltyUploadPrice + " | " + this.loyaltyUploadPrice + " |
");
}
RetailcrmCronInfo.prototype.clearCronTasks = function () {
diff --git a/src/include/class-wc-retailcrm-base.php b/src/include/class-wc-retailcrm-base.php
index c656fe5..9f8b65b 100644
--- a/src/include/class-wc-retailcrm-base.php
+++ b/src/include/class-wc-retailcrm-base.php
@@ -969,7 +969,7 @@ if (!class_exists('WC_Retailcrm_Base')) {
'tr_td_history' => __('Syncing history', 'retailcrm'),
'tr_successful' => __('Cron tasks cleared', 'retailcrm'),
'tr_td_inventories' => __('Syncing inventories', 'retailcrm'),
- 'tr_td_loyalty_upload_price' => __('Upload of current prices of offers', 'retailcrm')
+ 'tr_td_loyaltyUploadPrice' => __('Unloading promotional prices of offers', 'retailcrm')
];
if (isset($this->settings['history']) && $this->settings['history'] == static::YES) {
@@ -994,7 +994,7 @@ if (!class_exists('WC_Retailcrm_Base')) {
'icml' => $icml,
'inventories' => $inventories,
'translate' => $translate,
- 'loyalty_upload_price' => $loyaltyUploadPrice
+ 'loyaltyUploadPrice' => $loyaltyUploadPrice
]
);
diff --git a/src/languages/retailcrm-es_ES.l10n.php b/src/languages/retailcrm-es_ES.l10n.php
index f868f7c..a0ba3eb 100644
--- a/src/languages/retailcrm-es_ES.l10n.php
+++ b/src/languages/retailcrm-es_ES.l10n.php
@@ -248,7 +248,7 @@ return [
"bonuses" => "bonificaciones",
"Use coupon:" => "Utiliza el cupón:",
"Points will be awarded upon completion of the order:" => "Los puntos se concederán al finalizar el pedido:",
- "Upload of current prices of offers" => "Upload of current prices of offers",
+ "Unloading promotional prices of offers" => "Descarga de precios promocionales de ofertas comerciales",
"Every 4 hours" => "Cada 4 horas",
"Upload prices now" => "Descargar precios ahora",
"Uploaded discount price" => "Descarga de precios promocionales",
diff --git a/src/languages/retailcrm-es_ES.mo b/src/languages/retailcrm-es_ES.mo
index e6676bb..67104d4 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 c12a770..ab8eb13 100644
--- a/src/languages/retailcrm-ru_RU.l10n.php
+++ b/src/languages/retailcrm-ru_RU.l10n.php
@@ -247,7 +247,7 @@ return [
"bonuses" => "бонусов",
"Use coupon:" => "Используйте купон:",
"Points will be awarded upon completion of the order:" => "По завершению заказа будет начислено баллов:",
- "Upload of current prices of offers" => "Выгрузка текущих цен торговых предложений",
+ "Unloading promotional prices of offers" => "Выгрузка акционных цен торговых предложений",
"Every 4 hours" => "Каждые 4 часа",
"Upload prices now" => "Выгрузить цены сейчас",
"Uploaded discount price" => "Выгрузка акционных цен",
diff --git a/src/languages/retailcrm-ru_RU.mo b/src/languages/retailcrm-ru_RU.mo
index ea135e3..599f62d 100644
Binary files a/src/languages/retailcrm-ru_RU.mo and b/src/languages/retailcrm-ru_RU.mo differ