Deleting unneeded double spaces in text strings. (https://github.com/woocommerce/woocommerce-admin/pull/7502)
This commit is contained in:
parent
77963a5814
commit
71a173f14f
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: Tweak
|
||||
|
||||
Delete unneeded double spaces in text strings. #7502
|
|
@ -305,7 +305,7 @@ class Plugins extends \WC_REST_Data_Controller {
|
|||
$plugin,
|
||||
sprintf(
|
||||
/* translators: %s: plugin slug (example: woocommerce-services) */
|
||||
__( 'The requested plugin `%s` could not be installed. Upgrader install failed.', 'woocommerce-admin' ),
|
||||
__( 'The requested plugin `%s` could not be installed. Upgrader install failed.', 'woocommerce-admin' ),
|
||||
$slug
|
||||
)
|
||||
);
|
||||
|
|
|
@ -24,7 +24,7 @@ class DefaultPaymentGateways {
|
|||
array(
|
||||
'id' => 'payfast',
|
||||
'title' => __( 'PayFast', 'woocommerce-admin' ),
|
||||
'content' => __( 'The PayFast extension for WooCommerce enables you to accept payments by Credit Card and EFT via one of South Africa’s most popular payment gateways. No setup fees or monthly subscription costs. Selecting this extension will configure your store to use South African rands as the selected currency.', 'woocommerce-admin' ),
|
||||
'content' => __( 'The PayFast extension for WooCommerce enables you to accept payments by Credit Card and EFT via one of South Africa’s most popular payment gateways. No setup fees or monthly subscription costs. Selecting this extension will configure your store to use South African rands as the selected currency.', 'woocommerce-admin' ),
|
||||
'image' => WC()->plugin_url() . '/assets/images/payfast.png',
|
||||
'plugins' => array( 'woocommerce-payfast-gateway' ),
|
||||
'is_visible' => array(
|
||||
|
|
|
@ -38,7 +38,7 @@ class DeactivatePlugin {
|
|||
public static function get_note() {
|
||||
$note = new Note();
|
||||
$note->set_title( __( 'Deactivate old WooCommerce Admin version', 'woocommerce-admin' ) );
|
||||
$note->set_content( __( 'Your current version of WooCommerce Admin is outdated and a newer version is included with WooCommerce. We recommend deactivating the plugin and using the stable version included with WooCommerce.', 'woocommerce-admin' ) );
|
||||
$note->set_content( __( 'Your current version of WooCommerce Admin is outdated and a newer version is included with WooCommerce. We recommend deactivating the plugin and using the stable version included with WooCommerce.', 'woocommerce-admin' ) );
|
||||
$note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
|
||||
$note->set_name( self::NOTE_NAME );
|
||||
$note->set_content_data( (object) array() );
|
||||
|
|
|
@ -76,7 +76,7 @@ class ReportsSync {
|
|||
*/
|
||||
public static function regenerate_report_data( $days, $skip_existing ) {
|
||||
if ( self::is_importing() ) {
|
||||
return new \WP_Error( 'wc_admin_import_in_progress', __( 'An import is already in progress. Please allow the previous import to complete before beginning a new one.', 'woocommerce-admin' ) );
|
||||
return new \WP_Error( 'wc_admin_import_in_progress', __( 'An import is already in progress. Please allow the previous import to complete before beginning a new one.', 'woocommerce-admin' ) );
|
||||
}
|
||||
|
||||
self::reset_import_stats( $days, $skip_existing );
|
||||
|
@ -92,7 +92,7 @@ class ReportsSync {
|
|||
*/
|
||||
do_action( 'woocommerce_analytics_regenerate_init', $days, $skip_existing );
|
||||
|
||||
return __( 'Report table data is being rebuilt. Please allow some time for data to fully populate.', 'woocommerce-admin' );
|
||||
return __( 'Report table data is being rebuilt. Please allow some time for data to fully populate.', 'woocommerce-admin' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue