diff --git a/resources/pot/retailcrm-es_ES.pot b/resources/pot/retailcrm-es_ES.pot index 356d5f0..a09c4d5 100644 --- a/resources/pot/retailcrm-es_ES.pot +++ b/resources/pot/retailcrm-es_ES.pot @@ -588,3 +588,6 @@ msgstr "bonos" msgid "Use coupon:" 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:" diff --git a/resources/pot/retailcrm-ru_RU.pot b/resources/pot/retailcrm-ru_RU.pot index 193c76e..d6cf7c0 100644 --- a/resources/pot/retailcrm-ru_RU.pot +++ b/resources/pot/retailcrm-ru_RU.pot @@ -597,3 +597,6 @@ msgstr "бонусов" msgid "Use coupon:" msgstr "Используйте купон:" + +msgid "Points will be awarded upon completion of the order:" +msgstr "По завершению заказа будет начислено баллов:" diff --git a/src/include/class-wc-retailcrm-loyalty.php b/src/include/class-wc-retailcrm-loyalty.php index 14f9623..a880535 100644 --- a/src/include/class-wc-retailcrm-loyalty.php +++ b/src/include/class-wc-retailcrm-loyalty.php @@ -526,7 +526,7 @@ if (!class_exists('WC_Retailcrm_Loyalty')) : private function getHtmlCreditBonuses($creditBonuses) { - return 'По завершению заказа будет начислено баллов: ' . $creditBonuses . ''; + return '' . __("Points will be awarded upon completion of the order:", 'retailcrm') . ' ' . $creditBonuses . ''; } } diff --git a/src/languages/retailcrm-es_ES.l10n.php b/src/languages/retailcrm-es_ES.l10n.php index 7a6b3e6..5d58e8e 100644 --- a/src/languages/retailcrm-es_ES.l10n.php +++ b/src/languages/retailcrm-es_ES.l10n.php @@ -247,6 +247,7 @@ return [ "It is possible to write off" => "Es posible debitar", "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:", ], "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 43567c3..051c9cf 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 514c7e5..5afac2b 100644 --- a/src/languages/retailcrm-ru_RU.l10n.php +++ b/src/languages/retailcrm-ru_RU.l10n.php @@ -246,6 +246,7 @@ return [ "It is possible to write off" => "Возможно списать", "bonuses" => "бонусов", "Use coupon:" => "Используйте купон:", + "Points will be awarded upon completion of the order:" => "По завершению заказа будет начислено баллов:", ], "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 acd4ebf..5cb7b69 100644 Binary files a/src/languages/retailcrm-ru_RU.mo and b/src/languages/retailcrm-ru_RU.mo differ