Missing textdomains

This commit is contained in:
Mike Jolley 2013-04-17 16:03:23 +01:00
parent b8546b4080
commit 8d2c2b5368
5 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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' ) ) ),
)
);

View File

@ -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;

View File

@ -479,7 +479,7 @@ function woocommerce_add_to_cart_message( $product_id ) {
$titles[] = get_the_title( $id );
}
$added_text = sprintf( __( 'Added &quot;%s&quot; to your cart.', 'woocommerce' ), join( __('&quot; and &quot;'), array_filter( array_merge( array( join( '&quot;, &quot;', array_slice( $titles, 0, -1 ) ) ), array_slice( $titles, -1 ) ) ) ) );
$added_text = sprintf( __( 'Added &quot;%s&quot; to your cart.', 'woocommerce' ), join( __( '&quot; and &quot;', 'woocommerce' ), array_filter( array_merge( array( join( '&quot;, &quot;', array_slice( $titles, 0, -1 ) ) ), array_slice( $titles, -1 ) ) ) ) );
} else {
$added_text = sprintf( __( '&quot;%s&quot; was successfully added to your cart.', 'woocommerce' ), get_the_title( $product_id ) );