diff --git a/resources/pot/retailcrm-ru_RU.pot b/resources/pot/retailcrm-ru_RU.pot index 6b60376..4857bc0 100644 --- a/resources/pot/retailcrm-ru_RU.pot +++ b/resources/pot/retailcrm-ru_RU.pot @@ -547,14 +547,14 @@ msgstr "Обычные товары: начисление 1 бонуса за к msgid "Promotional products: accrual of 1 bonus for each %s %s" msgstr "Акционные товары: начисление 1 бонуса за каждые %s %s" -msgid "Ordinary products: bonus accrual in the amount of %s% of the purchase amount" -msgstr "Обычные товары: начисление бонусов в размере %s% от суммы покупки" +msgid "Ordinary products: bonus accrual in the amount of %s%% of the purchase amount" +msgstr "Обычные товары: начисление бонусов в размере %s%% от суммы покупки" -msgid "Promotional products: bonus accrual in the amount of %s% of the purchase amount" -msgstr "Акционные товары: начисление бонусов в размере %s% от суммы покупки" +msgid "Promotional products: bonus accrual in the amount of %s%% of the purchase amount" +msgstr "Акционные товары: начисление бонусов в размере %s%% от суммы покупки" -msgid "Ordinary products: %s% discount" -msgstr "Обычные товары: %s% скидка" +msgid "Ordinary products: %s%% discount" +msgstr "Обычные товары: %s%% скидка" -msgid "Promotional products: %s% discount" -msgstr "Акционные товары: %s% скидка" +msgid "Promotional products: %s%% discount" +msgstr "Акционные товары: %s%% скидка" diff --git a/src/include/components/class-wc-retailcrm-loyalty-form.php b/src/include/components/class-wc-retailcrm-loyalty-form.php index 88eafdd..0e600db 100644 --- a/src/include/components/class-wc-retailcrm-loyalty-form.php +++ b/src/include/components/class-wc-retailcrm-loyalty-form.php @@ -67,12 +67,12 @@ if (!class_exists('WC_Retailcrm_Loyalty')) : $data[] = sprintf(__('Promotional products: accrual of 1 bonus for each %s %s', 'retailcrm'), $loyaltyAccount['level']['privilegeSizePromo'], $loyaltyAccount['loyalty']['currency']); break; case 'bonus_percent': - $data[] = sprintf(__('Ordinary products: bonus accrual in the amount of %s% of the purchase amount', 'retailcrm'), $loyaltyAccount['level']['privilegeSize']); - $data[] = sprintf(__('Promotional products: bonus accrual in the amount of %s% of the purchase amount', 'retailcrm'), $loyaltyAccount['level']['privilegeSizePromo']); + $data[] = sprintf(__('Ordinary products: bonus accrual in the amount of %s%% of the purchase amount', 'retailcrm'), $loyaltyAccount['level']['privilegeSize']); + $data[] = sprintf(__('Promotional products: bonus accrual in the amount of %s%% of the purchase amount', 'retailcrm'), $loyaltyAccount['level']['privilegeSizePromo']); break; case 'discount': - $data[] = sprintf(__('Ordinary products: %s% discount', 'retailcrm'), $loyaltyAccount['level']['privilegeSize']); - $data[] = sprintf(__('Promotional products: %s% discount', 'retailcrm'), $loyaltyAccount['level']['privilegeSizePromo']); + $data[] = sprintf(__('Ordinary products: %s%% discount', 'retailcrm'), $loyaltyAccount['level']['privilegeSize']); + $data[] = sprintf(__('Promotional products: %s%% discount', 'retailcrm'), $loyaltyAccount['level']['privilegeSizePromo']); break; } diff --git a/src/languages/retailcrm-ru_RU.mo b/src/languages/retailcrm-ru_RU.mo index 044d9f9..ff0da70 100644 Binary files a/src/languages/retailcrm-ru_RU.mo and b/src/languages/retailcrm-ru_RU.mo differ