translation fix: trailing whitespaces
This commit is contained in:
parent
79cc67b23c
commit
1c818d7c81
|
@ -242,7 +242,7 @@ class WC_Paypal extends WC_Payment_Gateway {
|
||||||
|
|
||||||
// Shipping Cost
|
// Shipping Cost
|
||||||
if ($order->get_shipping()>0) :
|
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['quantity_2'] = '1';
|
||||||
$paypal_args['amount_2'] = number_format($order->get_shipping(), 2, '.', '');
|
$paypal_args['amount_2'] = number_format($order->get_shipping(), 2, '.', '');
|
||||||
endif;
|
endif;
|
||||||
|
@ -279,7 +279,7 @@ class WC_Paypal extends WC_Payment_Gateway {
|
||||||
// Shipping Cost
|
// Shipping Cost
|
||||||
if ($order->get_shipping()>0) :
|
if ($order->get_shipping()>0) :
|
||||||
$item_loop++;
|
$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['quantity_'.$item_loop] = '1';
|
||||||
$paypal_args['amount_'.$item_loop] = number_format($order->get_shipping(), 2, '.', '');
|
$paypal_args['amount_'.$item_loop] = number_format($order->get_shipping(), 2, '.', '');
|
||||||
endif;
|
endif;
|
||||||
|
|
|
@ -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/>
|
<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 ); ?> />
|
<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
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue