Change "Enabled" to "Available" in status text

Now it is more clear because "enabled" can be understood as enabled gateway, while it only means that it is enabled in the PayPal account.
This commit is contained in:
Alex P 2023-03-07 09:46:45 +02:00
parent 91c39fdef2
commit c41cedc80d
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -1254,7 +1254,7 @@ return array(
$dcc_enabled = $dcc_product_status->dcc_is_active(); $dcc_enabled = $dcc_product_status->dcc_is_active();
$enabled_status_text = esc_html__( 'Status: Enabled', 'woocommerce-paypal-payments' ); $enabled_status_text = esc_html__( 'Status: Available', 'woocommerce-paypal-payments' );
$disabled_status_text = esc_html__( 'Status: Not yet enabled', 'woocommerce-paypal-payments' ); $disabled_status_text = esc_html__( 'Status: Not yet enabled', 'woocommerce-paypal-payments' );
$dcc_button_text = $dcc_enabled $dcc_button_text = $dcc_enabled
@ -1287,7 +1287,7 @@ return array(
$pui_enabled = $pui_product_status->pui_is_active(); $pui_enabled = $pui_product_status->pui_is_active();
$enabled_status_text = esc_html__( 'Status: Enabled', 'woocommerce-paypal-payments' ); $enabled_status_text = esc_html__( 'Status: Available', 'woocommerce-paypal-payments' );
$disabled_status_text = esc_html__( 'Status: Not yet enabled', 'woocommerce-paypal-payments' ); $disabled_status_text = esc_html__( 'Status: Not yet enabled', 'woocommerce-paypal-payments' );
$enable_pui_url = $environment->current_environment_is( Environment::PRODUCTION ) $enable_pui_url = $environment->current_environment_is( Environment::PRODUCTION )