diff --git a/app/Gateways/Processor.php b/app/Gateways/Processor.php index a17dc3d..9c3fd13 100644 --- a/app/Gateways/Processor.php +++ b/app/Gateways/Processor.php @@ -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), ]); diff --git a/app/Loader.php b/app/Loader.php index 09aa37d..8bb2847 100644 --- a/app/Loader.php +++ b/app/Loader.php @@ -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) ]); } @@ -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) ]); } @@ -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) ]); } diff --git a/readme.txt b/readme.txt index b257aa6..01bd67c 100644 --- a/readme.txt +++ b/readme.txt @@ -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 @@ -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 ==