Skip to content

Commit 74cd4d4

Browse files
committed
Add: update notice
1 parent 50afc52 commit 74cd4d4

File tree

4 files changed

+60
-34
lines changed

4 files changed

+60
-34
lines changed

includes/class-wc-robokassa.php

+9-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,15 @@ public function wc_robokassa_admin_notices()
801801
&& $settings_version < WC_ROBOKASSA_VERSION
802802
&& $section !== 'robokassa')
803803
{
804-
// todo: вывести
804+
?>
805+
<div class="notice notice-warning" style="padding-top: 10px; padding-bottom: 10px; line-height: 170%;">
806+
<?php
807+
echo __('The plugin for accepting payments through ROBOKASSA for WooCommerce has been updated to a version that requires additional configuration.', 'wc-robokassa');
808+
echo '<br />';
809+
$link = '<a href="'. admin_url('admin.php?page=wc-settings&tab=checkout&section=robokassa') .'">'.__('here', 'wc-robokassa').'</a>';
810+
echo sprintf( __( 'Press %s (go to payment gateway settings).', 'wc-robokassa' ), $link ) ?>
811+
</div>
812+
<?php
805813
}
806814
}
807815

languages/wc-robokassa-ru_RU.mo

610 Bytes
Binary file not shown.

languages/wc-robokassa-ru_RU.po

+27-24
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: Payment gateway - Robokassa for WooCommerce\n"
4-
"POT-Creation-Date: 2020-07-02 16:24+0300\n"
5-
"PO-Revision-Date: 2020-07-02 16:32+0300\n"
4+
"POT-Creation-Date: 2020-07-02 22:42+0300\n"
5+
"PO-Revision-Date: 2020-07-02 22:43+0300\n"
66
"Last-Translator: Mofsy <support@mofsy.ru>\n"
77
"Language-Team: Mofsy <support@mofsy.ru>\n"
88
"Language: ru_RU\n"
@@ -1062,42 +1062,59 @@ msgstr "Официальная страница"
10621062
msgid "Settings"
10631063
msgstr "Настройки"
10641064

1065-
#: includes/class-wc-robokassa.php:919
1065+
#: includes/class-wc-robokassa.php:807
1066+
msgid ""
1067+
"The plugin for accepting payments through ROBOKASSA for WooCommerce has been "
1068+
"updated to a version that requires additional configuration."
1069+
msgstr ""
1070+
"Плагин для приема платежей через Робокассу для WooCommerce был обновлен до "
1071+
"версии, требующей дополнительной настройки."
1072+
1073+
#: includes/class-wc-robokassa.php:809
1074+
msgid "here"
1075+
msgstr "сюда"
1076+
1077+
#: includes/class-wc-robokassa.php:810
1078+
#, php-format
1079+
msgid "Press %s (go to payment gateway settings)."
1080+
msgstr "Нажмите %s (для перехода к настройкам платежного шлюза)."
1081+
1082+
#: includes/class-wc-robokassa.php:927
10661083
msgid "Useful information"
10671084
msgstr "Полезная информация"
10681085

1069-
#: includes/class-wc-robokassa.php:923
1086+
#: includes/class-wc-robokassa.php:931
10701087
msgid "Official plugin page"
10711088
msgstr "Официальная страница"
10721089

1073-
#: includes/class-wc-robokassa.php:924
1090+
#: includes/class-wc-robokassa.php:932
10741091
msgid "Related news: ROBOKASSA"
10751092
msgstr "Новости по теме Робокасса"
10761093

1077-
#: includes/class-wc-robokassa.php:925
1094+
#: includes/class-wc-robokassa.php:933
10781095
msgid "Plugins for WooCommerce"
10791096
msgstr "Плагины для WooCommerce"
10801097

1081-
#: includes/class-wc-robokassa.php:945
1098+
#: includes/class-wc-robokassa.php:953
10821099
msgid "Errors not found. Payment acceptance is active."
10831100
msgstr "Ошибки не найдены. Прием платежей активен."
10841101

1085-
#: includes/class-wc-robokassa.php:949
1102+
#: includes/class-wc-robokassa.php:957
10861103
msgid ""
10871104
"Warnings found. They are highlighted in yellow. You should attention to them."
10881105
msgstr ""
10891106
"Предупреждения найдены. Они выделены желтым цветом. Вы должны обратить на "
10901107
"них внимание."
10911108

1092-
#: includes/class-wc-robokassa.php:953
1109+
#: includes/class-wc-robokassa.php:961
10931110
msgid ""
10941111
"Critical errors were detected. They are highlighted in red. Payment "
10951112
"acceptance is not active."
10961113
msgstr ""
10971114
"Были обнаружены критические ошибки. Они выделены красным цветом. Прием "
10981115
"платежей не активен."
10991116

1100-
#: includes/class-wc-robokassa.php:957
1117+
#: includes/class-wc-robokassa.php:965
11011118
msgid "Status"
11021119
msgstr "Состояние"
11031120

@@ -1361,13 +1378,6 @@ msgstr "https://mofsy.ru"
13611378
#~ "Отключите его для удобства пользователя, если используете дочерние "
13621379
#~ "способы оплаты из премиум дополнения."
13631380

1364-
#~ msgid ""
1365-
#~ "The plugin for accepting payments through ROBOKASSA for WooCommerce has "
1366-
#~ "been updated to a version that requires additional configuration."
1367-
#~ msgstr ""
1368-
#~ "Плагин для приема платежей через ROBOKASSA для WooCommerce был обновлен "
1369-
#~ "до версии, требующей дополнительной настройки."
1370-
13711381
#~ msgid ""
13721382
#~ "This is a fairly large update with many bug fixes and added features. "
13731383
#~ "Robokassa started working on improving its API. The premium add-on will "
@@ -1387,9 +1397,6 @@ msgstr "https://mofsy.ru"
13871397
#~ msgid "The discount is 400 rubles."
13881398
#~ msgstr "Скидка составляет 400 рублей."
13891399

1390-
#~ msgid "here"
1391-
#~ msgstr "сюда"
1392-
13931400
#, php-format
13941401
#~ msgid ""
13951402
#~ "Press %s (to go to payment gateway settings). Examine the new settings "
@@ -1401,10 +1408,6 @@ msgstr "https://mofsy.ru"
14011408
#~ msgid "Trying to get the language based on the locale?"
14021409
#~ msgstr "Получать язык для интерфейса Робокассы на основе локали?"
14031410

1404-
#, php-format
1405-
#~ msgid "Press %s (to go to payment gateway settings)."
1406-
#~ msgstr "Нажмите %s (для перехода к настройкам платежного шлюза)."
1407-
14081411
#~ msgid "Paid supplement"
14091412
#~ msgstr "Платное дополнение"
14101413

languages/wc-robokassa.pot

+24-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ msgid ""
33
msgstr ""
44
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
55
"Project-Id-Version: Payment gateway - Robokassa for WooCommerce\n"
6-
"POT-Creation-Date: 2020-07-02 16:24+0300\n"
6+
"POT-Creation-Date: 2020-07-02 22:42+0300\n"
77
"PO-Revision-Date: 2016-01-10 16:41+0300\n"
88
"Last-Translator: Mofsy <support@mofsy.ru>\n"
99
"Language-Team: Mofsy <support@mofsy.ru>\n"
@@ -981,39 +981,54 @@ msgstr ""
981981
msgid "Settings"
982982
msgstr ""
983983

984-
#: includes/class-wc-robokassa.php:919
984+
#: includes/class-wc-robokassa.php:807
985+
msgid ""
986+
"The plugin for accepting payments through ROBOKASSA for WooCommerce has "
987+
"been updated to a version that requires additional configuration."
988+
msgstr ""
989+
990+
#: includes/class-wc-robokassa.php:809
991+
msgid "here"
992+
msgstr ""
993+
994+
#: includes/class-wc-robokassa.php:810
995+
#, php-format
996+
msgid "Press %s (go to payment gateway settings)."
997+
msgstr ""
998+
999+
#: includes/class-wc-robokassa.php:927
9851000
msgid "Useful information"
9861001
msgstr ""
9871002

988-
#: includes/class-wc-robokassa.php:923
1003+
#: includes/class-wc-robokassa.php:931
9891004
msgid "Official plugin page"
9901005
msgstr ""
9911006

992-
#: includes/class-wc-robokassa.php:924
1007+
#: includes/class-wc-robokassa.php:932
9931008
msgid "Related news: ROBOKASSA"
9941009
msgstr ""
9951010

996-
#: includes/class-wc-robokassa.php:925
1011+
#: includes/class-wc-robokassa.php:933
9971012
msgid "Plugins for WooCommerce"
9981013
msgstr ""
9991014

1000-
#: includes/class-wc-robokassa.php:945
1015+
#: includes/class-wc-robokassa.php:953
10011016
msgid "Errors not found. Payment acceptance is active."
10021017
msgstr ""
10031018

1004-
#: includes/class-wc-robokassa.php:949
1019+
#: includes/class-wc-robokassa.php:957
10051020
msgid ""
10061021
"Warnings found. They are highlighted in yellow. You should attention to "
10071022
"them."
10081023
msgstr ""
10091024

1010-
#: includes/class-wc-robokassa.php:953
1025+
#: includes/class-wc-robokassa.php:961
10111026
msgid ""
10121027
"Critical errors were detected. They are highlighted in red. Payment "
10131028
"acceptance is not active."
10141029
msgstr ""
10151030

1016-
#: includes/class-wc-robokassa.php:957
1031+
#: includes/class-wc-robokassa.php:965
10171032
msgid "Status"
10181033
msgstr ""
10191034

0 commit comments

Comments
 (0)