Skip to content

Commit

Permalink
configured for wp.org
Browse files Browse the repository at this point in the history
  • Loading branch information
BeycanDeveloper committed Apr 27, 2024
1 parent 4d8d834 commit 339816f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/Gateways/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public static function handleCreatePaymentRedirect(string $name, array $queryPar

DonationNote::create([
'donationId' => $donation->id,
/* translators: %s: Gateway name */
'content' => sprintf(esc_html__('Donation completed with %s', 'givewp-cryptopay'), $name),
]);

Expand Down
4 changes: 4 additions & 0 deletions app/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function __construct()
'orderId' => function ($tx) {
return Helpers::run('view', 'components/link', [
'url' => sprintf(admin_url('edit.php?post_type=give_forms&page=give-payment-history&view=view-payment-details&id=%d'), $tx->orderId), // @phpcs:ignore
/* translators: %d: transaction id */
'text' => sprintf(esc_html__('View donate #%d', 'gf-cryptopay'), $tx->orderId)
]);
}
Expand All @@ -46,7 +47,9 @@ public function __construct()
public function transactionId(string $transactionId): string
{
return Helpers::run('view', 'components/link', [
/* translators: %s: transaction id */
'url' => sprintf(admin_url('admin.php?page=cryptopay_givewp_transactions&s=%s'), $transactionId),
/* translators: %s: transaction id */
'text' => sprintf(esc_html__('View transaction #%s', 'gf-cryptopay'), $transactionId)
]);
}
Expand All @@ -59,6 +62,7 @@ public function transactionIdLite(string $transactionId): string
{
return Helpers::run('view', 'components/link', [
'url' => sprintf(admin_url('admin.php?page=cryptopay_lite_givewp_transactions&s=%s'), $transactionId),
/* translators: %s: transaction id */
'text' => sprintf(esc_html__('View transaction #%s', 'gf-cryptopay'), $transactionId)
]);
}
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== Cryptocurrency Payment Gateway Plugin for GiveWP by CryptoPay ===
=== Cryptocurrency Payment Gateway for GiveWP by CryptoPay ===
Contributors: BeycanPress
Tags: Bitcoin, Ethereum, Crypto, Payment, GiveWP
Requires at least: 5.0
Expand All @@ -9,7 +9,7 @@ Version: 1.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Cryptocurrency Payment Gateway Plugin for GiveWP, Cryptocurrency payments for WordPress, Bitcoin payments, Crypto payments, USDT, BTC, ETH, SOL
Cryptocurrency Payment Gateway for GiveWP, Cryptocurrency payments for WordPress, Bitcoin payments, Ethereum, Crypto payments, USDT, BTC, ETH, SOL

== Description ==

Expand Down

0 comments on commit 339816f

Please sign in to comment.