Skip to content

Commit

Permalink
updated for wp.org
Browse files Browse the repository at this point in the history
  • Loading branch information
BeycanDeveloper committed Apr 4, 2024
1 parent 8def9cf commit 89ce82c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// @phpcs:disable Generic.Files.LineLength

/**
* Plugin Name: Dokan - CryptoPay Withdrawal
* Plugin Name: CryptoPay Withdrawal for Dokan
* Version: 1.0.3
* Plugin URI: https://beycanpress.com/cryptopay/
* Description: Add custom cryptocurrency withdrawal method to Dokan plugin
Expand All @@ -20,7 +20,7 @@
* Text Domain: dokan-cryptopay
* Tags: Cryptopay, Cryptocurrency, WooCommerce, WordPress, MetaMask, Trust, Binance, Wallet, Ethereum, Bitcoin, Binance smart chain, Payment, Plugin, Gateway, Moralis, Converter, API, coin market cap, CMC
* Requires at least: 5.0
* Tested up to: 6.4.2
* Tested up to: 6.5.0
* Requires PHP: 8.1
*/

Expand All @@ -40,7 +40,7 @@
if (!function_exists('dokan')) {
add_action('admin_notices', function (): void {
$class = 'notice notice-error';
$message = sprintf(esc_html__('Dokan - CryptoPay Withdrawal: This plugin is an extra feature plugin so it cannot do anything on its own. It needs Dokan to work. You can buy download Dokan by %s.', 'dokan-cryptopay'), '<a href="https://wordpress.org/plugins/dokan-lite/" target="_blank">' . esc_html__('clicking here', 'dokan-cryptopay') . '</a>');
$message = sprintf(esc_html__('CryptoPay Withdrawal for Dokan: This plugin is an extra feature plugin so it cannot do anything on its own. It needs Dokan to work. You can buy download Dokan by %s.', 'dokan-cryptopay'), '<a href="https://wordpress.org/plugins/dokan-lite/" target="_blank">' . esc_html__('clicking here', 'dokan-cryptopay') . '</a>');
printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), $message);
});
return;
Expand All @@ -51,7 +51,7 @@
if (version_compare(Helpers::getProp('pluginVersion'), '2.1.0', '<')) {
add_action('admin_notices', function (): void {
$class = 'notice notice-error';
$message = esc_html__('Dokan - CryptoPay Withdrawal requires CryptoPay version 2.1.0 or higher. Please update CryptoPay.', 'cryptopay');
$message = esc_html__('CryptoPay Withdrawal for Dokan requires CryptoPay version 2.1.0 or higher. Please update CryptoPay.', 'cryptopay');
printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), esc_html($message));
});
} else {
Expand Down Expand Up @@ -97,7 +97,7 @@
} else {
add_action('admin_notices', function (): void {
$class = 'notice notice-error';
$message = sprintf(esc_html__('Dokan - CryptoPay Withdrawal: This plugin is an extra feature plugin so it cannot do anything on its own. It needs CryptoPay to work. You can buy CryptoPay by %s.', 'dokan-cryptopay'), '<a href="https://beycanpress.com/product/cryptopay-all-in-one-cryptocurrency-payments-for-wordpress/?utm_source=wp_org_addons&utm_medium=dokan" target="_blank">' . esc_html__('clicking here', 'dokan-cryptopay') . '</a>');
$message = sprintf(esc_html__('CryptoPay Withdrawal for Dokan: This plugin is an extra feature plugin so it cannot do anything on its own. It needs CryptoPay to work. You can buy CryptoPay by %s.', 'dokan-cryptopay'), '<a href="https://beycanpress.com/product/cryptopay-all-in-one-cryptocurrency-payments-for-wordpress/?utm_source=wp_org_addons&utm_medium=dokan" target="_blank">' . esc_html__('clicking here', 'dokan-cryptopay') . '</a>');
printf('<div class="%1$s"><p>%2$s</p></div>', esc_attr($class), $message);
});
}
Expand Down
18 changes: 9 additions & 9 deletions languages/dokan-cryptopay.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Dokan - CryptoPay Withdrawal\n"
"Project-Id-Version: CryptoPay Withdrawal for Dokan\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-24 11:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
Expand All @@ -28,34 +28,34 @@ msgstr ""
msgid "BeycanPress LLC"
msgstr ""

#: dokan-cryptopay-withdrawal.php:40 dokan-cryptopay-withdrawal.php:84
#: cryptopay-withdrawal-for-dokan.php:40 cryptopay-withdrawal-for-dokan.php:84
msgid "clicking here"
msgstr ""

#: dokan-cryptopay-withdrawal.php:55
#: cryptopay-withdrawal-for-dokan.php:55
msgid "CryptoPay"
msgstr ""

#: dokan-cryptopay-withdrawal.php:58
#: cryptopay-withdrawal-for-dokan.php:58
msgid "CryptoPay Lite"
msgstr ""

#. Name of the plugin
msgid "Dokan - CryptoPay Withdrawal"
msgid "CryptoPay Withdrawal for Dokan"
msgstr ""

#: dokan-cryptopay-withdrawal.php:84
#: cryptopay-withdrawal-for-dokan.php:84
#, php-format
msgid ""
"Dokan - CryptoPay Withdrawal: This plugin is an extra feature plugin so it "
"CryptoPay Withdrawal for Dokan: This plugin is an extra feature plugin so it "
"cannot do anything on its own. It needs CryptoPay to work. You can buy "
"CryptoPay by %s."
msgstr ""

#: dokan-cryptopay-withdrawal.php:40
#: cryptopay-withdrawal-for-dokan.php:40
#, php-format
msgid ""
"Dokan - CryptoPay Withdrawal: This plugin is an extra feature plugin so it "
"CryptoPay Withdrawal for Dokan: This plugin is an extra feature plugin so it "
"cannot do anything on its own. It needs Dokan to work. You can buy download "
"Dokan by %s."
msgstr ""
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: BeycanPress
Tags: Bitcoin, Ethereum, Binance Smart Chain, Blockchain, Networks, Cryptocurrency, Payments, Gateway, WordPress, Dokan
Requires at least: 5.0
Tested up to: 6.4.2
Tested up to: 6.5.0
Requires PHP: 8.1
Stable Tag: 1.0.3
Version: 1.0.3
Expand Down Expand Up @@ -38,8 +38,8 @@ You can easily translate with Loco translate.

== Installation ==

1. Upload the entire `/dokan-cryptopay-withdrawal` directory to the `/wp-content/plugins/` directory.
2. Activate Dokan - CryptoPay Withdrawal through the 'Plugins' menu in WordPress.
1. Upload the entire `/cryptopay-withdrawal-for-dokan` directory to the `/wp-content/plugins/` directory.
2. Activate CryptoPay Withdrawal for Dokan through the 'Plugins' menu in WordPress.
3. Enjoy.

== Changelog ==
Expand Down

0 comments on commit 89ce82c

Please sign in to comment.