-
Add a new address
- Chose your delivery address
+
{intl l="Add a new address"}
+ {intl l="Chose your delivery address"}
{if $error}
{$message}
{/if}
@@ -95,7 +95,7 @@
- {intl l="Edit"}
+ {intl l="Edit"}
{if $DEFAULT != 1}
{intl l="Cancel"}
{/if}
@@ -116,7 +116,7 @@
- Choose your delivery method
+ {intl l="Choose your delivery method"}
{if $error}
{$message}
{/if}
@@ -137,8 +137,8 @@
{/form_field}
- Back
-
+ {intl l="Back"}
+
{/form}
diff --git a/templates/default/order_invoice.html b/templates/default/order_invoice.html
index 6a5b493a4..6f10d3029 100644
--- a/templates/default/order_invoice.html
+++ b/templates/default/order_invoice.html
@@ -8,11 +8,11 @@
{block name="breadcrumb"}
{/block}
@@ -21,13 +21,13 @@
- Your Cart
+ {intl l="Your Cart"}
{form name="thelia.order.payment"}
@@ -49,20 +49,20 @@
| |
- Product Name
- Name
+ {intl l="Product Name"}
+ {intl l="Name"}
|
- Unit Price
- Price
+ {intl l="Unit Price"}
+ {intl l="Price"}
|
- Quantity
- Quantity
+ {intl l="Quantity"}
+ {intl l="Quantity"}
|
- Total TTC
- Total
+ {intl l="Total"} {intl l="TTC"}
+ {intl l="Total"}
|
@@ -86,13 +86,13 @@
|
- Product #{$cart_count}
+ {$TITLE}
- - Available :
- - In Stock
- - No.
+ - {intl l="Available"} :
+ - {intl l="In Stock"}
+ - {intl l="No."}
- {$REF}
{*- Select Size
- Large
@@ -107,7 +107,7 @@
{if $IS_PROMO == 1}
{assign "real_price" $PROMO_TAXED_PRICE}
{currency attr="symbol"} {$PROMO_TAXED_PRICE}
- instead of {currency attr="symbol"} {$TAXED_PRICE}
+ {intl l="instead of"} {currency attr="symbol"} {$TAXED_PRICE}
{else}
{assign "real_price" $TAXED_PRICE}
{currency attr="symbol"} {$TAXED_PRICE}
@@ -127,7 +127,7 @@
| |
- Shipping Tax |
+ {intl l="Shipping Tax"} |
{currency attr="symbol"} {order attr="postage"}
@@ -135,18 +135,18 @@
|
- |
+ |
-
+
|
- | Total TTC |
+ {intl l="Total"} {intl l="TTC"} |
{currency attr="symbol"} {{cart attr="total_taxed_price"} + {order attr="postage"}}
@@ -158,8 +158,8 @@
- {loop type="address" name="delivery-address" id="{order attr="delivery_address"}"}
- Delivery address
+ {loop type="address" name="delivery-address" id={order attr="delivery_address"}}
+ {intl l="Delivery address"}
{loop type="title" name="customer.title.info" id=$TITLE}{$SHORT}{/loop} {$LASTNAME|upper} {$FIRSTNAME|ucwords}
{$COMPANY}
@@ -181,7 +181,7 @@
{form_field form=$form field='invoice-address'}
- Billing address
+ {intl l="Billing addres"}s
{if $error}
{$message}
@@ -191,7 +191,17 @@
- {loop type="address" name="invoice-address" default="{if !$error && $value}*{else}true{/if}" id="{if !$error && $value}{$value}{else}*{/if}"}
+ {if !$error && $value}
+ {assign defaultParam '*'}
+ {else}
+ {assign defaultParam 'true'}
+ {/if}
+ {if !$error && $value}
+ {assign idParam $value}
+ {else}
+ {assign idParam '*'}
+ {/if}
+ {loop type="address" name="invoice-address" default=$defaultParam id=$idParam}
|
@@ -217,14 +227,24 @@
{if !$error}
|
|
- Change address
+ {intl l="Change address"}
|
{/if}
{/loop}
- {loop type="address" name="invoice-address" default="{if !$error && $value}*{else}false{/if}" exclude="{if !$error && $value}{$value}{else}none{/if}"}
+ {if !$error && $value}
+ {assign defaultParam '*'}
+ {else}
+ {assign defaultParam 'false'}
+ {/if}
+ {if !$error && $value}
+ {assign excludeParam $value}
+ {else}
+ {assign excludeParam 'none'}
+ {/if}
+ {loop type="address" name="invoice-address" default=$defaultParam exclude=$excludeParam}
@@ -261,7 +281,7 @@
{form_field form=$form field='payment-module'}
- Choose your payment method
+ {intl l="Choose your payment method"}
{if $error}
{$message}
@@ -294,8 +314,8 @@
{/form_field}
- Back
-
+ {intl l="Back"}
+
{/form}
diff --git a/templates/default/order_placed.html b/templates/default/order_placed.html
index 281800bb5..5c175748f 100644
--- a/templates/default/order_placed.html
+++ b/templates/default/order_placed.html
@@ -2,11 +2,11 @@
{block name="breadcrumb"}
{/block}
@@ -15,32 +15,32 @@
- Your Cart
+ {intl l="Your Cart"}
{loop type="order" name="placed-order" id=$placed_order_id}
- You chose to pay by : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
+ {intl l="You chose to pay by"} : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
- Thank you for the trust you place in us.
- A summary of your order email has been sent to the following address: {customer attr="email"}
- Your order will be confirmed by us upon receipt of your payment.
+ {intl l="Thank you for the trust you place in us."}
+ {intl l="A summary of your order email has been sent to the following address"} : {customer attr="email"}
+ {intl l="Your order will be confirmed by us upon receipt of your payment."}
- - Order number :
+ - {intl l="Order number"} :
- {$REF}
- - Date :
+ - {intl l="Date"} :
- {format_date date=$CREATE_DATE output="date"}
- - Total :
+ - {intl l="Total"} :
- {loop type="currency" name="order-currency" id=$CURRENCY}{$SYMBOL}{/loop} {$TOTAL_TAXED_AMOUNT}
@@ -48,7 +48,7 @@
{/loop}
- Go home
+ {intl l="Go home"}
| | |