Skip to content

Commit

Permalink
update names
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor50 committed Dec 23, 2024
1 parent d244d6b commit 9078dc8
Show file tree
Hide file tree
Showing 6 changed files with 1,086 additions and 27 deletions.
6 changes: 3 additions & 3 deletions assets/js/payneteasy-order-page-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ document.addEventListener('DOMContentLoaded', function() {
});

// Запрос подтверждения у пользователя
if (confirm('Выполнить возврат в платёжной системе PAYNET?')) {
if (confirm('Выполнить возврат в платёжной системе PAYNETEASY?')) {
// Отправляем AJAX-запрос с помощью fetch
fetch(payneteasy_ajax_var.api_url, {
method: 'POST',
Expand All @@ -129,10 +129,10 @@ document.addEventListener('DOMContentLoaded', function() {
.then(response => response.json())
.then(data => {
if (data.success) {
alert(`Платёжная система PAYNET: ${data.message}`);
alert(`Платёжная система PAYNETEASY: ${data.message}`);
originalButton.click();
} else {
if (confirm(`Платёжная система PAYNET: ${data.message}. Продолжит возврат в WordPress?`)) {
if (confirm(`Платёжная система PAYNETEASY: ${data.message}. Продолжит возврат в WordPress?`)) {
originalButton.click();
}
}
Expand Down
4 changes: 2 additions & 2 deletions form_fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
'enabled' => [
'title' => __('Enable/Disable', 'woocommerce'),
'type' => 'checkbox',
'label' => __('Enable Payment system PAYNET', 'wc-payneteasy'),
'label' => __('Enable Payment system PAYNETEASY', 'wc-payneteasy'),
'default' => 'yes'
],
'title' => [
'title' => __('Title', 'woocommerce'),
'type' => 'text',
'description' => __('This controls the title which the user sees during checkout.', 'woocommerce'),
'default' => __('Payment system PAYNET', 'wc-payneteasy'),
'default' => __('Payment system PAYNETEASY', 'wc-payneteasy'),
'desc_tip' => true,
],
'description' => [
Expand Down
2 changes: 1 addition & 1 deletion languages/wc-payneteasy-ru_RU.l10n.php

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions languages/wc-payneteasy-ru_RU.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"Project-Id-Version: Payment system PAYNET\n"
"Project-Id-Version: Payment system PAYNETEASY\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-30 14:30+0000\n"
"PO-Revision-Date: 2024-07-30 21:35+0300\n"
Expand All @@ -25,8 +25,8 @@ msgid "Agency fee"
msgstr "Агентское вознаграждение"

#. Description of the plugin
msgid "Allows you to use Payment system PAYNET with the WooCommerce plugin."
msgstr "Позволяет использовать Платежную систему PAYNET с плагином WooCommerce."
msgid "Allows you to use Payment system PAYNETEASY with the WooCommerce plugin."
msgstr "Позволяет использовать Платежную систему PAYNETEASY с плагином WooCommerce."

#: form_fields.php:119 hooks.php:107
msgid "Applies to items that can be sold by piece or unit"
Expand Down Expand Up @@ -144,8 +144,8 @@ msgid "Enable logging"
msgstr "Включить логирование"

#: form_fields.php:6
msgid "Enable Payment system PAYNET"
msgstr "Включить платежную систему PAYNET"
msgid "Enable Payment system PAYNETEASY"
msgstr "Включить платежную систему PAYNETEASY"

#: form_fields.php:70
msgid "Enable send zip code"
Expand Down Expand Up @@ -225,8 +225,8 @@ msgid "Fiscalization settings"
msgstr "Настройки фискализации"

#: hooks.php:45
msgid "Fiscalization settings (Payment system PAYNET)"
msgstr "Настройки фискализации (Платежная система PAYNET)"
msgid "Fiscalization settings (Payment system PAYNETEASY)"
msgstr "Настройки фискализации (Платежная система PAYNETEASY)"

#: form_fields.php:101 form_fields.php:172 hooks.php:150
msgid "Full payment"
Expand Down Expand Up @@ -285,8 +285,8 @@ msgid "Hour"
msgstr "Час"

#. Author URI of the plugin
msgid "https://www.paynet.ru/"
msgstr "https://www.paynet.ru/"
msgid "https://www.payneteasy.com/"
msgstr "https://www.payneteasy.com/"

#: form_fields.php:50
msgid "In this mode, the payment for the goods is not charged."
Expand Down Expand Up @@ -417,7 +417,7 @@ msgstr "Создана платежная ссылка:"
#: wc-payneteasy.php:204
#| msgid "Payment method not \"PAYNET Payment System\""
msgid "Payment method not \"PAYNET Payment System\"."
msgstr "Способ оплаты не \"Платежная система PAYNET\"."
msgstr "Способ оплаты не \"Платежная система PAYNETEASY\"."

#: wc-payneteasy.php:752 wc-payneteasy.php:758
#| msgid "Payment not paid"
Expand All @@ -438,8 +438,8 @@ msgstr "Оплата возвращена."

#. Name of the plugin
#: form_fields.php:13 wc-payneteasy.php:73
msgid "Payment system PAYNET"
msgstr "Платёжная система PAYNET"
msgid "Payment system PAYNETEASY"
msgstr "Платёжная система PAYNETEASY"

#: form_fields.php:197 hooks.php:171
msgid "Payout"
Expand All @@ -458,7 +458,7 @@ msgid ""
"Plugin \"PAYNET Payment System\" for WooCommerce, which allows you to integrate "
"online payments."
msgstr ""
"Плагин «Платежная система PAYNET» для WooCommerce, позволяющий интегрировать "
"Плагин «Платежная система PAYNETEASY» для WooCommerce, позволяющий интегрировать "
"онлайн-платежи."

#: wc-payneteasy.php:255
Expand Down Expand Up @@ -517,7 +517,7 @@ msgstr "Выберите статус заказа, который будет о

#: form_fields.php:71
msgid "Send the buyer's postal code to the PAYNET payment system."
msgstr "Отправлять почтовый индекс покупателя в платежную систему PAYNET."
msgstr "Отправлять почтовый индекс покупателя в платежную систему PAYNETEASY."

#: form_fields.php:68
msgid "Send zip code"
Expand Down
14 changes: 7 additions & 7 deletions languages/wc-payneteasy.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Payment system PAYNET\n"
"Project-Id-Version: Payment system PAYNETEASY\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-30 21:35+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
Expand All @@ -13,7 +13,7 @@ msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 3.4.4\n"
"X-Loco-Version: 2.6.4; wp-6.2.2\n"
"X-Domain: wc-payneteasy\n"
"X-Domain: mail-domain-com\n"

#: form_fields.php:100 form_fields.php:171 hooks.php:149
msgid "Advance"
Expand All @@ -24,7 +24,7 @@ msgid "Agency fee"
msgstr ""

#. Description of the plugin
msgid "Allows you to use Payment system PAYNET with the WooCommerce plugin."
msgid "Allows you to use Payment system PAYNETEASY with the WooCommerce plugin."
msgstr ""

#: form_fields.php:119 hooks.php:107
Expand Down Expand Up @@ -129,7 +129,7 @@ msgid "Enable logging"
msgstr ""

#: form_fields.php:6
msgid "Enable Payment system PAYNET"
msgid "Enable Payment system PAYNETEASY"
msgstr ""

#: form_fields.php:70
Expand Down Expand Up @@ -205,7 +205,7 @@ msgid "Fiscalization settings"
msgstr ""

#: hooks.php:45
msgid "Fiscalization settings (Payment system PAYNET)"
msgid "Fiscalization settings (Payment system PAYNETEASY)"
msgstr ""

#: form_fields.php:101 form_fields.php:172 hooks.php:150
Expand Down Expand Up @@ -261,7 +261,7 @@ msgid "Hour"
msgstr ""

#. Author URI of the plugin
msgid "https://www.paynet.ru/"
msgid "https://www.payneteasy.com/"
msgstr ""

#: form_fields.php:50
Expand Down Expand Up @@ -400,7 +400,7 @@ msgstr ""

#. Name of the plugin
#: form_fields.php:13 wc-payneteasy.php:73
msgid "Payment system PAYNET"
msgid "Payment system PAYNETEASY"
msgstr ""

#: form_fields.php:197 hooks.php:171
Expand Down
Loading

0 comments on commit 9078dc8

Please sign in to comment.