Finnish translation Closes #2021.
This commit is contained in:
parent
53451ce3bb
commit
83377af6b4
|
@ -748,7 +748,7 @@ class WC_Order {
|
|||
$subtotal = woocommerce_price( $subtotal );
|
||||
|
||||
if ( $this->tax_display_cart == 'excl' && $this->prices_include_tax )
|
||||
$subtotal .= ' <small>'.$woocommerce->countries->ex_tax_or_vat().'</small>';
|
||||
$subtotal .= ' <small>' . $woocommerce->countries->ex_tax_or_vat() . '</small>';
|
||||
|
||||
} else {
|
||||
|
||||
|
|
|
@ -250,6 +250,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Localization - Korean translate by Woo Jin Koh.
|
||||
* Localization - Bulgarian update by Hristo Pandjarov.
|
||||
* Localization - Spanish update by bolorino.
|
||||
* Localization - Finnish translation by Arhi Paivarinta.
|
||||
|
||||
* Removed all deprecated classes and functions except for 1.6.x template files and functions
|
||||
* Many other refactors, minor fixes and tweaks!
|
||||
|
|
|
@ -18,8 +18,7 @@ $order = new WC_Order( $order_id );
|
|||
<thead>
|
||||
<tr>
|
||||
<th class="product-name"><?php _e( 'Product', 'woocommerce' ); ?></th>
|
||||
<th class="product-quantity"><?php _e( 'Qty', 'woocommerce' ); ?></th>
|
||||
<th class="product-total"><?php _e( 'Totals', 'woocommerce' ); ?></th>
|
||||
<th class="product-total"><?php _e( 'Total', 'woocommerce' ); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
|
@ -27,7 +26,7 @@ $order = new WC_Order( $order_id );
|
|||
if ( $totals = $order->get_order_item_totals() ) foreach ( $totals as $total ) :
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row" colspan="2"><?php echo $total['label']; ?></th>
|
||||
<th scope="row"><?php echo $total['label']; ?></th>
|
||||
<td><?php echo $total['value']; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
@ -46,7 +45,7 @@ $order = new WC_Order( $order_id );
|
|||
<tr class = "' . esc_attr( apply_filters('woocommerce_order_table_item_class', 'order_table_item', $item, $order ) ) . '">
|
||||
<td class="product-name">';
|
||||
|
||||
echo '<a href="'.get_permalink( $item['product_id'] ).'">' . $item['name'] . '</a>';
|
||||
echo '<a href="'.get_permalink( $item['product_id'] ).'">' . $item['name'] . '</a> <strong class="product-quantity">× ' . $item['qty'] . '</strong>';
|
||||
|
||||
$item_meta = new WC_Order_Item_Meta( $item['item_meta'] );
|
||||
$item_meta->display();
|
||||
|
@ -60,7 +59,7 @@ $order = new WC_Order( $order_id );
|
|||
|
||||
endif;
|
||||
|
||||
echo '</td><td class="product-quantity">'.$item['qty'].'</td><td class="product-total">' . $order->get_formatted_line_subtotal($item) . '</td></tr>';
|
||||
echo '</td><td class="product-total">' . $order->get_formatted_line_subtotal( $item ) . '</td></tr>';
|
||||
|
||||
// Show any purchase notes
|
||||
if ($order->status=='completed' || $order->status=='processing') :
|
||||
|
|
Loading…
Reference in New Issue