Rajout du nom du module dans les intl du template, suite pb de libellés en anglais
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'Wish List' => 'Wish List',
|
||||
'My Wish List' => 'My Wish List',
|
||||
'Add to my Wish List' => 'Add to my Wish List',
|
||||
'Remove from my Wish List' => 'Remove from my Wish List',
|
||||
'View my Wish List' => 'View my Wish List'
|
||||
'Remove from my Wish List' => 'Remove from my Wish List',
|
||||
'View product' => 'View product',
|
||||
'Wish List' => 'Wish List',
|
||||
);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'Wish List' => 'Liste d\'envies',
|
||||
'My Wish List' => 'Ma liste d\'envies',
|
||||
'Add to my Wish List' => 'Ajouter à ma liste d\envies',
|
||||
'Remove from my Wish List' => 'Retirer de ma liste d\'envies',
|
||||
'View my Wish List' => 'Voir ma liste d\'envies'
|
||||
'Remove from my Wish List' => 'Retirer de ma liste d\'envies',
|
||||
'View product' => 'Voir les produits',
|
||||
'Wish List' => 'Liste d\'envies',
|
||||
);
|
||||
|
||||
@@ -1,60 +1,60 @@
|
||||
{extends file="layout.tpl"}
|
||||
|
||||
{* Body Class *}
|
||||
{block name="body-class"}page-wishlist{/block}
|
||||
|
||||
{* Breadcrumb *}
|
||||
{block name='no-return-functions' append}
|
||||
{$breadcrumbs = [
|
||||
['title' => {intl l="Wish List"}, 'url'=>{url path="/Wishlist"}]
|
||||
]}
|
||||
{/block}
|
||||
|
||||
{block name="main-content"}
|
||||
<div class="main">
|
||||
<article class="col-main" role="main" aria-labelledby="main-label">
|
||||
<h1 id="main-label">{intl l="My Wish List"}</h1>
|
||||
<p></p>
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<colgroup>
|
||||
<col width="10">
|
||||
<col width="300">
|
||||
<col width="100">
|
||||
</colgroup>
|
||||
{loop name="wishlist" type="wishlist"}
|
||||
{loop name="products-in-wishlist" type="product" id="{$WISHLIST_PRODUCT_LIST}"}
|
||||
<tr>
|
||||
<td>
|
||||
{loop type="image" name="product-image" product="{$ID}" limit="1" width="118" height="85" force_return="true"}
|
||||
<img src="{$IMAGE_URL nofilter}" alt="{$TITLE}">
|
||||
{/loop}
|
||||
</td>
|
||||
<td>
|
||||
<h4>{$TITLE}</h4>
|
||||
<p>{$DESCRIPTION|truncate:100 nofilter}</p>
|
||||
</td>
|
||||
<td>
|
||||
<a class="fa fa-eye" href="{$URL}"> {intl l="View product"}</a><br />
|
||||
<a class="fa fa-heart-o" href="{url path="/wishlist/remove/$ID"}"> {intl l="Remove from my Wish List"}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{/loop}
|
||||
</table>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="stylesheet"}
|
||||
{hook name="404.stylesheet"}
|
||||
{/block}
|
||||
|
||||
{block name="after-javascript-include"}
|
||||
{hook name="404.after-javascript-include"}
|
||||
{/block}
|
||||
|
||||
{block name="javascript-initialization"}
|
||||
{hook name="404.javascript-initialization"}
|
||||
{/block}
|
||||
{extends file="layout.tpl"}
|
||||
|
||||
{* Body Class *}
|
||||
{block name="body-class"}page-wishlist{/block}
|
||||
|
||||
{* Breadcrumb *}
|
||||
{block name='no-return-functions' append}
|
||||
{$breadcrumbs = [
|
||||
['title' => {intl l="Wish List" d="wishlist.fo.default"}, 'url'=>{url path="/Wishlist"}]
|
||||
]}
|
||||
{/block}
|
||||
|
||||
{block name="main-content"}
|
||||
<div class="main">
|
||||
<article class="col-main" role="main" aria-labelledby="main-label">
|
||||
<h1 id="main-label">{intl l="My Wish List" d="wishlist.fo.default"}</h1>
|
||||
<p></p>
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<colgroup>
|
||||
<col width="10">
|
||||
<col width="300">
|
||||
<col width="100">
|
||||
</colgroup>
|
||||
{loop name="wishlist" type="wishlist"}
|
||||
{loop name="products-in-wishlist" type="product" id="{$WISHLIST_PRODUCT_LIST}"}
|
||||
<tr>
|
||||
<td>
|
||||
{loop type="image" name="product-image" product="{$ID}" limit="1" width="118" height="85" force_return="true"}
|
||||
<img src="{$IMAGE_URL nofilter}" alt="{$TITLE}">
|
||||
{/loop}
|
||||
</td>
|
||||
<td>
|
||||
<h4>{$TITLE}</h4>
|
||||
<p>{$DESCRIPTION|truncate:100 nofilter}</p>
|
||||
</td>
|
||||
<td>
|
||||
<a class="fa fa-eye" href="{$URL}"> {intl l="View product" d="wishlist.fo.default"}</a><br />
|
||||
<a class="fa fa-heart-o" href="{url path="/wishlist/remove/$ID"}"> {intl l="Remove from my Wish List" d="wishlist.fo.default"}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{/loop}
|
||||
</table>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="stylesheet"}
|
||||
{hook name="404.stylesheet"}
|
||||
{/block}
|
||||
|
||||
{block name="after-javascript-include"}
|
||||
{hook name="404.after-javascript-include"}
|
||||
{/block}
|
||||
|
||||
{block name="javascript-initialization"}
|
||||
{hook name="404.javascript-initialization"}
|
||||
{/block}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{hook name="wishlist-navbar-secondary"}
|
||||
<ul class="nav navbar-nav navbar-cart navbar-right">
|
||||
<li><a href="{url path="/wishlist/view"}" rel="nofollow">{intl l="Wish List"}</a></li>
|
||||
{hook name="wishlist-navbar-secondary"}
|
||||
<ul class="nav navbar-nav navbar-cart navbar-right">
|
||||
<li><a href="{url path="/wishlist/view"}" rel="nofollow">{intl l="Wish List" d="wishlist.fo.default"}</a></li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user