translation fix: trailing whitespaces

This commit is contained in:
Ramon van Belzen 2012-03-04 13:33:15 +01:00
parent 79cc67b23c
commit 1c818d7c81
2 changed files with 796 additions and 796 deletions

View File

@ -242,7 +242,7 @@ class WC_Paypal extends WC_Payment_Gateway {
// Shipping Cost
if ($order->get_shipping()>0) :
$paypal_args['item_name_2'] = __('Shipping via ', 'woocommerce') . ucwords($order->shipping_method_title);
$paypal_args['item_name_2'] = __('Shipping via', 'woocommerce') . ucwords($order->shipping_method_title);
$paypal_args['quantity_2'] = '1';
$paypal_args['amount_2'] = number_format($order->get_shipping(), 2, '.', '');
endif;
@ -279,7 +279,7 @@ class WC_Paypal extends WC_Payment_Gateway {
// Shipping Cost
if ($order->get_shipping()>0) :
$item_loop++;
$paypal_args['item_name_'.$item_loop] = __('Shipping via ', 'woocommerce') . ucwords($order->shipping_method_title);
$paypal_args['item_name_'.$item_loop] = __('Shipping via', 'woocommerce') . ucwords($order->shipping_method_title);
$paypal_args['quantity_'.$item_loop] = '1';
$paypal_args['amount_'.$item_loop] = number_format($order->get_shipping(), 2, '.', '');
endif;

View File

@ -241,7 +241,7 @@ class WooCommerce_Widget_Product_Categories extends WP_Widget {
<label for="<?php echo $this->get_field_id('hierarchical'); ?>"><?php _e( 'Show hierarchy', 'woocommerce' ); ?></label><br/>
<input type="checkbox" class="checkbox" id="<?php echo esc_attr( $this->get_field_id('show_children_only') ); ?>" name="<?php echo esc_attr( $this->get_field_name('show_children_only') ); ?>"<?php checked( $show_children_only ); ?> />
<label for="<?php echo $this->get_field_id('show_children_only'); ?>"><?php _e( 'Show children of current category only ', 'woocommerce' ); ?></label></p>
<label for="<?php echo $this->get_field_id('show_children_only'); ?>"><?php _e( 'Show children of current category only', 'woocommerce' ); ?></label></p>
<?php
}