Missing textdomains
This commit is contained in:
parent
b8546b4080
commit
8d2c2b5368
|
@ -147,7 +147,7 @@ class WC_Welcome_Page {
|
|||
?>
|
||||
</div>
|
||||
|
||||
<div class="wc-badge"><?php printf( __( 'Version %s' ), $woocommerce->version ); ?></div>
|
||||
<div class="wc-badge"><?php printf( __( 'Version %s', 'woocommerce' ), $woocommerce->version ); ?></div>
|
||||
|
||||
<p class="woocommerce-actions">
|
||||
<a href="<?php echo admin_url('admin.php?page=woocommerce_settings'); ?>" class="button button-primary"><?php _e( 'Settings', 'woocommerce' ); ?></a>
|
||||
|
|
|
@ -751,7 +751,7 @@ function woocommerce_permalink_settings() {
|
|||
<table class="form-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><label><input name="product_permalink" type="radio" value="<?php echo $structures[0]; ?>" class="wctog" <?php checked( $structures[0], $product_permalink ); ?> /> <?php _e( 'Default' ); ?></label></th>
|
||||
<th><label><input name="product_permalink" type="radio" value="<?php echo $structures[0]; ?>" class="wctog" <?php checked( $structures[0], $product_permalink ); ?> /> <?php _e( 'Default', 'woocommerce' ); ?></label></th>
|
||||
<td><code><?php echo home_url(); ?>/?product=sample-product</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -210,7 +210,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
|
|||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable logging', 'woocommerce' ),
|
||||
'default' => 'no',
|
||||
'description' => sprintf( __( 'Log PayPal events, such as IPN requests, inside <code>woocommerce/logs/paypal-%s.txt</code>' ), sanitize_file_name( wp_hash( 'paypal' ) ) ),
|
||||
'description' => sprintf( __( 'Log PayPal events, such as IPN requests, inside <code>woocommerce/logs/paypal-%s.txt</code>', 'woocommerce' ), sanitize_file_name( wp_hash( 'paypal' ) ) ),
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ class WC_Shortcode_Lost_Password {
|
|||
|
||||
if ( ! $allow ) {
|
||||
|
||||
$woocommerce->add_error( __( 'Password reset is not allowed for this user') );
|
||||
$woocommerce->add_error( __( 'Password reset is not allowed for this user' ) );
|
||||
|
||||
return false;
|
||||
|
||||
|
|
|
@ -479,7 +479,7 @@ function woocommerce_add_to_cart_message( $product_id ) {
|
|||
$titles[] = get_the_title( $id );
|
||||
}
|
||||
|
||||
$added_text = sprintf( __( 'Added "%s" to your cart.', 'woocommerce' ), join( __('" and "'), array_filter( array_merge( array( join( '", "', array_slice( $titles, 0, -1 ) ) ), array_slice( $titles, -1 ) ) ) ) );
|
||||
$added_text = sprintf( __( 'Added "%s" to your cart.', 'woocommerce' ), join( __( '" and "', 'woocommerce' ), array_filter( array_merge( array( join( '", "', array_slice( $titles, 0, -1 ) ) ), array_slice( $titles, -1 ) ) ) ) );
|
||||
|
||||
} else {
|
||||
$added_text = sprintf( __( '"%s" was successfully added to your cart.', 'woocommerce' ), get_the_title( $product_id ) );
|
||||
|
|
Loading…
Reference in New Issue